Finding my editor vim,nano,learned
Every professional developer is expected to know both — this document covers Vim, and the next covers Nano alongside a direct comparison of the two. 2. Checking Installation Before using Vim, confirm that it's installed on your system: vim --version If this produces output showing a version number, Vim is installed and ready to use. If you instead see a “command not found” error, install it with: sudo apt install vimNano is an excellent choice for quick edits, configuration file changes, and any situation where you need to make a fast change without the overhead of Vim's modal system. 2. Opening and Creating Files with Nano nano filename.txt The Nano interface opens immediately, with the file name displayed at the top and a row of available commands along the bottom. The ^ symbol you'll see there represents the Control key (Ctrl) — so ^O means Ctrl + O. 3. Typing and Navigating In Nano, you type immediately — there is no mode switching required at all. Use the arrow keys to move around within the file; Nano also supports Home, End, Page Up, and Page Down for faster navigation across longer files. 4. Saving in Nano Nano calls saving “Write Out.” To trigger it.
