소스 검색

Updated some settings. Removed --clang-completer from install.

Drew 12 년 전
부모
커밋
f537362d96
2개의 변경된 파일14개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      install
  2. 13 0
      vimrc

+ 1 - 1
install

@@ -30,7 +30,7 @@ yaourt -S boost python2-powerline-git
 
 echo "Compiling YouCompleteMe"
 cd "$DIR"/vim/bundle/YouCompleteMe
-./install.sh --clang-completer
+./install.sh
 
 read -p "Auto install exuberant-ctags? [y/N] " -n 1 -r
 if [[ $REPLY =~ ^[Yy]$ ]]; then

+ 13 - 0
vimrc

@@ -154,6 +154,10 @@ nnoremap <leader>e :NERDTreeToggle<CR>
 
 map <leader>cc <plug>NERDCommenterToggle
 
+" For some reason, CommentToggle doesn't work unless this is
+" remapped, so remapping it to something I won't ever use.
+map <leader>///<space> <plug>NERDCommenterComment
+
 " Not sure if I want default c prefix or a different one.
 " Note : Insert is disabled by default
 "map <leader>/c\<space> <plug>NERDCommenterComment
@@ -171,6 +175,15 @@ map <leader>cc <plug>NERDCommenterToggle
 "map <leader>/l <plug>NERDCommenterAlignBoth
 "map <leader>/u <plug>NERDCommenterUncomment
 
+"""""""""""""""""""""""""""""""""""""""" 
+" YouCompleteMe
+""""""""""""""""""""""""""""""""""""""""
+
+let g:ycm_key_list_select_completion = ['<TAB>', '<Down>', '<Enter>']
+
+"""""""""""""""""""""""""""""""""""""""" 
+" Useful Stuff
+""""""""""""""""""""""""""""""""""""""""
 """""""""""""""""""""""""""""""""""""""""
 " TagList
 """""""""""""""""""""""""""""""""""""""""