Small changes in FZF config

This commit is contained in:
2020-05-07 22:18:17 +02:00
parent 402e344ed3
commit d47ac5571e

View File

@@ -31,13 +31,16 @@ Plug 'jpo/vim-railscasts-theme'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
map <C-p> :FZF<CR> map <C-p> :GFiles<CR>
map <Leader>g :GFiles?<CR> map <Leader>p :GFiles?<CR>
map <Leader><C-p> :FZF<CR>
map <Leader>c :BCommits<CR> map <Leader>c :BCommits<CR>
map <Leader>/ :exec 'BLines' expand('<cword>')<CR> map <Leader>/ :exec 'BLines' expand('<cword>')<CR>
map <Leader>? :exec 'Lines' expand('<cword>')<CR> map <Leader>? :exec 'Lines' expand('<cword>')<CR>
map <Leader>s :exec 'Ag' expand('<cword>')<CR> map <Leader>s :exec 'Ag' expand('<cword>')<CR>
let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } }
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'