What if you have a shortcut which when pressed will add "= wordbeforecursor" so if you have typed "variable" pressing shortcut will convert it to "variable=variable" and here you can
add anything, like "+1" , "-1", " +5 " etc. ? So, it's the same number of characters typed and more functionality ?
add anything, like "+1" , "-1", " +5 " etc. ? So, it's the same number of characters typed and more functionality ?
That's a good idea. I've been thinking about it. Instead of pressing "=" you can press "Ctrl=" and it adds the equals sign and also copies the preceding variable. That's simple enough to use. But of course I'd like ++ and -- to work also :P