Vim
- Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set.
- How To Install Vim on Ubuntu
- How To Show or Hide Line Numbers In vi / vim Text Editor
TutorialsEdit
- Getting started with Vim: The basics
- Classic SysAdmin: Vim 101: A Beginner’s Guide to Vim
- How to Use Vim: A Guide to the Basics
- Getting Started with Vim Editor in Linux
TipsEdit
Select the lines in file-1 :w >> file-2 '<,'>w >> b | '<,'> d
3dd - Delete (cut) three lines, starting from the line where the cursor is positioned. 3yy - Yank (copy) three lines, starting from the line where the cursor is positioned. press p to put (paste) the text after the cursor or P to put (paste) before the cursor.