zoukankan      html  css  js  c++  java
  • VIM For Windows 1

    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)VimvimfilesundleVundle.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 

  • 相关阅读:
    符号化Symbol(符号)体系
    shp2pgsql
    ArcGIS Flex(9.3)+GP服务完成最短路径分析(1)转载
    安装postgis,使用postgis导入shapefile的步骤总结 转载
    iis .NET的安装顺序反了该怎么办?
    WindowsXP 安装 PostgreSQL 8.4.2 数据库
    Web前端数据缓存处理
    SpringBoot 无Session开发
    Web端子页面iframe出现登录页面处理。
    Mybatis Generator自定义扩展
  • 原文地址:https://www.cnblogs.com/pickKnow/p/8962283.html
Copyright © 2011-2022 走看看