How can I change all instances of three or more consecutive white spaces with tabs in a file in linux?
I am using notepad++ and I want to do a find & replace operation.
4 number of spaces means 1 tab
6 number of spaces means 2 tabs etc.
In my file all the spaces are in the beginning of each line.
I don't want to use tabs for indent, so I add (setq-default indent-tabs-mode nil) in my emacs init file.
With the setting indents are created by spaces in web-mode, but it doesn't change already existing tabs to spaces.
Is there a config like overwrite-tab-indent-by-space-indent?
Or must I replace tabs to spaces by command every time I encounter tab-indented HTML?