editorconfig / editorconfig-vim

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

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

Closed cxw42 closed 7 months ago

cxw42 commented 7 months 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)