Last active
August 22, 2022 11:14
-
-
Save cchwala/24dbd76e25542dfb723bac13215360c6 to your computer and use it in GitHub Desktop.
Revisions
-
cchwala revised this gist
Aug 22, 2022 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,10 @@ Most important navigation (besides hjkl) * `Ctrl-e` and `Ctrl-y` to scroll up and down, keeping the cursor at its position * `Ctrl-o` to jump back to the previous (older) location, `Ctrl-i` for opposite direction Jumps * ctrl+o * ctrl+i to go forward (once you've gone backward, of course) Splits etc * Jump beween split screens `Ctrl-W Ctrl-W` * Rotate splits `Ctrl-W r` -
cchwala revised this gist
Sep 2, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Most important navigation (besides hjkl) * `H` (high), `M` (middle), `L` (low) for cursor placement * `zz` to center cursor in middle of screen, `zt` and `zb` for top and bottom * `Ctrl-e` and `Ctrl-y` to scroll up and down, keeping the cursor at its position * `Ctrl-o` to jump back to the previous (older) location, `Ctrl-i` for opposite direction Splits etc * Jump beween split screens `Ctrl-W Ctrl-W` -
cchwala revised this gist
Aug 27, 2021 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,8 +6,9 @@ Most important navigation (besides hjkl) * `zz` to center cursor in middle of screen, `zt` and `zb` for top and bottom * `Ctrl-e` and `Ctrl-y` to scroll up and down, keeping the cursor at its position Splits etc * Jump beween split screens `Ctrl-W Ctrl-W` * Rotate splits `Ctrl-W r` Comment code block (source https://stackoverflow.com/a/1676690/356463) 1. Ctrl-V (visual block mode) -
cchwala revised this gist
Aug 26, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,8 @@ Most important navigation (besides hjkl) * Jump to character in a line using `f` or `t` (to go to the position one before the searched char) * Change text up to the searched char, e.g. `cf` and the char you are looking for. * `H` (high), `M` (middle), `L` (low) for cursor placement * `zz` to center cursor in middle of screen, `zt` and `zb` for top and bottom * `Ctrl-e` and `Ctrl-y` to scroll up and down, keeping the cursor at its position Jump beween split screens `Ctrl-W Ctrl-W` -
cchwala revised this gist
Aug 19, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,3 +18,5 @@ Uncomment 2. Select 3. Press `x` Useful links https://vim.fandom.com/wiki/Moving_around -
cchwala revised this gist
Aug 18, 2021 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,9 @@ Most important navigation (besides hjkl) * `b` (back a word), `e` (end of word), `ge` (back to end of word) * Jump to character in a line using `f` or `t` (to go to the position one before the searched char) * Change text up to the searched char, e.g. `cf` and the char you are looking for. * `H` (high), `M` (middle), `L` (low) for cursor placement Jump beween split screens `Ctrl-W Ctrl-W` -
cchwala revised this gist
Aug 14, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ Jump beween split screens `Ctrl-W Ctrl-W` Comment code block (source https://stackoverflow.com/a/1676690/356463) 1. Ctrl-V (visual block mode) -
cchwala created this gist
Aug 14, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ Comment code block (source https://stackoverflow.com/a/1676690/356463) 1. Ctrl-V (visual block mode) 2. Select 3. Press `#` 4. Esc and wait some 100ms Uncomment 1. Ctrl-V 2. Select 3. Press `x`