September 30

I just got an article on the 100 vim commands read that every programmer should know.
The vim (Vi IMproved) I've been here on the blog once briefly .

In reviewing the list of 100 best vim commands, I have once again learned a lot about these consoles editor, but also well-known old and cherished features discovered. My absolute favorites are:

  • : To turn syntax on syntax highlighting (syntax highlighting)
  • the commands to indent code
    : Set autoindent Indent turn
    : Set switch on smart indent smart indenting
    : Set shiftwidth = 4 Set of 4 spaces as Einrückgröße
    ctrl-t, ctrl-d A / disengagement of the insert mode
    Engagement in the command mode >>
    Disengagement in the command mode <<
  • Interacting with Unix
    : Run the pwd "pwd" unix command and then return to vim
    ! Run the pwd "pwd" unix command and insert the output into the file
    Sh temporary trip to the Unix Shell
  • :% S / old / new / g replace "old" with "new" in the entire file

What are editors for the console you use? And if vim is, on what commands could not do without her?

gklinkmann written by \ \ tags: , , ,

Add a comment

Yes, I would like to be notified about comments!