On Apr 14, 2011 at 08:55 AM -0400, Eric Weir wrote:
I'm finding h, j, k, l; e, b; $, 0; and H, M, L a bit limited as ways
to move around the screen. Is there a way to move up or down from what
is displayed as one line on the screen when "linebreak" is set to
another, i.e., within what Vim actually considers a line, i.e., text
between two <CR>s?
Try setting this in your .vimrc:
noremap <Up> gk
noremap k gk
noremap <Down> gj
noremap j gj
That remaps the j, k, and up/down arrows to the gk and gj commands,
which move you by screen lines.
Finally, can I specify a default font? If so, how do I determine what
fonts are available?
Go to the Edit menu, Fonts, and select your font. Once you find one you
like, while in Vim, type `:set guifont?` (not including the `). That
will print out the command in the appropriate syntax. Then, in your
.vimrc, include this statement with a 'set' in front, like so:
set guifont=Consolas:h14
For now I'm using MacVim for now, since it allows me to started a
little more quickly than I would be able to with regular Vim,
especially with file handling.
There's no problem with using MacVim. There's a script included with
it called 'mvim' that let's you fire up MacVim with a GUI from the
command line, or run it in console mode. Unless you need some specific
option compiled in that the default build of MacVim doesn't have, I
don't see why you'd run anything but MacVim on OS X.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php