Vim configuration memo

Source: Internet
Author: User

#

Vimgdb install

Http://clewn.sourceforge.net/install.html

 

#

Plugin of VIM

Taglist. Vim

Http://www.vim.org/scripts/script.php? Script_id = 1, 273

Csupport

Http://www.vim.org/scripts/script.php? Script_id = 1, 213

Doxygensupport

Http://www.vim.org/scripts/script.php? Script_id = 1, 1955

Yankring. Vim

Http://www.vim.org/scripts/script.php? Script_id = 1, 1234

 

# Content
Of. vimrc


Let G: vimgdb_debug_file = ""
Colo neon
Set guifont = monospace/8
Set number
Set tabstop = 4
Set softtabstop = 4
Set shiftwidth = 4
Set ignorecase
Set nowrap
Set nobackup
Set cindent
Syntax enable

Map <F2>: Bel 20 vsplit GDB-variables <CR>
Map <F3>: tlist <CR>
Map <F5>: Call GDB ("Run") <CR>
Map <F7>: Run macros/gdb_mappings.vim <CR>
Map <F9>: Call <Sid> breakpoint ("break") <CR>
Map <F10>: Call GDB ("Next") <CR>
Map <F12>: Call GDB ("Step") <CR>

If has ("multi_byte ")
Set encoding = UTF-8
Set termencoding = UTF-8
Set formatoptions + = mm
"Set fencs = UTF-8, GBK, Latin1
Set fencs = UTF-8, cp936, Latin1

If V: lang = ~? '^/(Zh/)/|/(JA/)/|/(Ko /)'
Set ambiwidth = double
Endif
"If has (" Win32 ")
"Source $ vimruntime/delmenu. Vim
"Source $ vimruntime/menu. Vim
"Language messages zh_CN.utf-8
"Endif
"Else
"Echoerr/" sorry, this version of (g) Vim was not compiled with + multi_by
Endif

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.