aboutsummaryrefslogtreecommitdiffstats
path: root/dotvimrc
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-30 14:53:45 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-30 14:53:45 +0100
commit31180059a74fbc9c747f273bb79271bb669c5bd7 (patch)
treee705c2d3a8f60ee4ad59cf23c65104be7e63e200 /dotvimrc
parent12f92e7eb360a9e1ba04a5d58157d661c6008315 (diff)
downloadvimrc-31180059a74fbc9c747f273bb79271bb669c5bd7.tar.gz
vimrc-31180059a74fbc9c747f273bb79271bb669c5bd7.tar.bz2
vimrc-31180059a74fbc9c747f273bb79271bb669c5bd7.zip
Add YCM shortcuts
Diffstat (limited to 'dotvimrc')
-rw-r--r--dotvimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dotvimrc b/dotvimrc
index aac2ac9..daea6a8 100644
--- a/dotvimrc
+++ b/dotvimrc
@@ -92,6 +92,8 @@ NeoBundle 'git-time-lapse'
NeoBundle 'Valloric/YouCompleteMe.git'
let g:ycm_extra_conf_globlist = ['~/dab/*', '~/*']
let g:ycm_always_populate_location_list = 1
+noremap <Leader>y :YcmDiags<CR>
+noremap <Leader>Y :YcmRestartServer<CR>
NeoBundle 'tpope/vim-surround.git'
NeoBundle 'taglist.vim'