Skip to content

Commit da9a549

Browse files
feat: add copy paste command, feat: update surround commands fix(style): add proper styling to markdown tables
1 parent 5773ad9 commit da9a549

1 file changed

Lines changed: 30 additions & 17 deletions

File tree

src/content/docs/programming_stuff/underated-neovim-keymaps.mdx

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,43 @@ description: A list of Shortcuts/Keymaps for Neovim that are UP to the Standard
66
A list of Shortcuts/Keymaps for Neovim that are up to the Standard of Usefullness and Rare. These shortcuts might have a biad towards Web Development (like working with html)
77

88
## Code Comments
9-
| Key | Description | Mode |
10-
| -------- | ------- | :---: |
11-
| `gcc` | toggle line comment on the line under carret | n |
9+
10+
| Key | Description | Mode |
11+
| ----- | -------------------------------------------- | :--: |
12+
| `gcc` | toggle line comment on the line under carret | n |
1213

1314
## Text Manipulation
15+
1416
### Casing
15-
| Key | Description | Mode |
16-
| -------- | ------- | :---: |
17-
| `u` | Convert selection to lowercase | v |
18-
| `U`| Convert selection to lowercase | v |
17+
18+
| Key | Description | Mode |
19+
| --- | ------------------------------ | :--: |
20+
| `u` | Convert selection to lowercase | v |
21+
| `U` | Convert selection to lowercase | v |
1922

2023
### Surround
21-
| Key | Description | Mode |
22-
| -------- | ------- | :---: |
23-
| `St<tag>`| Surround a Peice of text with an HTML Tag | v |
24-
| `ysiwt<tag>` | `ys` for surround, `i` for inside, `w` for word, `t` for surround the word with a tag, `<tag>` the actuall tag's name without `<` or `>` |n|
24+
25+
| Key | Description | Mode |
26+
| --------------- | --------------------------------------------- | :--: |
27+
| `gsat<tag>` | Surround a Peice of text with an HTML Tag | v |
28+
| `gsaiw<synbol>` | Surround a Word with a Symbol like `"` or `'` | n |
2529

2630
## Text Selection
27-
| Key | Description | Mode |
28-
| -------- | ------- | :---: |
29-
| `vat`| select html tag and its contents | n |
31+
32+
| Key | Description | Mode |
33+
| ----- | -------------------------------- | :--: |
34+
| `vat` | select html tag and its contents | n |
3035

3136
## Navigation
37+
3238
### CodeBase
33-
| Key | Description | Mode |
34-
| -------- | ------- | :---: |
35-
| `gf`| hover over an Import statement and go to that File | n |
39+
40+
| Key | Description | Mode |
41+
| ---- | -------------------------------------------------- | :--: |
42+
| `gf` | hover over an Import statement and go to that File | n |
43+
44+
## Copy Paste
45+
46+
| Key | Description | Mode |
47+
| ----------- | ----------- | :--: |
48+
| `<leader>p` | Yank Histoy | n |

0 commit comments

Comments
 (0)