Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
home_server:home_server_setup:other_services:vim [2023-08-26 Sat wk34 11:18] – [Moving around in the file] baumkp | home_server:home_server_setup:other_services:vim [2024-03-24 Sun wk12 10:37] – [Moving around in the file] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
=====VIM Customisation===== | =====VIM Customisation===== | ||
Line 59: | Line 59: | ||
| h or Left Arrow | Left one character | | h or Left Arrow | Left one character | ||
| l or Right Arrow | Right one character | | l or Right Arrow | Right one character | ||
- | | Ctrl + b | Move back one full screen | + | | Ctrl + b | Move back one full screen |
- | | Ctrl + f | Move forward one full screen | + | | Ctrl + f | Move forward one full screen |
- | | Ctrl + d | Move forward 1/2 a screen | + | | Ctrl + d | Move forward 1/2 a screen |
- | | Ctrl + u | Move back 1/2 a screen | + | | Ctrl + u | Move back 1/2 a screen |
- | | Ctrl + e | Move screen down one line (without moving cursor) | + | | Ctrl + e | Move screen down one line (without moving cursor) |
- | | Ctrl + y | Move screen up one line (without moving cursor) | + | | Ctrl + y | Move screen up one line (without moving cursor) |
- | | Ctrl + o | Move backward through the jump history | + | | Ctrl + o | Move backward through the jump history |
- | | Ctrl + i | Move forward through the jump history | + | | Ctrl + i | Move forward through the jump history |
+ | | gg | Move to top of file | | ||
+ | | shift_g | move to end of file | | ||
| w | Move to next word | | | w | Move to next word | | ||
| W | Move to next blank delimited word | | | W | Move to next blank delimited word | | ||
Line 168: | Line 170: | ||
| %%!}fmt%% | | %%!}fmt%% | ||
| %%5!!fmt%% | | %%5!!fmt%% | ||
- | =====Undo | + | =====Undo, redo and report===== |
^ Vim Command | ^ Vim Command | ||
- | | u | Undo the last action. | | + | | u | Undo the last action |
- | | U | Undo all the latest changes that were made to the current line. | | + | | U | Undo all the latest changes that were made to the current line | |
- | | Ctrl + r | Redo. | | + | | Ctrl + r | Redo | |
+ | | | ||
=====Search===== | =====Search===== | ||
^ Vim Command | ^ Vim Command | ||
Line 355: | Line 358: | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
+ | *[[https:// | ||
+ | *[[https:// | ||
====Requires More Research==== | ====Requires More Research==== | ||
These links should be explored to see what additional information could be gathered for this cheat sheet. | These links should be explored to see what additional information could be gathered for this cheat sheet. | ||
*[[https:// | *[[https:// | ||
- | *[[http:// | ||
*[[http:// | *[[http:// | ||
*[[http:// | *[[http:// | ||
*[[http:// | *[[http:// | ||
- | *[[http:// | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
- | *[[http:// | ||
*[[http:// | *[[http:// | ||
- | *[[http:// | ||
- | *[[https:// | ||
- | | ||
*[[http:// | *[[http:// | ||
- | *[[http:// | ||
*[[http:// | *[[http:// | ||
- | *[[http:// | ||
*[[http:// | *[[http:// | ||
*[[http:// | *[[http:// | ||
*[[https:// | *[[https:// | ||
- | *[[https:// | + | *[[https:// |
---- | ---- |