From 0259c9eb3efb37933f0db021232d36ab8c604908 Mon Sep 17 00:00:00 2001 From: mohamad24xx Date: Mon, 19 Sep 2022 12:31:29 +0430 Subject: [PATCH] add vim keybinding.md --- Phoenix/.obsidian/appearance.json | 2 +- Phoenix/.obsidian/workspace | 20 +++--- Phoenix/Programing/Vim/plugins keybinding.md | 61 ------------------- .../Vim/vim keybinding learn list.md | 16 +++++ Phoenix/Programing/Vim/vim keybinding.md | 1 - 5 files changed, 27 insertions(+), 73 deletions(-) create mode 100644 Phoenix/Programing/Vim/vim keybinding learn list.md delete mode 100644 Phoenix/Programing/Vim/vim keybinding.md diff --git a/Phoenix/.obsidian/appearance.json b/Phoenix/.obsidian/appearance.json index d4b00a4..8dba54e 100644 --- a/Phoenix/.obsidian/appearance.json +++ b/Phoenix/.obsidian/appearance.json @@ -1,5 +1,5 @@ { - "baseFontSize": 20, + "baseFontSize": 17, "translucency": false, "enabledCssSnippets": [ "obsidian" diff --git a/Phoenix/.obsidian/workspace b/Phoenix/.obsidian/workspace index cbcce81..0f0b338 100644 --- a/Phoenix/.obsidian/workspace +++ b/Phoenix/.obsidian/workspace @@ -9,7 +9,7 @@ "state": { "type": "markdown", "state": { - "file": "Programing/Html & Css/Recources/Icones.md", + "file": "Programing/Vim/vim keybinding learn list.md", "mode": "source", "source": false } @@ -77,7 +77,7 @@ "state": { "type": "backlink", "state": { - "file": "Programing/Html & Css/Recources/Icones.md", + "file": "Programing/Vim/vim keybinding learn list.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -94,7 +94,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "Programing/Html & Css/Recources/Icones.md", + "file": "Programing/Vim/vim keybinding learn list.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -117,7 +117,7 @@ "state": { "type": "outline", "state": { - "file": "Programing/Html & Css/Recources/Icones.md" + "file": "Programing/Vim/vim keybinding learn list.md" } } }, @@ -139,15 +139,15 @@ }, "active": "e8bd60ed3df5367a", "lastOpenFiles": [ - "Programing/kitty.md", + "Programing/Vim/plugins keybinding.md", + "Programing/Server/gitea setup.md", + "Programing/Vim/vim keybinding learn list.md", "Programing/Html & Css/Recources/learn and making sites.md", + "Programing/Html & Css/Recources/Icones.md", "Programing/Html & Css/Recipes/button.md", + "Programing/kitty.md", "Programing/Html & Css/Recipes/Navbar/navbar - classic.md", "cheat sheats/Format your notes.md", - "Programing/media files/Screenshot from 2022-08-12 16-20-20 1.png", - "Screenshot from 2022-08-12 16-04-52.png", - "Programing/media files/nc-0.png", - "Screenshot from 2022-08-12 16-02-56.png", - "cheat sheats/Spacemacs keybinding.md" + "Programing/media files/Screenshot from 2022-08-12 16-20-20 1.png" ] } \ No newline at end of file diff --git a/Phoenix/Programing/Vim/plugins keybinding.md b/Phoenix/Programing/Vim/plugins keybinding.md index 6a0b4ee..8b13789 100644 --- a/Phoenix/Programing/Vim/plugins keybinding.md +++ b/Phoenix/Programing/Vim/plugins keybinding.md @@ -1,62 +1 @@ -# plugins keybinding -### NERDtree -```vim -nnoremap :NERDTreeToggle -nnoremap :NERDTreeFind -``` -### [Nerdcommenter](https://github.com/preservim/nerdcommenter) -#### importent ones -- `[count]cc` **|NERDCommenterComment|** - - Comment out the current line or text selected in visual mode. - -- `[count]cu` **|NERDCommenterUncomment|** - - Uncomments the selected line(s). - -- `[count]c` **|NERDCommenterToggle|** - - Toggles the comment state of the selected line(s). If the topmost selected line is commented, all selected lines are uncommented and vice versa. -#### unimportant -- `[count]cn` **|NERDCommenterNested|** - - Same as cc but forces nesting. - -- `[count]cm` **|NERDCommenterMinimal|** - - Comments the given lines using only one set of multipart delimiters. - -- `[count]ci` **|NERDCommenterInvert|** - - Toggles the comment state of the selected line(s) individually. - -- `[count]cs` **|NERDCommenterSexy|** - - Comments out the selected lines with a pretty block formatted layout. - -- `[count]cy` **|NERDCommenterYank|** - - Same as cc except that the commented line(s) are yanked first. - -- `c$` **|NERDCommenterToEOL|** - - Comments the current line from the cursor to the end of line. - -- `cA` **|NERDCommenterAppend|** - - Adds comment delimiters to the end of line and goes into insert mode between them. - -- **|NERDCommenterInsert|** - - Adds comment delimiters at the current cursor position and inserts between. Disabled by default. - -- `ca` **|NERDCommenterAltDelims|** - - Switches to the alternative set of delimiters. - -- `[count]cl` **|NERDCommenterAlignLeft**  -- `[count]cb` **|NERDCommenterAlignBoth** - - Same as **|NERDCommenterComment|** except that the delimiters are aligned down the left side (`cl`) or both sides (`cb`). - diff --git a/Phoenix/Programing/Vim/vim keybinding learn list.md b/Phoenix/Programing/Vim/vim keybinding learn list.md new file mode 100644 index 0000000..434205e --- /dev/null +++ b/Phoenix/Programing/Vim/vim keybinding learn list.md @@ -0,0 +1,16 @@ +# vim keybinding learn list +w = for next word +b = for last word + +o = add line down (inset mode) +shift + o = add line up (inset mode) + +shift + p = paste one line up + +shift + i = go to beginning of line (inset mode) +shift + a = go to end of line (inset mode) + +n (after search) next item | shift + n (after search) last item + +" * " for search word mouse is on (next) +" # " for search word mouse is on (next) diff --git a/Phoenix/Programing/Vim/vim keybinding.md b/Phoenix/Programing/Vim/vim keybinding.md deleted file mode 100644 index bee09d3..0000000 --- a/Phoenix/Programing/Vim/vim keybinding.md +++ /dev/null @@ -1 +0,0 @@ -# vim keybinding