2
votes
2answers
217 views

In Notepad++, when i close a file and reopen it, 4 space tabs turn into 2 spaces. How can i fix this?

This happens all the time. It screws up my formatting... If i make a tab 2 times (8 spaces) it will turn to one tab (4 spaces) and 1 tab turns to 2 spaces etc. Does anyone know how to fix this?
0
votes
2answers
406 views

Creating and removing tabs in vim

How can I add and remove tabs in normal mode in vim? Also, how can I add and remove tabs in visual mode (like selecting a code block in a regular editor and hitting tab or shift tab?