~cyplo/dotfiles

dotfiles/.vimrc.plugins-settings -rw-r--r-- 1.0 KiB
2f38c023 — Cyryl Płotnicki fix permissions for mastodon user 4 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
" 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