[Bug 1576583] Re: vim paste option bracks expandtab option
This is not a bug, but the defined behavior of the 'paste' setting. > When the 'paste' option is switched on (also when it was already on): > - 'expandtab' is reset ** Changed in: vim (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576583 Title: vim paste option bracks expandtab option To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1576583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1576583] Re: vim paste option bracks expandtab option
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: vim (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576583 Title: vim paste option bracks expandtab option To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1576583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1576583] Re: vim paste option bracks expandtab option
You can test this without a .vimrc :set expandtab Leading tabs get converted to spaces. :set all shows expantab. :set paste Leading tabs no longer get converted to tabs. :set all shows "noexpandtab" The converse is not true though, setting expandtab does not affect the setting of paste. If you put set paste near the top of the vimrc it should work as expected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576583 Title: vim paste option bracks expandtab option To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1576583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs