Posts Tagged ‘VIM’

Vim 相關資料

Tuesday, February 10th, 2009

因為工作的關係,又重新把 Vim 給找回來用,不過很多東西都忘了。把找到的資料整理一下,方便以後用。
(more…)

VIM Quick Reference Card

Saturday, March 26th, 2005

Wiki 連不上,BBS 也掛點,只好用 Blog 來記 XD

http://tnerual.eriogerg.free.fr/vim.html

採 GNU GPL

use Vim to indent your code

Saturday, July 5th, 2003

13.6. How do I format/indent an entire file?

You can format/indent an entire file using the gg=G command, where

gg - Goto the beginning of the file
= - apply indentation
G - till end of file

For more information, read

:help gg
:help =
:help G
:help 'formatprg'
:help C-indenting