![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vim
liuyanzhi08
变身之后,十秒无敌
展开
-
关闭vim自动语法折叠
当你在 .vimrc里设置了语法折叠以后,即:set foldmod=syntax以后,vim默认会为你将所有代码进行语法折叠,你可以通过配置 set foldlever = 1999999999999999999来让自动折叠关闭。原因是foldlever是控制自动折叠级别的,0是最高折叠级别,数值越大折叠级别越低。吼吼~~原创 2012-03-07 17:32:56 · 4988 阅读 · 1 评论 -
推荐一个学习vim的好地方,作者见解挺深,条例清晰
http://easwy.com/blog/archives/tag/vim/原创 2012-07-17 00:39:12 · 3225 阅读 · 2 评论 -
copy & paste between vim and system clipboard, vim paste in insert mode
int your .vimrc, add the fllowing three lines:nmap "+Pimap ivmap "+ythen you can hit to copy in visual mode, hit to paste in insert mode and visual mode原创 2012-06-29 17:03:09 · 1256 阅读 · 0 评论 -
Set up professional rails3 develpment on ubuntu (part one)
(1) Download ubuntu iso image from the official site (As recommended , I chose 32-bit ) http://www.ubuntu.org.cn/download/desktop(2) Download the ultraiso usb-boot maker http://www.ezb原创 2012-07-13 07:54:18 · 1384 阅读 · 0 评论 -
ubuntu12.04 gvim报错
由于fcitx-frontend-gtk2和gvim冲突造成以下的错误,sudo apt-get remove fcitx-frontend-gtk2解决:(gvim:26240): Gdk-WARNING **: Using Cairo rendering requires the drawable argument tohave a specified colormap. All原创 2012-06-26 03:50:35 · 2934 阅读 · 0 评论 -
vim中补全tab和shift+tab方向相反
snipmate与supertab兼容问题造成的,修改.vimrc加入let g:SuperTabDefaultCompletionType = "context"let g:snips_trigger_key=''原创 2012-04-24 16:19:58 · 2099 阅读 · 0 评论 -
vim NerdTree 常用命令
原帖地址:http://www.cnblogs.com/mo-beifeng/archive/2011/09/08/2171018.htmlVim之NerdTree的帮助1 目录 2 ================================================================================转载 2012-03-19 15:35:39 · 2720 阅读 · 0 评论 -
nerdtree切换标签
Ctrl + w + h:切换到左边树状目录标签Ctrl + w + l:切换到右边的标签Ctrl + w + w: 在各个标签轮换另外用vim的时候左手按Ctrl键小拇指很累,可以将Ctrl和Caps Lock键换一个位置,方法是(对于ubuntu图形界面):系统设置 ---> 键盘 ---> 布局设置 ---> 选项 ---> Ctrl建位置设置原创 2012-03-07 17:25:45 · 4932 阅读 · 1 评论 -
vim map <ESC> in command-line mode
As the vim wiki tells us, you cann't derectly map , instead you should map Official website screenshot:原创 2012-07-21 01:17:42 · 1563 阅读 · 0 评论