首页 > 系统服务 > 详细

在NOILINUX下的简易VIM配置

时间:2017-09-09 11:26:54      阅读:466      评论:0      收藏:0      [点我收藏+]

位置:/etc/vim/vimrc

建议使用gedit来进行配置。即使用命令:sudo gedit /etc/vim/vimrc

set mouse=a        " Enable mouse usage (all modes)
set confirm

set tabstop=4
set shiftwidth=4

set smarttab
set smartindent

color desert
set nu
set ruler
set hlsearch
set incsearch
set cursorline

set nobackup
set autoread

map <F9> <ESC>:w<CR> :!g++ % -o %< -Wall -DLOCAL && ./%< <CR>
imap <F9> <ESC>:w<CR> :!g++ % -o %< -Wall -DLOCAL && ./%< <CR>

 

在NOILINUX下的简易VIM配置

原文:http://www.cnblogs.com/acxblog/p/7497310.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!