Add current date and time in vim
Last few days I was quite busy. So this time very quick tip π
Add the following to the ~/.vimrc file
imap dt :r! dateA
And now whenever you type dt in the insert mode in vi, date will be inserted.
Related Articles:
- 2009/11/19 Multiple search in vim
- 2009/11/05 Linux xdg-open β replacement for start in windows
- 2009/11/04 Photo Resizing
- 2009/11/03 Citibank Doesn\βt Want Your Business, Linux Users
- 2009/10/30 Using autologin for ftp sessions.
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.