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值能够调整自己主动缩进长度

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


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

  • 相关阅读:
    MongoDB结构划分
    iphone下scrollview图片浏览器小记
    图文详解linux/windows mysql忘记root密码解决方案
    【记】Javascript遍历对象属性的方法
    【jQuery】jQueryUI中的datepicker在overflow下的两点点小小的问题。
    第一个测试文章
    【记】Javascript的正则表达式RegExp
    【记】IE下input标签中的paddingleft和paddingright
    【CSS】关于IE、FireFox中table强制换行的总结
    【DOCTYPE】兼容模式和标准模式
  • 原文地址:https://www.cnblogs.com/gcczhongduan/p/4721577.html
Copyright © 2011-2022 走看看