Vim: Difference between revisions

From DWIKI
No edit summary
No edit summary
Line 1: Line 1:
=== links ===
=== links ===
[http://www.vim.org vim]
* [http://www.vim.org/ http://www.vim.org/] - vim homepage
* [http://vimdoc.sourceforge.net/ http://vimdoc.sourceforge.net/] - the online source for Vim documentation


=== tips ===
=== tips ===

Revision as of 21:59, 31 August 2006

links

tips

Commands are entered by hitting the Esc button then ":" and the setting, function, command etc.

Enable/Disable line numbering:

 set nu!

Importing the output of ls -l into the current buffer:

 r !ls -l

Sort lines 50 to 76 ussing the unix sort command:

 50,76 !sort

Change syntax colours: find syncolor.vim