More vim stuff and rename

This commit is contained in:
Nox Sluijtman 2023-02-26 12:06:03 +01:00
parent 18b5126a32
commit 9ae74b7140
2 changed files with 5 additions and 4 deletions

View file

@ -15,9 +15,9 @@ These are a few bindings that I don't feel require an extensive explanation.
| binding | action | | binding | action |
| --- | --- | | --- | --- |
| Z Z | write and quit; equivalent to :wq | | Z Z | write and quit; equivalent to `:wq` |
| Z Q | quit; equivalent to :q! | | Z Q | quit; equivalent to `:q!` |
| :x | write and quit; equivalent to :wq | | :x | write and quit; equivalent to `:wq` |
| g u | swap characters to lower case | | g u | swap characters to lower case |
| g u u | swap characters to lower case on current line | | g u u | swap characters to lower case on current line |
| g U | swap characters to upper case | | g U | swap characters to upper case |
@ -30,6 +30,7 @@ These are a few bindings that I don't feel require an extensive explanation.
| z = | open spelling suggestions based on current dictionary and highlighted word | | z = | open spelling suggestions based on current dictionary and highlighted word |
| . | repeat last modify operation | | . | repeat last modify operation |
| ; | repeat last move operation | | ; | repeat last move operation |
| ! | start command with `:<selection>!` |
## Splits and Terminals ## Splits and Terminals
You can split your vim window with somewhat Emacs-like chords by default; I don't bother changing them because I use with quite a few different computers, not all of which have my Vim dotfiles installed. You can split your vim window with somewhat Emacs-like chords by default; I don't bother changing them because I use with quite a few different computers, not all of which have my Vim dotfiles installed.
@ -91,7 +92,7 @@ set ignorecase
set smartcase set smartcase
set number set number
set relativenumber set relativenumber
set wildmeny set wildmenu
set mouse= set mouse=
set scrolloff=3 set scrolloff=3
set listchars=tab:│\ ,lead:·,trail:·,eol:¬ "'lead' is a NeoVim specific option set listchars=tab:│\ ,lead:·,trail:·,eol:¬ "'lead' is a NeoVim specific option