Skip to content

Commit

Permalink
Add ag lookup and youcompleteme
Browse files Browse the repository at this point in the history
  • Loading branch information
achaudhury committed Jan 2, 2017
1 parent a5ce8df commit 9c396a8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,25 @@ nnoremap <Down> 5j
"------------------------------------------------------------
" Split navigation
"
"------------------------------------------------------------

nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
"------------------------------------------------------------
" Plug bindings
"------------------------------------------------------------

nnoremap <leader>pi :PlugInstall<CR>
nnoremap <leader>pu :PlugUpdate<CR>
"------------------------------------------------------------
" FZF bindings
"------------------------------------------------------------
nnoremap <leader>f :FZF<CR>
nnoremap <leader>a :Ag<CR>
nnoremap <leader>sl :Lines<CR>
nnoremap <leader>sb :BLines<CR>
nnoremap <leader>b :Buffers<CR>
Expand All @@ -149,6 +161,8 @@ Plug 'michaeljsmith/vim-indent-object'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' }
Plug 'junegunn/fzf.vim'

Plug 'Valloric/YouCompleteMe', { 'do': './install.py' }

" Initialize plugin system
call plug#end()

Expand Down

0 comments on commit 9c396a8

Please sign in to comment.