|
|
@ -39,10 +39,12 @@ |
|
|
|
\end{frame} |
|
|
|
|
|
|
|
\begin{frame}{Memes} |
|
|
|
% https://img.devrant.io/devrant/rant/r_170390_1mBnJ.jpg |
|
|
|
\includegraphics[height=5cm]{img/vim-luck-brian.jpg} |
|
|
|
%https://www.barbarianmeetscoding.com/images/one-does-not-simply-learn-vim.jpg |
|
|
|
\includegraphics[height=5cm]{img/one-does-not-simply-learn-vim.jpg} |
|
|
|
\begin{center} |
|
|
|
% https://img.devrant.io/devrant/rant/r_170390_1mBnJ.jpg |
|
|
|
\includegraphics[height=5cm]{img/vim-luck-brian.jpg} |
|
|
|
%https://www.barbarianmeetscoding.com/images/one-does-not-simply-learn-vim.jpg |
|
|
|
\includegraphics[height=5cm]{img/one-does-not-simply-learn-vim.jpg} |
|
|
|
\end{center} |
|
|
|
\end{frame} |
|
|
|
|
|
|
|
\begin{frame}{Memes} |
|
|
@ -109,4 +111,86 @@ |
|
|
|
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape' |
|
|
|
\end{minted} |
|
|
|
\end{frame} |
|
|
|
|
|
|
|
\begin{frame}{Bewegung im Normal Mode} |
|
|
|
Der Cursor wird nicht mit den Pfeiltasten bewegt, sondern: |
|
|
|
\begin{tabular}{rl} |
|
|
|
\kbd{h} & Nach links \\ |
|
|
|
\kbd{j} & Nach unten \\ |
|
|
|
\kbd{k} & Nach oben \\ |
|
|
|
\kbd{l} & Nach rechts |
|
|
|
\end{tabular} |
|
|
|
\end{frame} |
|
|
|
|
|
|
|
\begin{frame}{Herkunft der hjkl-Tasten} |
|
|
|
% http://vintagecomputer.ca/wp-content/uploads/2015/01/LSI-ADM3A-full-keyboard.jpg |
|
|
|
\begin{center} |
|
|
|
\includegraphics[width=0.9\textwidth]{img/adm3a.jpg} |
|
|
|
\end{center} |
|
|
|
\end{frame} |
|
|
|
|
|
|
|
\begin{frame}{Homerow} |
|
|
|
% https://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/QWERTY-home-keys-position.svg/1280px-QWERTY-home-keys-position.svg.png |
|
|
|
\begin{center} |
|
|
|
\includegraphics[width=0.9\textwidth]{img/homerow.png} |
|
|
|
\end{center} |
|
|
|
\end{frame} |
|
|
|
|
|
|
|
\begin{frame}{Text Objects --- Bewegung} |
|
|
|
Dateiinhalt wird nicht als Abfolge einzelner Zeichen betrachtet, sondern |
|
|
|
als \enquote{Wörter}: |
|
|
|
\begin{table}[h] |
|
|
|
\begin{tabular}{rl} |
|
|
|
\kbd{w}/\kbd{W} & Anfang eines Wortes/WORTES \\ |
|
|
|
\kbd{e}/\kbd{E} & Ende eines Wortes/WORTES \\ |
|
|
|
\kbd{b}/\kbd{B} & Vorheriges Wort/WORT |
|
|
|
\end{tabular} |
|
|
|
\end{table} |
|
|
|
\end{frame} |
|
|
|
|
|
|
|
\begin{frame}{Vim-Spiel} |
|
|
|
\url{https://vim-adventures.com/} |
|
|
|
\end{frame} |
|
|
|
|
|
|
|
\begin{frame}{Text Objects --- Selektion} |
|
|
|
% cheatsheet http://i.imgur.com/YLInLlY.png |
|
|
|
Operatoren: |
|
|
|
\begin{table}[h] |
|
|
|
\centering |
|
|
|
\begin{tabular}{rl} |
|
|
|
\kbd{d} & Löschen (delete) \\ |
|
|
|
\kbd{y} & Kopieren (yank) \\ |
|
|
|
\kbd{c} & Ändern (change) \\ |
|
|
|
\kbd{v} & Markieren (visual) |
|
|
|
\end{tabular} |
|
|
|
\end{table} |
|
|
|
|
|
|
|
Modifikatoren: |
|
|
|
\begin{table}[h] |
|
|
|
\centering |
|
|
|
\begin{tabular}{rl} |
|
|
|
\kbd{a} & Alles, mit Leerzeichen (all) \\ |
|
|
|
\kbd{i} & Inhalt, ohne Leerzeichen (inner) \\ |
|
|
|
\end{tabular} |
|
|
|
\end{table} |
|
|
|
|
|
|
|
Bewegung (motion): |
|
|
|
\begin{table}[h] |
|
|
|
\centering |
|
|
|
\begin{tabular}{rl} |
|
|
|
\kbd{w}/\kbd{W} & Wort (ohne Satzzeichen)/WORT (mit Satzzeichen)\\ |
|
|
|
\kbd{s} & Satz \\ |
|
|
|
%\kdb{(} & Geklammerter Block |
|
|
|
\end{tabular} |
|
|
|
\end{table} |
|
|
|
\end{frame} |
|
|
|
|
|
|
|
\begin{frame}[fragile]{Text Objects --- Selektion --- Beispiele} |
|
|
|
\begin{itemize} |
|
|
|
\item \kbd{c}\kbd{a}\kbd{w}: change all word |
|
|
|
\item \kbd{c}\kbd{a}\kbd{W}: change all WORD |
|
|
|
\item \kbd{d}\kbd{i}\kbd{\}}: delete in \verb|{}| |
|
|
|
\item \kbd{v}\kbd{a}\kbd{)}: visual all \verb|()| |
|
|
|
\end{itemize} |
|
|
|
\end{frame} |
|
|
|
\end{document} |