Saturday, April 28, 2012

Re: how to send command back to the command line after typing 'v' from linux command line in set -o vi mode?

On Saturday, April 28, 2012 7:00:43 AM UTC+12, pixelterra wrote:
> Actually, I was wrong, this doesn't work. Sorry for the confusion. Any other options?

It should. Have you got any of VISUAL, EDITOR or FCEDIT set? (A pitfall is to set one of these to just "gvim", which won't work, "gvim -f" is needed.) Is TMPDIR set?

Does vim open in your terminal window? What file is it using? (mine uses /tmp/bash-fc-nnnnnnnnnnn where nnnnnnnnnnn appears to be generated randomly).

You might try setting EDITOR="vim -u NONE" to eliminate the possibility of a .vimrc or plugin interfering.

Regards, John

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

No comments: