Compare commits

...

2 Commits

Author SHA1 Message Date
df112737a3
Enable hidden files in NerdTree 2021-08-08 23:21:06 +02:00
ae6b57ae29
Added new default fzf command 2021-08-08 23:20:45 +02:00

View File

@ -106,6 +106,7 @@ set statusline+=\ %l/%L
set statusline+=\ [%c] set statusline+=\ [%c]
" fzf " fzf
let $FZF_DEFAULT_COMMAND = 'find . -type f -not -path "*/\.git/*"'
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(<q-args>), 1, <bang>0) command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(<q-args>), 1, <bang>0)
command! -bang -nargs=* FindCurrentWord call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(expand('<cword>')), 1, <bang>0) command! -bang -nargs=* FindCurrentWord call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --color "always" '.shellescape(expand('<cword>')), 1, <bang>0)
set grepprg=rg\ --vimgrep set grepprg=rg\ --vimgrep
@ -179,6 +180,9 @@ set ic
let &t_SI = "\<esc>[6 q" let &t_SI = "\<esc>[6 q"
let &t_EI = "\<esc>[2 q" let &t_EI = "\<esc>[2 q"
" Enable show hidden in NerdTree
let NERDTreeShowHidden=1
" multiple cursors " multiple cursors
let g:multi_cursor_start_word_key = '<C-n>' let g:multi_cursor_start_word_key = '<C-n>'
let g:multi_cursor_select_all_word_key = '<A-n>' let g:multi_cursor_select_all_word_key = '<A-n>'