Matt Fiddles

Life's so vast, there's just so much to do...

User Tools

Site Tools


Sidebar

BOOK What to do if you find yourself stuck in a crack in the ground underneath a giant boulder you can't move, with no hope of rescue. Consider how lucky you are that life has been good to you so far. Alternatively, if life hasn't been good to you so far, which given your current circumstances seems more likely, consider how lucky you are that it won't be troubling you much longer.

- Comforting advice for Ford and Arthur in this current situation, Fit the Eighth.



Where will you go today?

"Arthur felt at a bit of a loss. There was a whole Galaxy of stuff out there for him, and he wondered if it was churlish of him to complain to himself that it lacked just
two things: the world he was born on and the woman he loved. "
computers:text-editors

Text Editors

vi

Quick reference: 1)

  • i → Change to input (edit) mode
  • Esc → Change to command mode (save, move, delete, etc)
    • x → Delete character
    • u → Undo
    • dw → Delete word
    • dd → Delete line
    • Move cursor
      • l → right
      • k → up
      • j → down
      • h → left
    • Control+f → Scroll down one page
    • Control+b → Scroll up one page
    • w → Move forward one word at a time
    • b → Move backward a word at a time
    • $ → Move to the end of the line
    • 0 → Move to the beginning of the line
    • H → Move to the top line of the screen
    • L → Move to the last line of the screen
    • G → Move to the last line of the file
    • ZZ → Exit and Save a file
    • :w → Save a file
    • :q → Save and Exit
    • :q! → Discard file changes and quit
1)
For more info on vi see How to Use vi and How to Use the vi Editor
computers/text-editors.txt · Last modified: Dec 5, 2013 (5 years ago) by Matt Bagley