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

6
.gitmodules vendored
View file

@ -69,9 +69,6 @@
[submodule "bundle/vim-jinja"]
path = bundle/vim-jinja
url = https://github.com/lepture/vim-jinja.git
[submodule "bundle/command-t"]
path = bundle/command-t
url = https://github.com/wincent/command-t.git
[submodule "bundle/vim-lion"]
path = bundle/vim-lion
url = git@github.com:tommcdo/vim-lion.git
@ -90,3 +87,6 @@
[submodule "bundle/vim-snippets"]
path = bundle/vim-snippets
url = git@github.com:honza/vim-snippets.git
[submodule "bundle/fzf.vim"]
path = bundle/fzf.vim
url = https://github.com/junegunn/fzf.vim.git

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>

@ -1 +0,0 @@
Subproject commit 57e112c12c99185e062a4330896cfaf422d1ea64

1
bundle/fzf.vim Submodule

@ -0,0 +1 @@
Subproject commit 359a80e3a34aacbd5257713b6a88aa085337166f