Skip to content

Latest commit

 

History

History
109 lines (65 loc) · 1.5 KB

10-vim_basics.md

File metadata and controls

109 lines (65 loc) · 1.5 KB

notes: | FINISHED ...

Vim

What Vim Is And Isn't

{ height=230px }

{ height=230px }

Vim is an editor

  • Extremely powerful
  • Unlike anything you've ever used

Configurability

Themes

Vimscript

  • Remap keys
  • Write whole plugins!

Modal Editing

Vim Modes

  • Insert Mode
  • Visual Mode
  • Command-Line Mode
  • Normal Mode

Insert Mode

  • Does what any other editor does

Visual Mode

  • Selecting text

Command-Line Mode

  • Execute built-in vim commands
  • Execute any shell command!

Normal Mode

  • Wizardry and hjkl

![](resources/10vim/ADM-3A terminal.jpg){ width=50% }

{ width=80% }

Learning Vim

How To "Grok" Vim

Some basic vim terminology

  • Verbs
  • Motions
  • Objects

Vimtutor

Productivity Tips

  • Unmap the arrow keys.
  • Learn something new from time to time.
  • Actively try to improve your editing.
  • Watch some talks online: "Write Code Faster: Expert-Level Vim"
  • Book: Practical Vim
  • Youtube: Thoughtbot
  • http://vimcasts.org

Plugins

Vim Is not an IDE

  • But it can be. (Almost)

NERDTree

{ height=230px }

Some more: