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 clearly how to install the plugs,it's very important for Vim,different plugs will make the Vim get stronger.
details of installing the plugs
Firstly,you should create a enviroment Varibles named $Vim which represent the site of the installation of Vim --C:\Program Files (x86)\Vim
Secondly, you need to install the plug named 'Vundle' ,you can see it from the following site---http://github.com/gmarik/vundle.git
Vundle, Vim bundle, is a plug used for managing all of the plugs in the Vim.
Go to the github,and download the vundle,and unzip the package,you will see a unziped package named 'Vundle.vim-master',pls rename the name into 'Vundle.vim',and put this package under the package of bundle,before this step ,you should create a package named bundle under the 'vimFiles' ,so finally you can see absolute path as following --C:\Program Files (x86)\Vim\vimfiles\bundle\Vundle.vim
At the same time, you must update file named '_vimrc' which is used for starting Vim,
pls copy the following code and put it to _vimrc, then you can test by using command.
:BundleInstall ------ install the vundle
:BundleList ------- plugs configured
set nocompatible
filetype off
"Vundle的路径
set rtp+=$VIM/vimfiles/bundle/Vundle.vim
"插件的安装路径
call vundle#begin('$VIM/vimfiles/bundle/')
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'
call vundle#end()
filetype plugin indent on
Thirdly,after the installation of vundle, you can install other plugs,you wanna change character font,character style, pls put the following code into the '_vimrc' and then you will do it successfully.
colo koehler
set guifont=Courier_New:h14:cANSI
Then, NERDTree and NerdTreeTabs
NerdTree: github site: https://github.com/scrooloose/nerdtree
NerdTreeTabs :github site: https://github.com/jistr/vim-nerdtree-tabs
Same operation, download the zip package and then put the unziped package into the bundle,same site of Vundle.vim
update the '_vimrc',
" 关闭NERDTree快捷键
map <leader>t :NERDTreeToggle<CR>
" 显示行号 let NERDTreeShowLineNumbers=1 let NERDTreeAutoCenter=1
" 是否显示隐藏文件 let NERDTreeShowHidden=1
" 设置宽度 let NERDTreeWinSize=31 " 在终端启动vim时,共享NERDTree let g:nerdtree_tabs_open_on_console_startup=1
" 忽略一下文件的显示 let NERDTreeIgnore=['\.pyc','\~$','\.swp']
" 显示书签列表 let NERDTreeShowBookmarks=1
map <leader>n <plug>NERDTreeTabsToggle <CR>
"设置打开目录树的快捷键
After this, pls test it...
:NERDTree