vi
来源:互联网 发布:cydia添加软件源 编辑:程序博客网 时间:2024/06/12 01:22
.vimrc
=======================
:set expandtab
:syntax on
:set nohlsearch
:autocmd FileType c,cc,cpp,php,inc,java,cs set
/ smarttab
/ expandtab
/ shiftwidth=4
/ tabstop=4
:autocmd FileType javascript set
/ cindent
/ smarttab
/ shiftwidth=2
/ tabstop=2
:autocmd FileType xslt,xml set
/ smarttab
/ shiftwidth=2
/ tabstop=2
:autocmd FileType html,htm,jsp set
/ smarttab
/ tabstop=2
/ shiftwidth=2
:autocmd FileType perl set
/ smarttab
/ noexpandtab
/ shiftwidth=4
/ tabstop=4
set shiftwidth=2
set tabstop=2
set background=dark
command -nargs=+ Attr .!addattr <args>
=======================
:! open inner shell
:s/>.*$/ }/
:s/</{ $Prog///
q "name" do q
---
@ "name"
:sp
ctrl + w - | = | +
can not see the words you type: reset
:%s/</(Ctrl+v, Enter)</g
Shift + j
.vim/filetype.vim
=======================
augroup filetypedetect
au BufNewFile,BufRead *.tt setf html
augroup END
=======================
=======================
:set expandtab
:syntax on
:set nohlsearch
:autocmd FileType c,cc,cpp,php,inc,java,cs set
/ smarttab
/ expandtab
/ shiftwidth=4
/ tabstop=4
:autocmd FileType javascript set
/ cindent
/ smarttab
/ shiftwidth=2
/ tabstop=2
:autocmd FileType xslt,xml set
/ smarttab
/ shiftwidth=2
/ tabstop=2
:autocmd FileType html,htm,jsp set
/ smarttab
/ tabstop=2
/ shiftwidth=2
:autocmd FileType perl set
/ smarttab
/ noexpandtab
/ shiftwidth=4
/ tabstop=4
set shiftwidth=2
set tabstop=2
set background=dark
command -nargs=+ Attr .!addattr <args>
=======================
:! open inner shell
:s/>.*$/ }/
:s/</{ $Prog///
q "name" do q
---
@ "name"
:sp
ctrl + w - | = | +
can not see the words you type: reset
:%s/</(Ctrl+v, Enter)</g
Shift + j
.vim/filetype.vim
=======================
augroup filetypedetect
au BufNewFile,BufRead *.tt setf html
augroup END
=======================
- VI
- vi
- vi
- vi
- vi
- vi
- VI
- vi
- vi
- vi
- Vi
- vi
- vi
- vi
- vi
- vi
- vi
- vi
- 读书笔记-高质量C++/C编程指南-第4章 表达式和基本语句
- 读书笔记-高质量C++/C编程指南-第5章 常量
- jQuery各种用法汇总
- 我的希望。我的梦想。。。。。
- Use Proxy
- vi
- 一位软件工程师的6年总结
- 读书笔记-高质量C++/C编程指南-第6章 函数设计
- 用Visual Studio.NET 2008实现功能强大的Ajax+WCF Service交互
- 太极易思维培训笔记(培训讲师:孙虹钢)
- 我和我的新系统vista
- 从复杂适应系统,到自组织理论,再到web2.0的自组织现象
- 我又来杭州了。。。。接近我梦想的地方。。。。。
- 终于初步确定主题