Hi,
today I encountered very strange behavior in vim. When I open a python file some things are automatically setup p.ex. expandtab. If I open a second python file with :sp then I have different settings, p.ex. expandtab is not set, while filetype=python seems to be correct.
I removed .vim and stripped down my .vimrc to one line:
filetype plugin indent on
I also tried:
vim -u <your_simplified_vimrc> -i NONE -N --noplugin
I'm using vim version: 2:7.4.052-1ubuntu3
today I encountered very strange behavior in vim. When I open a python file some things are automatically setup p.ex. expandtab. If I open a second python file with :sp then I have different settings, p.ex. expandtab is not set, while filetype=python seems to be correct.
I removed .vim and stripped down my .vimrc to one line:
filetype plugin indent on
I also tried:
vim -u <your_simplified_vimrc> -i NONE -N --noplugin
I'm using vim version: 2:7.4.052-1ubuntu3
Knut
PS: I asked on SO before but the issue seems to be too vim specific.
http://stackoverflow.com/questions/30641300/filetype-is-set-differently-for-first-buffer-and-split-buffer
http://stackoverflow.com/questions/30641300/filetype-is-set-differently-for-first-buffer-and-split-buffer
--
You received this message from the "vim_dev" 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_dev" 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.
