[Discuss] mozex: editing with your favorite editor

Adam Parkin pzelnip at gmail.com
Thu Jul 19 12:00:44 PDT 2007


Steven Kurylo wrote:
>> compose e-mails in Vi/Vim.  The reason I use Vim is things like syntax
>> highlighting, code folding, splitting windows, etc, none of which would
>> be useful when writing an e-mail.
> 
> If those are the reasons to use vi, almost any code focused editor will do.

I meant the list as an indicator that Vi/Vim is better for code editing 
rather than ordinary text writing (IMHO) rather than a complete list of 
why Vi/Vim is good and great.

> I use vi because it makes editing text so much easier, only using the
> keyboard.  Navigating around the document, search/replace, etc.

Pretty well any text editor can be operated using only the keyboard.  I 
know because I almost never use my mouse (I'm actually teased fairly 
often even by my geek friends as being "anti-mouse").  For example in 
the Thunderbird compose window (at least under Windows):

- CTRL+F is find/replace
- PGUP/PGDN is the equivalent to CTRL+F and CTRL+B in Vim
- CTRL+left/right is the same as b and w in Vim (move one word 
forward/backward).
- HOME and END are the same as 0 and SHIFT+$ in Vim (move to start and 
end of line)
- CTRL+HOME and CTRL+END are the same as 1, SHIFT+G and SHIFT+G (move to 
start and end of document)

The only ones I've never found equivalents for are paragaph up and 
paragraph down (you'd think it'd be CTRL+up arrow/down arrow), but I 
never use those ones anyways. =8-p  Additionally these are pretty well 
standard key combinations under any Windows app which operates on text 
(so applicable to any text editor, word processor, textbox in a browser, 
etc).
-- 
--
Adam Parkin
E-mail: pzelnip at gmail.com
Blog: http://pzelnip.blogspot.com/
----------------------
  Innocence is indeed a glorious thing; but unfortunately, it does not 
keep very well and is easily led astray.
	-- Immanuel Kant, "Grounding For The Metaphysics of Morals"


More information about the Discuss mailing list