Recent Changes - Search:

edit SideBar


Firefox 2
Get Thunderbird!

Vim /

QuicklyAlignWholeFile

Vim.QuicklyAlignWholeFile History

Hide minor edits - Show changes to markup

September 03, 2005, at 04:39 PM by �zg�n
Changed lines 1-13 from:

Tip #977: Quickly align whole file

to:

Tip #977: Quickly align whole file

(:code lang=vi:) gg=G would quickly align the whole file, but you will be at the beginiing of the file after that. To align and still remain in the same line where you were, just add this mapping to your .vimrc

(:code lang=vi:) map <F7> mzgg=G'z<CR>

Now, just press <F7> whenever you want to align your file. I just use. Use whatever you prefer instead of <F7>.

September 03, 2005, at 04:38 PM by �zg�n
Changed line 1 from:

Tip #977: Quickly align whole file

to:

Tip #977: Quickly align whole file

September 03, 2005, at 04:37 PM by �zg�n
Added line 1:

Tip #977: Quickly align whole file

Edit - History - Print - Recent Changes - Search
Page last modified on September 03, 2005, at 04:39 PM