My VIM Configuration

Source: Internet
Author: User

1 Execute Pathogen#infect ()2 Syntax on3 "ColorScheme Slate4 filetype plugin indent on5 "syn keyword a cin cout endl6 "hi a guifg= #8DA5ED7 8 9Highlight Linenr ctermbg=BlackTenHighlight Linenr ctermfg=Darkgreen One  ASet Cindent"automatic indentation using the C + + language" -Set cinoptions={0, 1s,t0,n-2, P2s, (03s,=.5s,>1s,=1s,:1s"to set the specific indentation for A/C + + language")} -Set shiftwidth=4    "(auto) indent 4 spaces for use" the Set Nu -Set tabstop=4 - Set Nobackup - Set Cursorline + "Set Cursorcolumn - Set Autoindent + Set Ruler ASet mouse=a at Set Showmatch -  -Map <C-n>:nerdtree<cr> -Map <C-t>:tlisttoggle<cr> -Map <C-A>GGVG -map! <C-A> <Esc>GGVG inMap <F12> gg=G -Vmap <C-c>"+y to  +Let tlist_show_one_file=1    "Show only the taglist of one file -Let tlist_exit_onlywindow=1  "automatically exits when TagList is the last window theLet tlist_use_right_window=1 "Show TagList window on the right *Let tlist_sort_type="name"   "tag Sort by name $ Panax Notoginseng filetype plugin indent on -Set completeopt=Longest,menu theLet Omnicpp_namespacesearch =2     "Search Namespaces in the current buffer and in included files +Let Omnicpp_showprototypeinabbr =1 "Show function parameter list ALet Omnicpp_maycompletescope =1    "input:: After auto-completion theLet omnicpp_defaultnamespaces = ["STD","_GLIBCXX_STD"] +  -Set tags+=~/.vim/tags/cpp_src/Tags $  $Nnoremap <F9> <esc>:W<cr>:!g++-std=c++ One%-o/tmp/a.out &&/tmp/a.out<cr> -Nnoremap <C-F9> <esc>:W<cr>:!g++-std=c++ One%<cr> -Nnoremap <F8> <esc>:W<cr>:!g++-std=c++ One-G%-o/tmp/a.out && gdb/tmp/a.out<cr>

My VIM Configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.