Saturday, December 18, 2010

Make vim recognize my bashrc aliases

csupport plugin is awesome!


I have one issue with VIM, trying to make it recognize my bashrc aliases.

ie:
:!indent ./foo.c

From what I've read, the cause is Bash starting in non-interactive mode.


So I've modified $HOME/.vimrc:
shell=bash
shellcmdflags=-ic


Also note, I must specify "-ic", as not even "-i\ -c" will work from within
VIM.


Is this the proper solution?

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