Vim: Difference between revisions
From DWIKI
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=== links === | |||
[http://www.vim.org vim] | [http://www.vim.org vim] | ||
=== 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 | Change syntax colours: find syncolor.vim |
Revision as of 17:47, 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