vim for windows download and installation

vim for windows download and installation,第1张

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

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

版权声明:本文博客原创文章。


博客,未经同意,不得转载。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/589624.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-12
下一篇 2022-04-12

发表评论

登录后才能评论

评论列表(0条)

保存