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'}
|
Plug 'gruvbox-community/gruvbox', { 'as': 'gruvbox'}
|
||||||
|
|
||||||
" Fzf plugin
|
" Fzf plugin
|
||||||
Plug 'junegunn/fzf.vim'
|
" Plug 'junegunn/fzf.vim'
|
||||||
Plug 'junegunn/fzf'
|
" Plug 'junegunn/fzf'
|
||||||
|
|
||||||
" Telescope
|
" Telescope
|
||||||
Plug 'nvim-lua/plenary.nvim'
|
Plug 'nvim-lua/plenary.nvim'
|
||||||
Plug 'nvim-telescope/telescope.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
|
au BufRead,BufNewFile *.yml set filetype=yaml.ansible
|
||||||
|
|
||||||
" fzf
|
" 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=* 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
|
||||||
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>e :Telescope buffers<CR>
|
||||||
nmap <Leader>q :Telescope live_grep<CR>
|
nmap <Leader>q :Telescope live_grep<CR>
|
||||||
nmap <Leader>w :Telescope find_files<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
|
" Resize window
|
||||||
nnoremap <C-L> :vertical resize +5<CR>
|
nnoremap <C-L> :vertical resize +5<CR>
|
||||||
nnoremap <C-H> :vertical resize -5<CR>
|
nnoremap <C-H> :vertical resize -5<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user