Text-wrangling with Vim
This is the waiting queue slide. Hit space or right arrow key to jump to cover slide.
content
- Text editor demos
- Short history & intro to vim
- workshopping:
- Vim Adventures
- VIM Tutor
- VimGolf
What are we talking about?
Text editor demos
The origins of Vi
- ed : line editor (developed for teleprinters), 1973, Ken Thompson, AT&T Bell Labs
- one of first 3 key elements of Unix"
- cryptic ed commands only suitable for "immortals" (George Coulouris)
- em : "editor for mortals", based on ed code, 1976, George Coulouris
- en : Bill Joy and Chuck Haley, inspired by em
- ex : en extended, with added full-screen visual mode, Bill Joy 1976
h, j, k, l ...
for moving around, seriously?
what about arrow keys?
Source: Wikpedia [en]: vi (text editor), image by StuartBrady, CC-BY-SA
or check out this photo of a LSI-ADM3A keyboard
Who actually uses Vim nowadays?!?
- "In 2018, it was voted the most popular editor amongst Linux Journal readers."
- "In 2015, the Stack Overflow developer survey found it to be the third most popular text editor"
- "and, in 2019, the fifth most popular development environment."
- all according to Wikipedia [en]: Vim (text editor)
What about these modes?
![]()
Source: Wikipeda [en]: Vim (texteditor), image by harp, CC-BY-SA
- 14 modes (7 basic + 7 variants)
- most important, for starters:
- normal mode: the default mode accepting editor commands
- insert mode: editing content
VIM Tutor
Open up a terminal and type
vimtutor