> Seems obvious I'd want to map hjkl to gh gj gk gl.

I do more writing than coding and find that rather than remapping h,
j, k, and l, it can be more useful to remap the up, down, home, and
end keys:

noremap <Up> gk
noremap <Down> gj
noremap <Home> g0
noremap <End> g$

That way, you keep the (very useful) default Vim movement commands but
also get convenient commands to move by screen line that work in the
same way as other programs.

I also map the spell checker to F7 (which is used for spell checking
in a few other programs) and map the "word count" command to F8 for
convenience.

map <F7> :set spell! spell? spl=en_gb<CR>
map <F8> g<C-g>

As for using a fixed line length limit, that really depends on what
you plan to do with your text. I usually leave paragraphs as single
lines: it saves reformatting them with every edit and makes it easy to
import the text into a word processor if required. It is very easy to
reformat the whole file to a fixed line length later if you are using,
for example, LaTeX.

I hope that is helpful. Of course, these are just my opinions. The
truly great thing about Vim is that you can use it pretty much any way
you want!

John

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to