From 58d5e3d25d551b0e31532a356a10bdc6e3d2ec04 Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 30 Mar 2023 11:05:43 +0300 Subject: [PATCH] add help --- Makefile | 3 + .../sec/bin/neovim-key-map-features | 106 ++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 xelatex/install/usr/share/swarmlab.io/sec/bin/neovim-key-map-features diff --git a/Makefile b/Makefile index 1e4ace4..de00a98 100755 --- a/Makefile +++ b/Makefile @@ -83,3 +83,6 @@ project-stop: project-clean: @cd xelatex; ./install/usr/share/swarmlab.io/sec/swarmlab-sec clean 2>/dev/null ; true + +latex-edit-key-map-features: + @cd xelatex; ./bin/neovim-key-map-features 2>/dev/null ; true diff --git a/xelatex/install/usr/share/swarmlab.io/sec/bin/neovim-key-map-features b/xelatex/install/usr/share/swarmlab.io/sec/bin/neovim-key-map-features new file mode 100644 index 0000000..06f2bc5 --- /dev/null +++ b/xelatex/install/usr/share/swarmlab.io/sec/bin/neovim-key-map-features @@ -0,0 +1,106 @@ + +Key map features + +I try to avoid C- combinations for the things I do frequently, mapping things that make sense to the key. + +The leader key provides a facility for creating customized shortcuts that can be further restricted to apply only in certain modes, such as normal, insert, visual, terminal (neovim-specific), etc. + +The leader key is normally defined by the mapleader variable as . + +Normal mode +Edit Action + + \ls Remove all whitespace at the end of every line in the buffer + p Paste below + P Paste above + +Select text with: CTRL-V -or- SHIT-V amd Arrows + +AND + + esc Y to Copy + + use: Clipboard/Register Manager to paste + +View Action + + \n Toggle line numbers + \w Toggle wrap + +Copy2System Buffer + + Select text: + CTRL + V -OR- SHIFT + V and use Arrows to select + CTRL + C Copy + SHIFT + INS Paste + +Clipboard/Register Manager + + \r Open Register Menou + Esc Close Register Menou + p Paste below + CTRL-p Paste above + +Menou / File explorer + + Space Toggle NERD Tree, a file tree explorer. + \h Toggle distraction free mode (hide/show both nerdtree and tagbar) + \tb Toggle tagbar + +Open File with explorer + + Space Toggle NERD Tree, a file tree explorer. + s open file in new Buffer (vertical split) + i open file in new Buffer (horizontal split) + ENTER open file in current Buffer + SHIFT + R reload explorer view + +Buffers / Split + + \bv Create a new (empty) buffer to the right of a vertical split + \bv Create a new (empty) buffer to the right of a vertical split + \bh Create a new (empty) buffer below a horizontal split + \bk Kill current buffer (don't prompt to save changes) + \bl List buffers + \bg List and select buffer by # + ALT - [Left arrow] Go to buffer to the left + ALT - [Down arrow] Go to buffer below + ALT - [Up arrow] Go to buffer above + ALT - [Right arrow] Go to buffer to the right + +Resize Buffers / Split + +Try: + + CTRL + [LEFT SHIFT] + [Left arrow] + CTRL + [LEFT SHIFT] + [Down arrow] + CTRL + [LEFT SHIFT] + [Up arrow] + CTRL + [LEFT SHIFT] + [Right arrow] + +Terminal + + \tt Open a full screen terminal + \tv Open a terminal in a new split to the right + \th Open a terminal in a new split below + +Tabs + + create tab esc :tabnew + SHIFT Go to Tab to the right + SHIFT - TAB Go to Tab to the left + +Theme + + \c Toggle between light and dark backround modes (for supported themes) + +Insert mode +Greek/Latin letters + + < F8 > Greek characters + + < F5 > Latin characters + +Spell check + + ctrl-x s +