-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pressing tab should insert a tab #3
Comments
@swo interesting. I don't appear to use I don't know what Maybe I could try your solution and see if it breaks anything for me. |
Interesting. I've always set `softtabstop`, but now that I read more about
it, it looks like it's best to just avoid setting it. `expandtab` does all
the work I want it to. Happy to close this.
…On Wed, Mar 6, 2019 at 5:50 PM Philip Durbin ***@***.***> wrote:
@swo <https://github.com/swo> interesting. I don't appear to use
softtabstop in my .vimrc:
https://github.com/pdurbin/dotfiles/blob/daf7fd6b112c1c82f7d9685bedf174627e23f487/.vimrc
I don't know what softtabstop is for but I'm reading about it at
https://vi.stackexchange.com/questions/4244/what-is-softtabstop-used-for
Maybe I could try your solution and see if it breaks anything for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACbmk4TO0RM9HTSRYJQ3mifWcgseCz3Aks5vUEYqgaJpZM4bhph9>
.
|
@swo if not using |
My .vimrc sets softtabstop=8, while vim-tsv sets tabstop=20. So if I open a .tsv file and press tab, I actually get some number of spaces rather than a literal tab.
I think the solution is as easy as adding
set softtabstop=20
toftplugin/tsv.vim
. As per #1 , it might be nice if there is a way to set both softtabstop and tabstop at the same time if you do need to expand the visual column width while editing a particular tsv.The text was updated successfully, but these errors were encountered: