set macmeta "" Macvim only
colorscheme molokai
set guioptions+=c
- set guifont=Sauce\ Code\ Powerline\ Light:h11
+ set guifont=Source\ Code\ Pro\ Light:h11
highlight Cursor guifg=white guibg=green
set guicursor=a:blinkon0
set guioptions=eac
" YouCompleteMe ----------------------------------------------------------- {{{
"syntax on, must before the YCM,
+" Load YouCompleteMe only on OSX
+if !has("osx")
+ let g:loaded_youcompleteme = 1
+endif
+
"let g:ycm_collect_identifiers_from_tags_files = 1
let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
" this is fix youcompleteme python error
"endif
" }}}
" NerdTree ---------------------------------------------------------------- {{{
-" TODO check if this is already using in plugins
-"nmap <Leader>n :NERDTreeToggle<CR>
+" Fix keymapping conflict
+nmap <unique> <Leader>, <Plug>MarkClear
+nmap <Leader>n :NERDTreeToggle<CR>
nmap <Leader>N :NERDTreeFind<CR>
" }}}
" AutoClose --------------------------------------------------------------- {{{