Editors

vim

vim is built-in editor for Linux.

vim helloworld.txt

By default, you are in the command mode, the keys you pressed are all recognized as commands. Then press i to enter Insert mode, you can now type in texts. Press Esc to go back to command mode. Useful commands:

  • i: go to insert mode
  • :q: exit vim
  • :w: write to disk
  • :wq: write and exit
  • /hello: search for string hello
  • dd: delete this line

For more useful tricks, please go to: HotKeys, HotKeys_full

gedit

sublime

Sublime is a powerful editor with highlights for all languages and powerful hotkeys.

Visual Studio Code

results matching ""

    No results matching ""