4 ms·
The biggest error I have with pasting is that the pasted code uses spaces where I use tabs. They look like the same indent level but they are not. A good old
by yesimahuman 16y ago
The biggest error I have with pasting is that the pasted code uses spaces where I use tabs. They look like the same indent level but they are not.
A good old ggVG= solves that though in vim
- hasenj 16y agogg=G also works; one less character
- chunkbot 16y agoI use Emacs, and I can't remember the last time I manually indented a line of code. Most of my non-web programming is in Erlang, Lisp, and C. My editor does the indentation for me.
- Daishiman 16y ago:retab is your friend.
- jeberle 16y ago:set expandtab | retab