バックアップvimrc
yntax on
" Configuration file for vim
filetype on
set modelines=0 " CVE-2007-2438
" Normally we use vim-extensions. If you want true vi-compatibility
" remove change the following statements
set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=2 " more powerful backspacing
" Don't write backup file if vim is being called by "crontab -e"
au BufWrite /private/tmp/crontab.* set nowritebackup
" Don't write backup file if vim is being called by "chpass"
au BufWrite /private/etc/pw.* set nowritebackup
"set tags=/Users/apple/red54apple/cas/cas/castags
set tabstop=4
"set autoindent
set hlsearch
mac:
" Configuration file for vim
filetype on
set modelines=0 " CVE-2007-2438
" Normally we use vim-extensions. If you want true vi-compatibility
" remove change the following statements
set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=2 " more powerful backspacing
" Don't write backup file if vim is being called by "crontab -e"
au BufWrite /private/tmp/crontab.* set nowritebackup
" Don't write backup file if vim is being called by "chpass"
au BufWrite /private/etc/pw.* set nowritebackup
syntax on
set tags=/Users/apple/red54apple/cas/cas/castags
set tabstop=4
"set autoindent
set hlsearch
リファレンスhttp://coolshell.cn/articles/5426.html
いいえvimコマンド:
:help
w
^
g_
u → undo
:e
:saveas
:bnと:bp→多くのファイルを同時に開くことができ、この2つのコマンドを使用して次のファイルまたは前のファイルを切り替えることができます.(陳皓注:私は使用するのが好きです:nから次のファイル)