GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — screencasts/vimTutorial at gh-pages · nitinksoni/screencasts

Expand file tree

/

vimTutorial

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

vimTutorial

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 

README.md

Resources from a tutorial given by Curran Kelleher at UMass Lowell on 2/21/2014 as part of the Computing II C programming lab.

Vim and Unix Commands Reference

Vim and Unix Commands:

  • ls - list files
  • mkdir - makes a directory
  • cd - changes directory
  • pwd - present working directory
  • cd .. or cd ../ - navigate to parent
  • wget - fetches the content of a URL
  • clear - clears the console
  • up arrow - previous commands
  • ls -l - ls with details
  • make - run the Makefile
  • vim - open file
  • :q - close vim
  • hjkl - move 1 character
  • CTRL+d - move down by half a page
  • CTRL+u - move up by half a page
  • gg - go to the top of the file
  • G - go to the bottom of the file
  • ! - run shell command
  • / - search
  • n - "next" search result
  • i - insert mode
  • ESC - go back to normal mode
  • v - visual mode
  • V - visual line mode
  • < - unindent
  • > - indent
  • u - undo
  • y - yank (copy)
  • p - paste
  • dd - delete line
  • d - deletes selection
  • x - deletes one character
  • J - join lines
  • r - replace character
  • :w - save
  • :wq - save and close
  • :sp - split window
  • :vs - split window vertical
  • CTRL-w j - go down a window
  • CTRL-w k - go up a window
  • CTRL-w l - go left a window
  • CTRL-w h - go left a window
  • $ - go to line end
  • 0 - go to beginning of line
  • :wa - write all files
  • % - match curly brace or paren
  • :r ! - execute a shell command and read the content into the file
  • :r !ls - read ls into the file
  • :%/s/A/B/g - replace all occurences of A with B
  • qq - record macro at 'q'
  • @q - play back macro at 'q'
  • @@ - play previous macro
  • 118G - go to line 118
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.