42 lines
1 KiB
Text
42 lines
1 KiB
Text
" plugins: airline
|
|
let g:bufferline_echo = 0
|
|
let g:airline_powerline_fonts = 1
|
|
let g:airline#extensions#tabline#enabled = 1
|
|
let g:airline#extensions#coc#enabled = 1
|
|
|
|
au BufWrite * :Autoformat
|
|
" let g:autoformat_verbosemode=1
|
|
|
|
" searching
|
|
let $FZF_DEFAULT_COMMAND = 'rga --files --no-messages "" .'
|
|
set grepprg=rga\ --vimgrep
|
|
let g:fzf_command_prefix = 'Fzf'
|
|
command! -bang -nargs=* Find call fzf#vim#grep('rga --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape(<q-args>), 1, <bang>0)
|
|
let g:ctrlp_show_hidden = 1
|
|
let g:ctrlp_user_command = 'rga %s --files --hidden --color=never --glob ""'
|
|
|
|
" rainbow
|
|
let g:rainbow_active = 1
|
|
|
|
" coc
|
|
set shortmess+=c
|
|
set signcolumn=yes
|
|
|
|
" ack
|
|
let g:ackprg = 'rg --vimgrep --smart-case'
|
|
let g:ack_autoclose = 1
|
|
let g:ack_use_cword_for_empty_search = 1
|
|
|
|
|
|
lua << EOF
|
|
require'nvim-tree'.setup{
|
|
disable_netrw = false,
|
|
hijack_cursor=true,
|
|
ignore_buffer_on_setup=true,
|
|
open_on_setup=true,
|
|
open_on_tab=true,
|
|
update_focused_file = { enable = true },
|
|
}
|
|
EOF
|
|
|
|
|