vim for windows download and installation

來源:互聯網
上載者:User

標籤:

這是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值能夠調整自己主動縮排長度

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


著作權聲明:本文部落格原創文章。部落格,未經同意,不得轉載。

vim for windows download and installation

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.