From 2d0030c7ce2a23a4e5da691ae8a2d96b123f0ba5 Mon Sep 17 00:00:00 2001 From: zegonix Date: Mon, 1 Sep 2025 18:55:04 +0200 Subject: [PATCH] (vim) file rename --- nvim.md | 58 -------------------------------------------------------- vim.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 58 insertions(+), 59 deletions(-) delete mode 100644 nvim.md mode change 120000 => 100644 vim.md diff --git a/nvim.md b/nvim.md deleted file mode 100644 index 35184af..0000000 --- a/nvim.md +++ /dev/null @@ -1,58 +0,0 @@ -# nvim (neovim) - -- [movement quick list](#movement-quick-list) - - -## movement quick list - -| **Action** | **Input** | -| :-------------------------------------------------------- | :---------------- | -| move one character (right, down, up, left) | `h,j,k,l` | -| move to start of next word | `w` | -| move to start of last word | `b` | -| move to end of next word | `e` | -| move to start of next word (by whitespace) | `W` | -| move to start of last word (by whitespace) | `B` | -| move to end of next word (by whitespace) | `E` | -|-----------------------------------------------------------|-------------------| -| insert mode before cursor | `i` | -| insert mode after cursor | `a` | -| insert mode at start of line | `I` | -| insert mode at end of line | `A` | -|-----------------------------------------------------------|-------------------| -| visual mode | `v` | -| visual line mode | `V` | -| visual block mode | `C-v` | -|-----------------------------------------------------------|-------------------| -| scroll half a page up | `C-u` | -| scroll half a page down | `C-d` | -| scroll current line to center | `z z` / `z Enter` | -| scroll current line to top | `z t` | -| scroll current line to bottom | `z b` | -|-----------------------------------------------------------|-------------------| -| go one jump back | `C-o` | -| go one jump forward | `C-i` | -| jump to line `` | ` G` | -| jump to previous blank line | `{` | -| jump to next blank line | `}` | -| jump to start of block (scope) | `[ {` | -| jump to end of block (scope) | `] }` | -| jump to start of section (class, etc.) | `[ [` | -| jump to end of section (class, etc.) | `] ]` | -| jump to matching delimiter (e.g. parenthesis) | `%` | -|-----------------------------------------------------------|-------------------| -| increase number under cursor / in selection | `C-a` | -| decrease number under cursor / in selection | `C-x` | -| incrementally increase number under cursor / in selection | `g C-a` | -| incrementally decrease number under cursor / in selection | `g C-x` | - -- .. -- jump word (with and without selection) -- move (half a) page up/down -- home/end (behind last character) -- delete/cut/copy/paste (move) - - -## modes (what the workflow looks like) - -TODO.. diff --git a/vim.md b/vim.md deleted file mode 120000 index 8fec3a9..0000000 --- a/vim.md +++ /dev/null @@ -1 +0,0 @@ -nvim.md \ No newline at end of file diff --git a/vim.md b/vim.md new file mode 100644 index 0000000..35184af --- /dev/null +++ b/vim.md @@ -0,0 +1,58 @@ +# nvim (neovim) + +- [movement quick list](#movement-quick-list) + + +## movement quick list + +| **Action** | **Input** | +| :-------------------------------------------------------- | :---------------- | +| move one character (right, down, up, left) | `h,j,k,l` | +| move to start of next word | `w` | +| move to start of last word | `b` | +| move to end of next word | `e` | +| move to start of next word (by whitespace) | `W` | +| move to start of last word (by whitespace) | `B` | +| move to end of next word (by whitespace) | `E` | +|-----------------------------------------------------------|-------------------| +| insert mode before cursor | `i` | +| insert mode after cursor | `a` | +| insert mode at start of line | `I` | +| insert mode at end of line | `A` | +|-----------------------------------------------------------|-------------------| +| visual mode | `v` | +| visual line mode | `V` | +| visual block mode | `C-v` | +|-----------------------------------------------------------|-------------------| +| scroll half a page up | `C-u` | +| scroll half a page down | `C-d` | +| scroll current line to center | `z z` / `z Enter` | +| scroll current line to top | `z t` | +| scroll current line to bottom | `z b` | +|-----------------------------------------------------------|-------------------| +| go one jump back | `C-o` | +| go one jump forward | `C-i` | +| jump to line `` | ` G` | +| jump to previous blank line | `{` | +| jump to next blank line | `}` | +| jump to start of block (scope) | `[ {` | +| jump to end of block (scope) | `] }` | +| jump to start of section (class, etc.) | `[ [` | +| jump to end of section (class, etc.) | `] ]` | +| jump to matching delimiter (e.g. parenthesis) | `%` | +|-----------------------------------------------------------|-------------------| +| increase number under cursor / in selection | `C-a` | +| decrease number under cursor / in selection | `C-x` | +| incrementally increase number under cursor / in selection | `g C-a` | +| incrementally decrease number under cursor / in selection | `g C-x` | + +- .. +- jump word (with and without selection) +- move (half a) page up/down +- home/end (behind last character) +- delete/cut/copy/paste (move) + + +## modes (what the workflow looks like) + +TODO..