Hidden the fzf [TO REMOVE]
This commit is contained in:
parent
97d15fb9d4
commit
bedb5d0769
@ -56,8 +56,9 @@ call plug#begin('~/.config/nvim/plugged')
|
||||
Plug 'gruvbox-community/gruvbox', { 'as': 'gruvbox'}
|
||||
|
||||
" Fzf plugin
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'junegunn/fzf'
|
||||
" Plug 'junegunn/fzf.vim'
|
||||
" Plug 'junegunn/fzf'
|
||||
|
||||
" Telescope
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'nvim-telescope/telescope.nvim'
|
||||
@ -140,19 +141,19 @@ let g:ansible_extra_keywords_highlight = 1
|
||||
au BufRead,BufNewFile *.yml set filetype=yaml.ansible
|
||||
|
||||
" fzf
|
||||
let $FZF_DEFAULT_COMMAND = 'find . -type f -not -path "*/\.git/*"'
|
||||
let $FZF_DEFAULT_COMMAND = 'find . -type f -not -path "*/\.git/*" -not -path "*/\.local/share/nvim/*" -not -path "./Library/*" '
|
||||
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)
|
||||
set grepprg=rg\ --vimgrep
|
||||
nmap <Leader>e :Buffers<CR>
|
||||
nmap <Leader>q :Rg<CR>
|
||||
nmap <Leader>w :Files<CR>
|
||||
nmap <C-p> :Files<CR>
|
||||
|
||||
nmap <Leader>e :Telescope buffers<CR>
|
||||
nmap <Leader>q :Telescope live_grep<CR>
|
||||
nmap <Leader>w :Telescope find_files<CR>
|
||||
|
||||
"nmap <Leader>e :Buffers<CR>
|
||||
"nmap <Leader>q :Rg<CR>
|
||||
"nmap <Leader>w :Files<CR>
|
||||
|
||||
" Resize window
|
||||
nnoremap <C-L> :vertical resize +5<CR>
|
||||
nnoremap <C-H> :vertical resize -5<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user