add vim keybinding.md
This commit is contained in:
parent
73e6d9e4fa
commit
0259c9eb3e
2
Phoenix/.obsidian/appearance.json
vendored
2
Phoenix/.obsidian/appearance.json
vendored
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"baseFontSize": 20,
|
"baseFontSize": 17,
|
||||||
"translucency": false,
|
"translucency": false,
|
||||||
"enabledCssSnippets": [
|
"enabledCssSnippets": [
|
||||||
"obsidian"
|
"obsidian"
|
||||||
|
|
20
Phoenix/.obsidian/workspace
vendored
20
Phoenix/.obsidian/workspace
vendored
|
@ -9,7 +9,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Programing/Html & Css/Recources/Icones.md",
|
"file": "Programing/Vim/vim keybinding learn list.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Programing/Html & Css/Recources/Icones.md",
|
"file": "Programing/Vim/vim keybinding learn list.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "outgoing-link",
|
"type": "outgoing-link",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Programing/Html & Css/Recources/Icones.md",
|
"file": "Programing/Vim/vim keybinding learn list.md",
|
||||||
"linksCollapsed": false,
|
"linksCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
}
|
}
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Programing/Html & Css/Recources/Icones.md"
|
"file": "Programing/Vim/vim keybinding learn list.md"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -139,15 +139,15 @@
|
||||||
},
|
},
|
||||||
"active": "e8bd60ed3df5367a",
|
"active": "e8bd60ed3df5367a",
|
||||||
"lastOpenFiles": [
|
"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/learn and making sites.md",
|
||||||
|
"Programing/Html & Css/Recources/Icones.md",
|
||||||
"Programing/Html & Css/Recipes/button.md",
|
"Programing/Html & Css/Recipes/button.md",
|
||||||
|
"Programing/kitty.md",
|
||||||
"Programing/Html & Css/Recipes/Navbar/navbar - classic.md",
|
"Programing/Html & Css/Recipes/Navbar/navbar - classic.md",
|
||||||
"cheat sheats/Format your notes.md",
|
"cheat sheats/Format your notes.md",
|
||||||
"Programing/media files/Screenshot from 2022-08-12 16-20-20 1.png",
|
"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"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -1,62 +1 @@
|
||||||
# plugins keybinding
|
|
||||||
### NERDtree
|
|
||||||
```vim
|
|
||||||
nnoremap <C-t> :NERDTreeToggle<CR>
|
|
||||||
nnoremap <C-f> :NERDTreeFind<CR>
|
|
||||||
```
|
|
||||||
### [Nerdcommenter](https://github.com/preservim/nerdcommenter)
|
|
||||||
#### importent ones
|
|
||||||
- `[count]<leader>cc` **|NERDCommenterComment|**
|
|
||||||
|
|
||||||
Comment out the current line or text selected in visual mode.
|
|
||||||
|
|
||||||
- `[count]<leader>cu` **|NERDCommenterUncomment|**
|
|
||||||
|
|
||||||
Uncomments the selected line(s).
|
|
||||||
|
|
||||||
- `[count]<leader>c<space>` **|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]<leader>cn` **|NERDCommenterNested|**
|
|
||||||
|
|
||||||
Same as cc but forces nesting.
|
|
||||||
|
|
||||||
- `[count]<leader>cm` **|NERDCommenterMinimal|**
|
|
||||||
|
|
||||||
Comments the given lines using only one set of multipart delimiters.
|
|
||||||
|
|
||||||
- `[count]<leader>ci` **|NERDCommenterInvert|**
|
|
||||||
|
|
||||||
Toggles the comment state of the selected line(s) individually.
|
|
||||||
|
|
||||||
- `[count]<leader>cs` **|NERDCommenterSexy|**
|
|
||||||
|
|
||||||
Comments out the selected lines with a pretty block formatted layout.
|
|
||||||
|
|
||||||
- `[count]<leader>cy` **|NERDCommenterYank|**
|
|
||||||
|
|
||||||
Same as cc except that the commented line(s) are yanked first.
|
|
||||||
|
|
||||||
- `<leader>c$` **|NERDCommenterToEOL|**
|
|
||||||
|
|
||||||
Comments the current line from the cursor to the end of line.
|
|
||||||
|
|
||||||
- `<leader>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.
|
|
||||||
|
|
||||||
- `<leader>ca` **|NERDCommenterAltDelims|**
|
|
||||||
|
|
||||||
Switches to the alternative set of delimiters.
|
|
||||||
|
|
||||||
- `[count]<leader>cl` **|NERDCommenterAlignLeft**
|
|
||||||
- `[count]<leader>cb` **|NERDCommenterAlignBoth**
|
|
||||||
|
|
||||||
Same as **|NERDCommenterComment|** except that the delimiters are aligned down the left side (`<leader>cl`) or both sides (`<leader>cb`).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
16
Phoenix/Programing/Vim/vim keybinding learn list.md
Normal file
16
Phoenix/Programing/Vim/vim keybinding learn list.md
Normal file
|
@ -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)
|
|
@ -1 +0,0 @@
|
||||||
# vim keybinding
|
|
Loading…
Reference in a new issue