zoukankan      html  css  js  c++  java
  • vim for windows download and installation

    这是vim皇冠vim简要

    -------------------------------------------------

    WHAT IS VIM


    Vim is an almost compatible version of the UNIX editor Vi.  Many new features have been added: multi-level undo, syntax highlighting, command line history, on-line help, spell checking, filename completion, block operations, etc. There is also a Graphical User Interface (GUI) available.

        This editor is very useful for editing programs and other plain text files. All commands are given with normal keyboard characters, so those who can type with ten fingers can work very fast.  Additionally, function keys can be defined by the user, and the mouse can be used.

        Vim runs under Amiga DOS, MS-DOS, MS-Windows (95, 98, Me, NT, 2000, XP, Vista, 7), Atari MiNT, Macintosh, BeOS, VMS, RISC OS, OS/2 and almost all flavours of UNIX. Porting to other systems should not be very difficult.

    -------------------------------------------------

    初次使用window下的vim,从网络上获得了不少配置介绍。这里再简单总结下window下vim下载安装和配置以备后用。

    (1)下载安装。官方下载http://www.vim.org/,双击安装;

    (2)设置windows用户环境变量PATH,使得用户操作方便,能够直接"開始-执行"进入vim

    (3)配置vim执行脚本_vimrc。使得符合自己使用习惯,我的_vimrc是在默认_vimrc中加入了下面设置:

    -----------------------------------------------------------------

    set go=
    set guifont=Monospace:h10,Consolas:h10

    set tabstop=4 或者set ts=4能够设置键盘制表符占有的字符长度为4
    set cindent 将缩进(indentation)风格调整为C语言缩进风格。设置后编辑换行时能够实现自己主动缩进
    set shiftwidth=4 设置shiftwidh值能够调整自己主动缩进长度

    -----------------------------------------------------------------


    版权声明:本文博客原创文章。博客,未经同意,不得转载。

  • 相关阅读:
    Flush输出表格内容
    [From Linux Toy] inxi– bash script to get system information
    .NET中Mocking框架的对比
    Python中的对象和动态性 [菜鸟的理解,高手莫入]
    《正见 佛陀的证悟》读书摘记 (1)
    Quote for tomorrow
    不抱怨就会死
    web deploy + windows server 2008 r2 64bit + iis 7.5
    bootsnipp
    [转载] A Beginner's Guide to HTTP Cache Headers
  • 原文地址:https://www.cnblogs.com/gcczhongduan/p/4721577.html
Copyright © 2011-2022 走看看