finished movement commands
This commit is contained in:
parent
f4575bf71a
commit
1df5856100
1 changed files with 39 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
|||
- [[https://www.youtube.com/playlist?list=PLyzOVJj3bHQuloKGG59rS43e29ro7I57J][Playlist: Missing Semester]]
|
||||
- [[https://missing.csail.mit.edu/2020/editors/][class notes]]
|
||||
|
||||
- Curr: https://youtu.be/a6Q8Na575qc?si=p3AFH1zvGbeCxEvF&t=36
|
||||
- Curr: https://youtu.be/a6Q8Na575qc?si=IR9jEpmHq7_03nMT&t=1548
|
||||
|
||||
|
||||
*** timestamps
|
||||
|
|
@ -23,7 +23,8 @@
|
|||
+ [[https://youtu.be/a6Q8Na575qc?si=qzD5HiycrEhplKeQ&t=285][04:45 - modal editor]]
|
||||
+ [[https://youtu.be/a6Q8Na575qc?si=ra-MbPQpbKzAcJnP&t=571][09:30 - opening vim]]
|
||||
+ [[https://youtu.be/a6Q8Na575qc?si=OyhOfX2ft9w7O9kM&t=1020][17:00 - buffers vs windows]]
|
||||
+ [[https://youtu.be/a6Q8Na575qc?si=gaek6N0DJo57AwKn&t=1407][23:25 - movement keys]]
|
||||
+ [[https://youtu.be/a6Q8Na575qc?si=gyYNZk4_XiXVk_4a&t=1217][20:17 - movement keys]]
|
||||
+ [[https://youtu.be/a6Q8Na575qc?si=QysgH5bMEG0bigKq&t=1530][25:30 - editing commands]] *current*
|
||||
+ [[https://youtu.be/a6Q8Na575qc?si=_gbAQlOZ_irCdHt6&t=1797][29:54 - questions]]
|
||||
+ [[https://youtu.be/a6Q8Na575qc?si=4VwNEC040Jna5znz&t=2254][37:33 - demo]]
|
||||
+ [[https://youtu.be/a6Q8Na575qc?si=0qDOcyT0WX1U4RXB&t=2682][44:42 - vim configuration]]
|
||||
|
|
@ -53,3 +54,39 @@
|
|||
- entered via ':'
|
||||
|
||||
** buffers vs windows
|
||||
- vim maintains a set of open buffers
|
||||
- any buffer can be open in 0 or more windows at any time
|
||||
- you can have tabs, and tabs can contain windows
|
||||
|
||||
*** quiting
|
||||
- :q only closes the current WINDOW, not buffer
|
||||
- :q exits when there are no more windows open
|
||||
- :qa is "quit all" and closes all windows
|
||||
|
||||
** movement
|
||||
- hjkl
|
||||
- w/b forward and backward by one word
|
||||
- e end of word
|
||||
- 0/$ beginning and end of line
|
||||
- ^ first non empty character on a line
|
||||
|
||||
*** scrolling up and down
|
||||
- C+U move up
|
||||
- C+D move down
|
||||
|
||||
*** move by buffer
|
||||
- G moves to end of buffer
|
||||
- gg move to top of buffer
|
||||
|
||||
*** move by screen
|
||||
- L moves to lowest line on screen
|
||||
- M moves to middle line on screen
|
||||
- H moves to the highest on screen
|
||||
|
||||
*** move by find
|
||||
- f <letter> will move to the first letter forward
|
||||
- F <letter> backwards
|
||||
- t <letter> moves to just before the letter
|
||||
- T <letter> moves backwards to in front of the letter
|
||||
|
||||
** editing commands
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue