On Sat, Jun 06, 2015, Paul wrote:
> On Thursday, June 4, 2015 at 2:31:24 AM UTC-4, Sonny Chee wrote:
> > Hey Guys,
> > 
> > Is it possible to source .vimrc so that the mappings and settings
> > within are available for command line editing in the shell?
> 
> I don't find that my vimrc settings take effect when using vi editing
> mode in readline.  However, I can use the fc commad to switch into
> full fledged vim.  Googling hasn't clarified whether it is built-in to
> bash or a separate command (there's info indicating both cases).  In
> Cygwin, it seems to be a separate executable, so not part of bash.

You can tell for sure what kind of command fc is with

    type fc

in the shell. For me it outputs "fc is a shell builtin". There's a
shortcut, though: hitting Ctrl-X Ctrl-E on any line will bring up an
editor for that particular line, like fc does. I think it also uses the
same environment variables as fc does to determine which editor to
launch.

-- 
        Eric Christopherson

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to