docs: update Linux/vim

This commit is contained in:
Lukas Forsberg 2025-10-11 19:03:59 +02:00 committed by Lukas Forsberg
parent 86f9287a0f
commit 9383e593b9

View File

@ -2,7 +2,7 @@
title: Vim
description:
published: true
date: 2025-10-11T16:49:48.279Z
date: 2025-10-11T17:03:58.503Z
tags:
editor: markdown
dateCreated: 2025-10-11T16:38:44.398Z
@ -87,4 +87,28 @@ dateCreated: 2025-10-11T16:38:44.398Z
| Switch editor group | `Ctrl+w w` |
| Save | `:w` or `Ctrl+s` |
| Quit | `:q` |
| Save & Quit | `:wq` |
| Save & Quit | `:wq` |
## settings.json
```
"vim.useSystemClipboard": true,
"vim.hlsearch": true,
"vim.ignorecase": true,
"vim.smartcase": true,
"vim.cursorStylePerMode.insert": "line",
"vim.insertModeKeyBindings": [],
"vim.leader": " ",
"vim.normalModeKeyBindingsNonRecursive": [
// Easier access to { and }
{ "before": ["å"], "after": ["{"] },
{ "before": ["¨"], "after": ["}"] },
// Easier access to [ and ]
{ "before": ["ö"], "after": ["["] },
{ "before": ["ä"], "after": ["]"] },
{ "before": ["§"], "after": ["$"] },
]
```