favourite (useless) vim command is: 1GVGg? try it. (repeat it to undo. or just 'u') -- Use 'v' or 'V' (SHIFT-V) to get into 'visual' mode. With little 'v'-mode you can select characters, while with big 'V'-mode you select lines. Now you can use 'y' (yank) or 'd' to copy/cut the block, ':e newfile' to open a new file and 'p' (paste) to paste in the block. -- :set nu :set nonu -- (Presence) jey, okay, how did you get Vim to export a syntax-highlightted .js as a html?? (Jey) Presence: :runtime! syntax/2html.vim (Jey) fucking awesome vim script (Jey) it comes standard (Presence) whoa! ggVGg? : rot13 whole file (toggles)