Thursday, April 26, 2018

Re: I'd emulate Ctrl-Space keypress and CLI with Esc using map

It surprises me that your Vim apparently doesn't know about Ctrl-\
Ctrl-G. Which Vim version is that? (Vim 8.0 was released 12-Sep-2016,
and the latest patchlevel is 8.0.1765 as of this writing.) To compile
your own Vim on Unix/Linux, see
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm and some of
the pages linked from there. If you install your own-compiled Vim
under its default /usr/local/ directory, it will normally live happily
together in the Vim version(s) from your distro, and it will be
earlier in the $PATH.

To change from Insert mode to Normal mode for just one command (which
may be several keys e.g. 3j to go 3 lines down, or even a whole
ex-command from : to <CR>) there is also CTRL-O, see :help i_CTRL-O
(IIRC that one existed already in Vim 6 and probably before, if the
latest Vim on RedHat/Fedora doesn't know about it it might be time to
switch to another distro.)

vim-minimal is (as its name says) a minimal Vim, usually a Tiny build;
it may be packaged under the executable name "vi" and it hasn't got
all the bells and whistles in even a "normal" Vim. vim-enhanced or
even vim-gui (or all three, IIRC they can be installed together) are
usually better choices for the "serious" Vim user.

Best regards,
Tony.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment