Bundle 'vim-scripts/L9'
Bundle 'Valloric/YouCompleteMe'
Bundle 'octol/vim-cpp-enhanced-highlight'
-Bundle 'bling/vim-airline'
+Bundle 'vim-airline/vim-airline'
+Bundle 'vim-airline/vim-airline-themes'
Bundle 'payneseu/nerdtree'
Bundle 'Townk/vim-autoclose'
Bundle 'majutsushi/tagbar'
"nmap <A-SPACE> :b#<CR>
"nmap <Leader>d :bd<CR>
"" keymappig for register operations
-nnoremap <Leader>r :registers<CR>
+""TODO check if this already mapping
+"nnoremap <Leader>r :registers<CR>
"noremap <Leader>x :<C-p>
nnoremap <Leader>a :
nmap <Leader>p "*p
-
+" also works :r !pbpaste<CR>
nmap <A-=> :resize<CR>:vertical resize<CR>
nmap \e= :resize<CR>:vertical resize<CR>
"syntax on, must before the YCM,
"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'
+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
"http://www.cnblogs.com/clivelee/p/4266559.html
"https://github.com/Valloric/YouCompleteMe/issues/18
"endif
" }}}
" NerdTree ---------------------------------------------------------------- {{{
-nmap <Leader>n :NERDTreeToggle<CR>
+" TODO check if this is already using in plugins
+"nmap <Leader>n :NERDTreeToggle<CR>
nmap <Leader>N :NERDTreeFind<CR>
" }}}
" AutoClose --------------------------------------------------------------- {{{
autocmd FileType perl setlocal foldmethod=syntax |
\ let b:AutoClosePairs = AutoClose#DefaultPairsModified("\"", "{}") |
- \ inoremap <buffer> { {<CR>}<ESC>kA<CR>
+ \ inoremap <buffer> {<CR> {<CR>}<ESC>kA<CR>
autocmd Filetype markdown setlocal textwidth=80
" \ 'undo', 'line', 'changes', 'mixed', 'bookmarkdir']
+"" TODO:
+""