diff --git a/nvim_custom_keys.txt b/nvim_custom_keys.txt index 8ad7055e..500354c3 100644 --- a/nvim_custom_keys.txt +++ b/nvim_custom_keys.txt @@ -54,6 +54,8 @@ de - delete current cursor position to the end of the word db - delete current cursor position to the beginning of the word x - delete character under current cursor position +c - c can be used instead of d, and will do pretty much the same thing, except it will go into INSERT mode after deletion + interesting use case: di( - will delete everything encapsulated in the following parenthesis di{ - will delete everything encapsulated in the following curly brackets @@ -74,6 +76,15 @@ y$ - copies from current cursor position to end of line yG - copies from current cursor position to the end of document ygg - copies from current cursor position to the beginning of document +o - create line below +shift + o - create line above + +f - go to the next instant of the next character (i.e. f+g will go to the next instance of 'g') +shift + f - same as f, but goes backwards (i.e. shift+f+g will go to the last instance of 'g') + +t - same as f, but will go to one character before entered character +shift + t -same as shift + f, but goes backwards to one character before entered character + FROM NORMAL MODE, ENTERING OTHER MODES i - enter INSERT mode at the current cursor position a - enter INSERT mode at the following cursor position (appending)