Adds fzf in place of command t

master
Jonathan Hodgson 5 years ago
parent 6b21ece902
commit 95a85a6893
  1. 6
      .gitmodules
  2. 13
      .vimrc
  3. 1
      bundle/command-t
  4. 1
      bundle/fzf.vim

6
.gitmodules vendored

@ -69,9 +69,6 @@
[submodule "bundle/vim-jinja"] [submodule "bundle/vim-jinja"]
path = bundle/vim-jinja path = bundle/vim-jinja
url = https://github.com/lepture/vim-jinja.git 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"] [submodule "bundle/vim-lion"]
path = bundle/vim-lion path = bundle/vim-lion
url = git@github.com:tommcdo/vim-lion.git url = git@github.com:tommcdo/vim-lion.git
@ -90,3 +87,6 @@
[submodule "bundle/vim-snippets"] [submodule "bundle/vim-snippets"]
path = bundle/vim-snippets path = bundle/vim-snippets
url = git@github.com:honza/vim-snippets.git url = git@github.com:honza/vim-snippets.git
[submodule "bundle/fzf.vim"]
path = bundle/fzf.vim
url = https://github.com/junegunn/fzf.vim.git

@ -138,6 +138,16 @@ let g:UltiSnipsEditSplit="vertical"
" Lion " Lion
let g:lion_squeeze_spaces = 1 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 " Quick tex options {{{2
" HTML {{{3 " 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>ev :vsplit $MYVIMRC<cr>
nnoremap <leader>sv :source $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 " add new line without entering insert mode
nnoremap <CR> o<Esc> nnoremap <CR> o<Esc>
nnoremap <S-Enter> O<Esc> nnoremap <S-Enter> O<Esc>

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

@ -0,0 +1 @@
Subproject commit 359a80e3a34aacbd5257713b6a88aa085337166f
Loading…
Cancel
Save