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 

VIM For Windows 1的更多相关文章

  1. vim for windows 简介

    普通人的编辑利器--VIM (for windows) 本文转载自 FROM Vincent_czz2005年5月,我开始用VIM.此后渐入佳境,原来因版权自律而放弃盗版UltraEdit的遗憾一扫而 ...

  2. vim与windows/linux之间的复制粘贴小结

    vim与windows/linux之间的复制粘贴小结 用 vim这么久了,始终也不知道怎么在vim中使用系统粘贴板,通常要在网上复制一段代码都是先gedit打开文件,中键粘贴后关闭,然后再用vim打开 ...

  3. vim - multiple windows

    https://www.cs.oberlin.edu/~kuperman/help/vim/windows.html

  4. [vim配置]windows下在vim中使用gcc/g++编译调试c/cpp文件

    在Linux里面混了一个多月,vim编程用得甚爽.无奈前天将Linux里面的编程文件夹误删,而技术不精无法找回,悲痛欲绝.再者,无限怀念windows里面的游戏,并觉得现在在Linux里面也学不到什么 ...

  5. Vim Skills——Windows利用Vundle和Github进行Vim配置和插件的同步

    OS:Windows Vim安装完成之后,目录如下 vim73:vim运行时所需的文件,对应目录为$VIMRUNTIME变量 vimfiles:第三方的文件,对应目录为$VIM/vimfiles _v ...

  6. vim 编辑 windows下的文本时出现乱码, 修改配置后 已解决

    最近用VIM 查看一个 WINDOWS下的文本,打开以后发现出现乱码,具体如上图. 最后在网上找到了一个解决方法: 原文地址: https://www.zhihu.com/question/22363 ...

  7. Vim 在 windows 下的应用

    常用命令的学习. 第一部分 Esc:返回到 正常模式 h j k l:左下上右 x:删除字符(normal mode) :q!:放弃所有更改并退出vim :wq:保存所有更改并退出vim i:进入编辑 ...

  8. vim for windows download and installation

    这是vim皇冠vim简要 ------------------------------------------------- WHAT IS VIM Vim is an almost compatib ...

  9. Vim入门——Windows下安装

    下载页面:https://www.vim.org/download.php Windows选用的是MS-Windows: 下图为展示: 因为最近被墙,镜像貌似没中国内陆地区,因此,选择使用GitHub ...

随机推荐

  1. Javascript面向对象编程(三):非构造函数的继承(对象的深拷贝与浅拷贝)

    Javascript面向对象编程(三):非构造函数的继承   作者: 阮一峰 日期: 2010年5月24日 这个系列的第一部分介绍了"封装",第二部分介绍了使用构造函数实现&quo ...

  2. 【PyQt5-Qt Designer】PyQt5+pyecharts 实现GUI界面的数据可视化展示

    先用纯Python代码写一个简单的小案例: from PyQt5.QtCore import QUrl from PyQt5.QtWidgets import QApplication,QWidget ...

  3. vim 私人快捷键备忘录

    i 上 k 下 j 左 l 右 ( 上移一段 ) 下移一段 * 搜索关键字 d 删除 y 复制 p 粘贴 h 插入 H 头插 o 下开一行 O 上开一行 f 后跳指定关键字 F 前跳指定关键字 e 字 ...

  4. JavaScript学习笔记--语言工具的了解

    基础学习,快速入门资料:网站 https://www.liaoxuefeng.com ,http://www.runoob.com/js/js-tutorial.html 笔记: 编程工具:SubLi ...

  5. VS2013 opencv配置

    有三个地方需要配置,在配置之前首先要将platform配置好,下面的例子是x64 Release的“ 然后需要将include.lib的路径配置好 然后将dll拷贝至编译生成的Release文件夹中即 ...

  6. 对CountDownLatch的初步学习

    CountDownLatch的中文翻译为"闭锁",在JDK1.5中 CountDownLatch类加入进来.为程序猿进行并发编程提供有利的帮助. 首先我们先看看JDK文档中对于Co ...

  7. dedecms首页去掉index.html怎么设置

    很多网友用IIS服务器建站,反映说dedecms首页默认多了一个/index.html,一般是没有这个后缀的,直接就**.com,那么如何将dedecms首页去掉index.html呢?很简单,服务器 ...

  8. AxMIMS系统开发环境搭建

    系统环境:Windows10, VS2013, Qt5.6.2 64bit 1.CloudCompare2.8.1编译 (shapefilelib1.3,geos3.6.1) 2.PCL-1.8.0- ...

  9. python线程中的join(转)

    Python多线程与多进程中join()方法的效果是相同的. 下面仅以多线程为例: 首先需要明确几个概念: 知识点一:当一个进程启动之后,会默认产生一个主线程,因为线程是程序执行流的最小单元,当设置多 ...

  10. 2019.03.24 Ajax

    也还是会用到jquery中的Ajax请i求 所以第一还是引入jQuery包   可以去网上搜腾讯网静态资源库 然后引入包    Ajax还是异步处理  处理堵塞问题  import time 就可以了 ...