mappings in vim nodes (was Re: why must emacs depend on sound packages?)
[Changed Subject as it no longer concerns emacs.]
On Wed, May 20, 2009 at 07:14:20PM -0400, Chris Jones wrote:
> I believe you would want to use the Ctrl-P & Ctrl-N mappings to navigate
> the "command-line mode" history in vim so as to be in sync' with the
> readline emacs defaults.
> In vim this can be achieved by adding:
> :cnoremap <C-P> <Up>
> :cnoremap <C-N> <Down>
> to one's .vimrc.
> The only thing is that when you issue for instance the ":set paste"
> command and need to retrieve later, with the arrow keys you can type
> ":set" and do an <up arrow> and vim will retrieve the "paste" part of
> the command and append to the ":set" that you typed.
> For some reason this does not appear to work when you remap <Up> to
> Ctrl-P.. the previous ommand command is retrieved in its entirety and
> whatever you typed beyond the ":" is ignored.
You could take this to firstname.lastname@example.org
Warning! warning!, (1) it is a high volume list (2) vim is also availabe
> Sorry about sloppy post earlier.. hope this benefits s/o on the list.
We both got our modes mixed up. :(
P.S. If you want to do a proper ellipsis (i.e … ), put this in your
------------------------ snip ---------
digraph ., 8230 " ellipsis (…)
--------------------------- snap ----------
Then in "insert mode" Ctrl-K .,
I contend that we are both atheists. I just believe in one fewer god
than you do. When you understand why you dismiss all the other
possible gods, you will understand why I dismiss yours.
-- Stephen F Roberts