6 ms·
I notice it mentions Ctrl-a and Ctrl-x which "increment or decrement any number after the cursor on the same line". I hate these shortcuts because several times
by koningrobot 4y ago
I notice it mentions Ctrl-a and Ctrl-x which "increment or decrement any number after the cursor on the same line". I hate these shortcuts because several times I've accidentally pressed them (e.g. on some level thinking I'm in Spacemacs or in readline) and introduced a hard-to-find bug into my code without knowing it.
- quesera 4y agoAgreed. I love vi, but this is almost always an anti-feature. To disable, add these lines to .vimrc: map <C-a> <Nop> map <C-x> <Nop>
- civopsec 4y agoWon’t you spot that through you source control?
- srik 4y agoShows how crucial customizability is because I don't think I can work without being being able to rely on <c-a/x>, and more importantly g<c-a/x>.
- jcul 4y agoThey can be quite useful, but I just stopped using them due to muscle memory of Ctrl-a for screen / tmux.