mingw开发环境中msys及vim的简单配置
2012-09-20 14:46
381 查看
在\msys\1.0\etc\profile文件中增加几行
alias ls='ls --color'
alias la='ls -a --color'
alias ll='ls -al --color'
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
修改~/.vimrc
syntax on
set number
set tabstop=4
set autoindent
set ruler
set showcmd
set showmode
set showmatch
set mouse=a
set backspace=2
set smartindent
set smarttab
"set shiftwidth=4
"--- The following commands make the navigation keys work like standard editors
imap <silent> <Down> <C-o>gj
imap <silent> <Up> <C-o>gk
nmap <silent> <Down> gj
nmap <silent> <Up> gk
"--- Ends navigation commands
"--- The following adds a sweet menu, press F4 to use it.
source $VIMRUNTIME/menu.vim
set wildmenu
set cpo-=<
set wcm=<C-Z>
map <F4> :emenu <C-Z>
"--- End sweet menu
alias ls='ls --color'
alias la='ls -a --color'
alias ll='ls -al --color'
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
修改~/.vimrc
syntax on
set number
set tabstop=4
set autoindent
set ruler
set showcmd
set showmode
set showmatch
set mouse=a
set backspace=2
set smartindent
set smarttab
"set shiftwidth=4
"--- The following commands make the navigation keys work like standard editors
imap <silent> <Down> <C-o>gj
imap <silent> <Up> <C-o>gk
nmap <silent> <Down> gj
nmap <silent> <Up> gk
"--- Ends navigation commands
"--- The following adds a sweet menu, press F4 to use it.
source $VIMRUNTIME/menu.vim
set wildmenu
set cpo-=<
set wcm=<C-Z>
map <F4> :emenu <C-Z>
"--- End sweet menu
相关文章推荐
- Vim的简单配置——针对Python的开发环境
- 最简单的Android JNI开发入门,JNI环境配置
- 实战配置ubuntu下的vim开发环境
- VIM配置C++开发环境
- JAVA vim 开发环境配置
- eclipse + mingw 开发环境配置
- Windows Mobile6.5开发(二)--配置环境,数据库访问,部署简单实例
- Ubuntu 14.04上驱动开发环境配置,及最简单一个驱动编写。
- Eclipse+CDT+MinGW 配置 C/C++ 开发环境
- VIM搭建IDE开发环境 ---.vimrc配置文件参考
- eclipse中配置c++开发环境 Eclipse + CDT + MinGW
- WebService简单开发 apache-cxf-3.1.6环境配置
- 01、struts1 的开发环境简单配置
- *在ubuntu上搭建开发环境4---ubuntu简单的搭建LAMP环境和配置
- Dev-C++ & MinGW & wxWindows2.6.2 开发环境的配置
- VIM 配置Python开发环境 Taglist + Pydiction+ Highlight+Python_fold+NERD_tree+ autocomplete
- 浅谈对主成分分析(PCA)算法的理解 + QT creator+OpenCV2.4.2+MinGW 在windows下开发环境配置
- 详细介绍在windows系统中配置 cocos2d-x 开发环境及简单使用(VS2012+Cocos2d-x 3.0rc1)
- 在win7下配置简单的python开发环境
- [原]阿里云服务器 操作实战 部署C语言开发环境(vim配置,gcc) 部署J2EE网站(jdk,tomcat)