mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 05:42:22 +00:00
asdf
This commit is contained in:
parent
d79ff1ce13
commit
25feeecc62
2 changed files with 1 additions and 89 deletions
|
@ -15,3 +15,4 @@
|
||||||
|
|
||||||
(telescope.load_extension "media_files")
|
(telescope.load_extension "media_files")
|
||||||
|
|
||||||
|
(utils.noremap :n :<C-p> ":Telescope find_files<CR>")
|
||||||
|
|
89
init.vim
89
init.vim
|
@ -39,7 +39,6 @@ set incsearch
|
||||||
set hlsearch
|
set hlsearch
|
||||||
set inccommand=nosplit
|
set inccommand=nosplit
|
||||||
|
|
||||||
" May cause problems!
|
|
||||||
if (has("termguicolors"))
|
if (has("termguicolors"))
|
||||||
set termguicolors
|
set termguicolors
|
||||||
endif
|
endif
|
||||||
|
@ -186,13 +185,6 @@ omap <DEL> <Plug>Sneak_s
|
||||||
omap <S-DEL> <Plug>Sneak_S
|
omap <S-DEL> <Plug>Sneak_S
|
||||||
|
|
||||||
|
|
||||||
" FZF showing previews
|
|
||||||
command! -bang -nargs=? -complete=dir Files
|
|
||||||
\ call fzf#vim#files(<q-args>, fzf#vim#with_preview({'options': ['--layout=reverse', '--info=inline']}), <bang>0)
|
|
||||||
|
|
||||||
command! -bang -nargs=? -complete=dir HFiles
|
|
||||||
\ call fzf#vim#files(<q-args>, {'source': 'ag --hidden --ignore .git -g ""'}, <bang>0)
|
|
||||||
|
|
||||||
let g:rust_clip_command = 'xclip -selection clipboard'
|
let g:rust_clip_command = 'xclip -selection clipboard'
|
||||||
let g:rustfmt_autosave = 1
|
let g:rustfmt_autosave = 1
|
||||||
|
|
||||||
|
@ -210,11 +202,6 @@ au Syntax * RainbowParenthesesLoadSquare
|
||||||
au Syntax * RainbowParenthesesLoadBraces
|
au Syntax * RainbowParenthesesLoadBraces
|
||||||
|
|
||||||
|
|
||||||
"nnoremap <silent> <C-p> :Files<CR>
|
|
||||||
nnoremap <silent> <C-p> :Telescope find_files<CR>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"map <Leader>f <Plug>(easymotion-bd-f)
|
"map <Leader>f <Plug>(easymotion-bd-f)
|
||||||
"map <Leader>s <Plug>(easymotion-overwin-f2)
|
"map <Leader>s <Plug>(easymotion-overwin-f2)
|
||||||
|
@ -230,82 +217,6 @@ hi SignifySignDelete cterm=NONE gui=NONE guifg='#fb4934'
|
||||||
hi SignifySignChange cterm=NONE gui=NONE guifg='#83a598'
|
hi SignifySignChange cterm=NONE gui=NONE guifg='#83a598'
|
||||||
hi SignifySignAdd cterm=NONE gui=NONE guifg='#8ec07c'
|
hi SignifySignAdd cterm=NONE gui=NONE guifg='#8ec07c'
|
||||||
|
|
||||||
" Airline -------------------------------------------------------------------------- {{{
|
|
||||||
|
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
|
||||||
let g:airline_powerline_fonts = 0
|
|
||||||
|
|
||||||
function! AirlineInit()
|
|
||||||
let g:airline_section_a = '
|
|
||||||
\%#__accent#
|
|
||||||
\%{airline#util#wrap(airline#parts#mode(),0)}
|
|
||||||
\%#__restore__#
|
|
||||||
\%{airline#util#append(airline#parts#iminsert(),0)}'
|
|
||||||
let g:airline_section_b = ''
|
|
||||||
let g:airline_section_c = '
|
|
||||||
\%<%<
|
|
||||||
\%#__accent_red#
|
|
||||||
\%{airline#util#wrap(airline#parts#readonly(),0)}
|
|
||||||
\%#__restore__#
|
|
||||||
\%#__accent_bold#
|
|
||||||
\%{airline#util#wrap(airline#extensions#coc#get_status(),0)}
|
|
||||||
\%#__restore__#'
|
|
||||||
|
|
||||||
let g:airline_section_y = ''
|
|
||||||
let g:airline_section_z = '%4l% %3v'
|
|
||||||
|
|
||||||
let g:airline_section_warning = '
|
|
||||||
\%{airline#extensions#whitespace#check()}
|
|
||||||
\%{airline#util#wrap(airline#extensions#coc#get_warning(),0)}'
|
|
||||||
|
|
||||||
let airline#extensions#coc#error_symbol = ''
|
|
||||||
let airline#extensions#coc#warning_symbol = ''
|
|
||||||
let airline#extensions#coc#stl_format_err = '%E{[%e(#%fe)]}'
|
|
||||||
let airline#extensions#coc#stl_format_warn = '%W{[%w(#%fw)]}'
|
|
||||||
endfun
|
|
||||||
autocmd User AirlineAfterInit call AirlineInit()
|
|
||||||
|
|
||||||
|
|
||||||
let g:airline_theme='elkowars_gruvbox'
|
|
||||||
|
|
||||||
" update airline themes properly... idk why this is so weird
|
|
||||||
function! s:update_highlights()
|
|
||||||
hi airline_tabfill ctermbg=NONE guibg=NONE
|
|
||||||
hi airline_tablabel_right ctermbg=NONE guibg=NONE ctermfg=NONE guifg=NONE
|
|
||||||
endfunction
|
|
||||||
autocmd User AirlineAfterTheme call s:update_highlights()
|
|
||||||
|
|
||||||
" }}}
|
|
||||||
|
|
||||||
|
|
||||||
" Barbar --------------------------------------------------------------------------- {{{
|
|
||||||
|
|
||||||
"if has('nvim')
|
|
||||||
"let bufferline = get(g:, 'bufferline', {})
|
|
||||||
"let bufferline.auto_hide = v:false
|
|
||||||
"let bufferline.animation = v:true
|
|
||||||
"let bufferline.icons = v:false
|
|
||||||
|
|
||||||
"let bufferline.icon_separator_active = ' '
|
|
||||||
"let bufferline.icon_separator_active = ' '
|
|
||||||
""let bufferline.icon_separator_inactive = '▎'
|
|
||||||
""let bufferline.icon_separator_inactive = '▎'
|
|
||||||
"let bufferline.icon_close_tab = '◆'
|
|
||||||
"let bufferline.icon_close_tab_modified = '●'
|
|
||||||
"let bufferline.maximum_padding = 1
|
|
||||||
|
|
||||||
"hi! BufferVisible guibg='#282828' guifg='#282828'
|
|
||||||
"hi! BufferCurrent guibg='#689d6a' guifg='#282828'
|
|
||||||
"hi! BufferInactive guibg='#3c3836' guifg='#282828'
|
|
||||||
"hi! BufferTabpageFill guibg='#282828' guifg='#282828'
|
|
||||||
"hi! BufferCurrentSign guibg='#689d6a' guifg='#689d6a'
|
|
||||||
|
|
||||||
"hi! BufferVisibleMod guibg='#282828' guifg='#8ec07c'
|
|
||||||
"hi! BufferCurrentMod guibg='#282828' guifg='#8ec07c'
|
|
||||||
"hi! BufferInactiveMod guibg='#3c3836' guifg='#8ec07c'
|
|
||||||
"endif
|
|
||||||
|
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
Loading…
Reference in a new issue