标签:
感觉自己现在使用vim越来越少了,记录一下它的配置和命令,万一以后还用呢。
for windows
set autoindent
set cindent
filetype plugin indent on
set nobackup
set shiftwidth=2
set tabstop=2
set nu
set guifont=consolas:h10
set encoding=utf-8
set fileencoding=utf-8
set guioptions-=T
set guioptions-=m
for linux
set nu
set nobackup
set shiftwidth=2
set tabstop=2
set autoindent
set cindent
filetype plugin indent on
set tags=tags;/
other vim command
set ff=dos
set ff=unix
set ff
set ft
set fileencoding=cp936
shift+k
ctrl+]
ctrl+t
tabnew
gt
gT
gg=G
标签:
原文地址:http://www.cnblogs.com/qscoding/p/4802282.html