How to use a tab of width 8?


#1

New Kak user here. Please forgive if this question is very trivial but I cannot seem to get my tabs to be of width 8. And also how can I get autoindenting?


#2

8 spaces or one tab character?


#3

8 spaces is set global indentwidth 4
A real tab is set global indentwidth 0

You can also set window instead of global.


#4

Also, I think all the answers you could need are here :



#5

I want to kakoune to put a \t but display 8 spaces.


#6

you have 2 options one is indentation width in spaces, the other is amount of spaces in tab character: indentwidth and tabstop. If you want your tab to be 8 spaces you need to set tabstop to 8. You can’t put \t and display spaces, but you can display \t the same size as 8 spaces