set nocp set backspace=indent,eol,start set number set autoindent set nocompatible set bs=indent,eol,start set background=dark syntax on set nu set ai set hlsearch set incsearch set showmatch set autowrite set ruler map <C-a> ggVG if v:lang =~ "…
Mac下VIM配置 首先,我们去这里下载MacVim,也可用这个网址:(http://code.google.com/p/macvim/),进入后的界面如下: _______________________________________________________________________ Download Download MacVim 7.3 (snapshot 65) for OS X 10.8 (Mountain Lion). (Released September 1, 2…
安装 因为许多Unix衍生系统已经预装了Vim,我们首先要确认编辑器是否成功安装: vim --version 如果已经安装了,你应该看到类似下面的文字: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Nov 5 2014 21:00:28) Compiled by root@apple.com Normal version without GUI. Features included (+) or not (-): -arabic +autocmd…
Vim配置及使用笔记 安装 apt-get install vim -y 配置说明 vim /etc/vim/vimrc 在配置文件后加入这些配置项 set nu set tabstop=4 set nobackup set ruler set autoindent set nocompatible "//禁用兼容模式 set shiftwidth=4 set softtabstop=4 set laststatus=2 set statusline=\%<%F[%1*%M%*%n%R%H…