参看连接:http://www.cnblogs.com/lexus/archive/2012/11/04/2753187.html http://yang3wei.github.io/blog/2013/01/29/nerdtree-kuai-jie-jian-ji-lu/ 切换工作台和目录 ctrl + w + h 光标 focus 左侧树形目录 ctrl + w + l 光标 focus 右侧文件显示窗口 ctrl + w + w 光标自动在左右侧窗口切换 ctrl + w + r 移动当前…
ctrl + w + h 光标 focus 左侧树形目录 ctrl + w + l 光标 focus 右侧文件显示窗口 ctrl + w + w 光标自动在左右侧窗口切换 ctrl + w + r 移动当前窗口的布局位置 o 在已有窗口中打开文件.目录或书签,并跳到该窗口 go 在已有窗口 中打开文件.目录或书签,但不跳到该窗口 t 在新 Tab 中打开选中文件/书签,并跳到新 Tab T 在新 Tab 中打开选中文件/书签,但不跳到新 Tab i split 一个新窗口打开选中文件,并跳到该窗…
切换工作台和目录 ctrl + w + h 光标 focus 左侧树形目录ctrl + w + l 光标 focus 右侧文件显示窗口ctrl + w + w 光标自动在左右侧窗口切换ctrl + w + r 移动当前窗口的布局位置 o 在已有窗口中打开文件.目录或书签,并跳到该窗口go 在已有窗口 中打开文件.目录或书签,但不跳到该窗口t 在新 Tab 中打开选中文件/书签,并跳到新 TabT 在新 Tab 中打开选中文件/书签,但不跳到新 Tabi split 一个新窗口打开选中文件,并跳到…
设置快键键 编辑 .vimrc 添加以下内容后,可以使用 ctrl + n 来开关 NERDTree 插件. map <silent> <C-n> :NERDTreeToggle<CR> NERDTree 快捷键 操作文件 Key Desc o 打开文件 go 预览文件 t 在新 Tab 页打开文件 T 在后台新 Tab 页打开文件 i 分屏打开文件 gi 分屏预览文件 s 垂直分屏打开文件 gs 垂直分屏预览文件 操作目录 Key Desc o 展开或收缩目录 O 递…
vi编辑器的配置:http://blog.mcuol.com/User/fenghua/Article/17411_1.htm ******************************vim ~/.vimrc***************************常用设置 "显示行号" set nu 缩格数 set tabstop=4 "设置自动对齐" set autoindent…
rm -rf YouCompleteMe/third_party/ycmd/third_party/cregex git submodule update --init --recursive at the dir of "YouCompleteMe/third_party/ycmd/third_party" 完美解决! set nocompatible " be iMproved, required filetype off " required "…
set nocompatible " be iMproved, required filetype off " required " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " alternatively, pass a path where Vundle should install plu…
some tips for using vim in windows. 1,download the software vim and install it, you can go to the Official network and download the version of this software you neeed. 2,after you have installed it successfully, the next you have to do is know clear…
前段时间看到wklken分享的k-vim配置,试用了下真的爽到飞起. 不过唯一不爽的是有一些快捷键一直记不住,现在整理些常用的快捷键,以备查阅. F2 set nu/nonu,行号开关,用于鼠标复制代码用 F3 set list/nolist,显示可打印字符开关 F4 set wrap/nowrap,换行开关 F5 set paste/nopaste,粘贴模式paste_mode开关,用于有格式的代码粘贴 F6 syntax on/off,语法开关,关闭语法可以加快大文件的展示 F9 显示函数结…
参考链接:http://yang3wei.github.io/blog/2013/01/29/nerdtree-kuai-jie-jian-ji-lu/ 切换工作台和目录 ctrl + w + h 光标 focus 左侧树形目录 ctrl + w + l 光标 focus 右侧文件显示窗口 ctrl + w + w 光标自动在左右侧窗口切换 ctrl + w + r 移动当前窗口的布局位置 o 在已有窗口中打开文件.目录或书签,并跳到该窗口 go 在已有窗口 中打开文件.目录或书签,但不跳到该窗…