VIM配置备忘

# Vimgdb Install

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

 

# Plugin of vim

taglist.vim
http://www.vim.org/scripts/script.php?script_id=273

csupport

http://www.vim.org/scripts/script.php?script_id=213

doxygensupport

http://www.vim.org/scripts/script.php?script_id=1955

YankRIng.vim

http://www.vim.org/scripts/script.php?script_id=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 20vsplit 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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值