Hello,
I am editing a *.rb (ruby) buffer.
Then I open a command line history window with q: , search for a
command and execute it.
The command line window closes and vim is back in the *.rb buffer.
Problem: my settings for ruby are now still overwritten with my settings
for vim.
I have settings in my _vimrc for entering and leaving ruby and vim files
like this:
...
autocmd FileType vim so $HOME/vimstuff/mymacs/vimenter.vim
autocmd FileType ruby so $HOME/vimstuff/mymacs/rubyenter.vim
autocmd BufEnter,BufRead,WinEnter *.rb so
$HOME/vimstuff/mymacs/rubyenter.vim
...
Normally setting the ruby and vim settings work.
It seems that in this special case (using q:) the vim settings are set
because of probably the command line window is of f vim;
but the ruby settings are not sourced again when going back to the ruby
file.
Any ideas how I can get my ruby settings back; or can debug it?
Thank You
Joachim
--
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