Praktische Aspekte der Informatik
Moritz Mühlhausen
- Prof. Marcus Magnor
https://graphics.tu-bs.de/teaching/ss19/padi/
Praktische Aspekte der Informatik Moritz Mhlhausen Prof. Marcus - - PowerPoint PPT Presentation
Praktische Aspekte der Informatik Moritz Mhlhausen Prof. Marcus Magnor https://graphics.tu-bs.de/teaching/ss19/padi/ Vim Exit command, basic vim commands, handling several files https://graphics.tu-bs.de/teaching/ss19/padi/ Further Reading
Moritz Mühlhausen
https://graphics.tu-bs.de/teaching/ss19/padi/
Exit command, basic vim commands, handling several files
https://graphics.tu-bs.de/teaching/ss19/padi/
Further Reading
https://vim.sourceforge.io/docs.php
https://graphics.tu-bs.de/teaching/ss19/padi/
Outline
https://graphics.tu-bs.de/teaching/ss19/padi/
What is Vim?
working
https://graphics.tu-bs.de/teaching/ss19/padi/
What is Vim? – Why?
*temp var1 0 *temp var2 "hi" *temp var3 -1 *temp var4 42 *temp var5 "asdf" *temp var6 0 Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place. *temp var1 0 *temp var2 "hi" *temp var3 -1 *temp var4 42 *temp var5 "asdf" *temp var6 0 *temp var7 11 Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." New text. This challenge is just a simple movement and entering text at a certain place.
22 Keystrokes only
https://graphics.tu-bs.de/teaching/ss19/padi/
How to exit Vim?
https://graphics.tu-bs.de/teaching/ss19/padi/
How to exit Vim?
https://graphics.tu-bs.de/teaching/ss19/padi/
How to exit Vim? – Vim Modi
Normal End Start Visual Command Insert
ZZ : z.B. i z.B. v <ESC> <ESC> <ESC> z.B. wq<ENTER>
https://graphics.tu-bs.de/teaching/ss19/padi/
Basic Vim Commands – Emergency Kit
https://graphics.tu-bs.de/teaching/ss19/padi/
Basic Vim Commands – Emergency Kit
https://graphics.tu-bs.de/teaching/ss19/padi/
Basic Vim Commands – Editing Faster
<Macrokey>
https://graphics.tu-bs.de/teaching/ss19/padi/
Basic Vim Commands – More Commands
https://graphics.tu-bs.de/teaching/ss19/padi/
Handling several Files
current one
left/bottom/top/right split
https://graphics.tu-bs.de/teaching/ss19/padi/
Configure your Vim
initialize Vim
https://graphics.tu-bs.de/teaching/ss19/padi/
A good start: vimtutor
https://graphics.tu-bs.de/teaching/ss19/padi/
More advanced techniques: Try VimGolf!
https://graphics.tu-bs.de/teaching/ss19/padi/
Church of Vim
Vim was originally an extensible text editor written by Bram Moolenaar, but it became a way of life and a religion. To join the Church of Vim, you need only pronounce the Confession of the Faith: http://www.avelino.xxx/2015/03/church-vim
There is no system but GNU, and Linux is one of its kernels.
https://graphics.tu-bs.de/teaching/ss19/padi/