Questions tagged [tab-characters]

Question about how to handle white spaces tab characters with vim, insert them, remove them, convert them to space characters, etc...

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
259 views

tabs after pastetoggle instead of spaces

Using following .vimrc " Just to see tab/spaces/endline clearly: set encoding=utf-8 set list set listchars=tab:▸\ ,eol:¬ nnoremap <F5> :set list!<cr> " Tab to spaces settings set tabstop=...
1
vote
0answers
150 views

The tab adds 8 spaces even though `set tabstop?` returns 4

For some reasons when I'm editing my ~/.config/nvim/init.vim, it adds 8 spaces even though I set set tabstop=4 on the file. Actually, :verbose set tabstop returns 4, so it should be 4 spaces. I ...
1
vote
0answers
767 views

expandtab / noexpandtab toggles by itself in Neovim

I have this issue where noexpandtab turns itself on after a while. Tried to describe it here and in the Github Issue because I am not 100% sure this is a legit bug. For a long time, I have ...
0
votes
0answers
39 views

How to make tabs in vim work like they do in windows notepad

In notepad, whenever you hit tab, it will take up all the space up until the next "column". | | | | | # lets say these are the columns sdf f # Pressing "...
0
votes
0answers
26 views

How to prevent Smart-Tabs plugin from overriding youcompleteme tab completion

I've been looking for a solution to "tabs for indentation, spaces for alignment" and found that the Smart-tabs plugin does exactly what I want. However, when this plugin is active, it breaks the tab ...
0
votes
0answers
25 views

Printed <tab> on pressing the tab key

It's not easy to articulate the question, as I touched something I don't understand. I am using a vim extension of VS-CODE. I pressed something, that turned my next pressed key, into a literal, ...