Top 11 vi tips and tricks

The vi editor is one of the most popular text editors on Unix and Unix-like systems, such as Linux. Whether you’re new to vi or just looking for a refresher, these 11 tips will enhance how you use it.

Editing

Editing a long script can be tedious, especially when you need to edit a line so far down that it would take hours to scroll to it. Here’s a faster way.

  1. The command :set number numbers each line down the left side.

read more

Powered by WPeMatico