sometimes a cigar is just a cigar
Header image

The best text editor: Vim

Posted by ALonon in Linux

Vim is the best text editor, i have ever used.  I’m using vim while coding with pyton,html and css.

How to install vim

sudo apt-get install vim vim-common vim-gnome

Usage and some features

You can open a file with using: vi open_me.txt

  1. Command mode: letters or sequence of letters interactively command vi. Commands are case sensitive. The ESC key can end a command.
  2. Insert mode: Text is inserted. The ESC key ends insert mode and returns you to command mode. One can enter insert mode with the “i” (insert), “a” (insert after), “A” (insert at end of line), “o” (open new line after current line) or “O” (Open line above current line) commands.
  3. Command line mode: One enters this mode by typing “:” which puts the command line entry at the foot of the screen.

there are some usefull commands, i took the image from “Learning the vi and Vim Editors” books. You can look over if  you want.

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

One Response



Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>