Questions tagged [tabs]
Questions about the inserting/manipulating/displaying TAB characters in Emacs files. Do not use this tag for questions related to browser style "tabs".
98 questions
0 votes
0 answers
35 views
How to change nix-mode tab-width?
As title suggests I want to know how to change the tab spacing to 4 spaces with nix-mode (I know it's wrong but it's easier for me to read). Here is the two snippets regarding the issue, one is how I ...
2 votes
1 answer
127 views
Why does emacs whitespace-mode "skip" tab stops that are only one character away from the last character, diverging from terminals and other editors?
There seems to be a slight difference in how emacs, with whitespace-mode enabled, displays tabs compared to e.g. terminals: When a tab would lead to only one (visual) space being displayed before the ...
0 votes
1 answer
58 views
Cycle through tabs in recently used order
In Firefox one can enable the option to cycle through tabs in the order they were recently used. I'd like the same in Emacs, but all resources I found talk about cycling through buffers, which is not ...
1 vote
1 answer
423 views
What is the difference between a tab stop and a tab width?
Greetings lately I've been trying to learn Emacs and configure it as an IDE, so I started learning the basics, until I got to the segment of configuring indentations. I do understand that the term Tab ...
0 votes
1 answer
194 views
Why is emacs inserting 3-space tabs inside markdown file?
I have the following configuration for tabs: (setq-default indent-tabs-mode nil) (setq-default tab-width 4) This works inside code and text files, where hitting tab indeed gives me 4 spaces. However, ...
0 votes
2 answers
81 views
Using TAB to flip between two windows
I have set TAB to flip between two windows using:- (global-set-key (kbd "TAB") 'other-window) This works sometimes, but not always. How should I define it?
0 votes
0 answers
59 views
How to align source code section in both Org-src-edit-code, Org-mode, and exported PDF file?
How to configure emacs such that code (in this case :which-key) is aligned in both org-edit-src-code org-mode and exported PDF? I'm guessing this is somewhat related to tabs getting different amount ...
1 vote
0 answers
447 views
How to always use tabs when pressing the tab key?
I use an indentation sensitive language (imba) and I need to always use tabs. I'm using doom emacs and I'm also writing a wip major mode for Imba. But I press tab and it adds indentation using tabs (a ...