editorconfig / editorconfig-vim

EditorConfig plugin for Vim
http://editorconfig.org
Other
3.14k stars 139 forks source link

Don't set tabstop in shell buffers (#224) #229

Closed cxw42 closed 1 year ago

cxw42 commented 1 year ago

:FZF opens a terminal in the same window as the current buffer, and setbufvar(tabstop) affects the cursor position in the current buffer as well as the cursor position in the terminal buffer.

To avoid that, don't set tabstop in terminal windows running shells.

Fixes #224 (at least by working around the issue)