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 

  • 相关阅读:
    观光奶牛Sightseeing Cows (二分+spfa(dfs))
    卢卡斯定理学习笔记
    分层图学习笔记
    热烈祝贺CRMEB运营中心乔迁新址
    CRMEB知识付费系统v1.2发布上线直播带课功能
    推荐一款超好用码云start超4.9k采用前后端分离开发的小程序商城源码
    crmeb打通版3.x小程序商城公众号重复无限刷新登陆解决
    如何利用CRMEB 3.2打通版小程序商城做直播带货
    crmeb打通版开源微信公众号小程序商城框架源码
    一文读懂知识付费平台的运营方向及平台选择
  • 原文地址:https://www.cnblogs.com/pickKnow/p/8962283.html
Copyright © 2011-2022 走看看