Selecting text in vim in a terminal window without mouse support may be a bit difficult if it’s not something like 3 words or 2 lines. Visual mode to the rescue!
Kurt Keller's Blog
tech notes and more
Month: August 2014
How often have you written a script and then, during debugging, you found typos in variable names or function names?
Do you still remember QEdit? In my opinion one of the best editors for DOS. I was using QEdit a lot and later TSE, The SemWare Editor, an even more enhanced rewrite of QEdit. One of the feature I used a lot was a function to copy the character from the line above to the […]
In undo – redo I’ve described how to undo and redo changes in a file. By default, the undo stack is deleted when you close a file. However, this can be changed and also the size of the undo stack can be controlled.
When writing scripts, I prefer to have my comments aligned with the code. However, as I use smartindent, vim always moves me to the first column whenever I start a line with hash. Annoying.