4 ms·
For config file editing, nano is great. Vim's 'return me to the last location in this file'[0], however, is great when repeatedly editing large config files i
by tarkin2 6y ago
For config file editing, nano is great.
Vim's 'return me to the last location in this file'[0], however, is great when repeatedly editing large config files in this same place.
Nano should try to implement it, if it hasn't already.
[0] https://stackoverflow.com/questions/8854371/vim-how-to-restore-the-cursors-logical-and-physical-positions https://stackoverflow.com/questions/8854371/vim-how-to-resto...
- throwdbaaway 6y agoThat would be: ## Remember the cursor position in each file for the next editing session. set positionlog The flag was there since 2011, but I only started to enable it a few months ago. Pretty nifty feature, although it took me some time to get used to the new flow.