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 

最新文章

  1. Python标准模块--asyncio
  2. vim
  3. SQL Server 开发-语法学习
  4. AMD正式公布第七代桌面级APU AM4新接口
  5. [家里蹲大学数学杂志]第432期Hardy type inequalities
  6. php基础25:each()
  7. JBOSS内存溢出处理
  8. IBatis.Net 批量插入数据
  9. combination-sum-ii(熟悉下Java排序)
  10. hdu 3549 Flow Problem(增广路算法)
  11. jQuery+php实现ajax文件即时上传
  12. CreateThread函数
  13. jquery源码阅读笔记一
  14. BZOJ 2298 problem a(区间DP)
  15. 如何设置App的启动图
  16. Spring国际化
  17. 基于Centos7的autobahn-python+crossbar的环境搭建
  18. SpringBoot系列: 单元测试2
  19. [20170612]FOR ALL COLUMNS SIZE repeat(12c).txt
  20. .net获取程序根目录

热门文章

  1. Orchard Core 中数据库使用postgresql-10
  2. nmap常用参数
  3. 使用poi写excel文件
  4. VS Code Html Zen coding
  5. 【生产问题】记还原一个很小的BAK文件,但却花了很长时间,分析过程
  6. python文件的md5加密方法
  7. [django]session设置与获取原理
  8. mysql 1,2,3 关联查询出数字代表的具体意思
  9. 虚拟IP技术
  10. [转]Redis 数据结构简介