Adds fzf in place of command t

This commit is contained in:
Jonathan Hodgson 2019-08-19 08:43:10 +01:00
parent 6b21ece902
commit 95a85a6893
4 changed files with 14 additions and 7 deletions

13
.vimrc
View file

@ -138,6 +138,16 @@ let g:UltiSnipsEditSplit="vertical"
" Lion
let g:lion_squeeze_spaces = 1
" FZF
" Prefixes all of the fzf commands
let g:fzf_command_prefix = 'Fzf'
" Mappings for common Fzf commands
nnoremap <leader>f = :FzfFiles<cr>
nnoremap <leader>b = :FzfBuffers<cr>
nnoremap <leader>h = :FzfHelptags<cr>
nnoremap <leader>/ = :FzfRg
" Quick tex options {{{2
" HTML {{{3
@ -440,9 +450,6 @@ inoremap <C-j> <esc>:exe "norm Ypf lDB\<C-a>"<cr>A
nnoremap <leader>ev :vsplit $MYVIMRC<cr>
nnoremap <leader>sv :source $MYVIMRC<cr>
" use command t to search help topics
nmap <silent> <Leader>h <Plug>(CommandTHelp)
" add new line without entering insert mode
nnoremap <CR> o<Esc>
nnoremap <S-Enter> O<Esc>