diff options
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/config/keymaps.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nvim/lua/config/keymaps.lua b/nvim/lua/config/keymaps.lua index 6e4adfe..41958ad 100644 --- a/nvim/lua/config/keymaps.lua +++ b/nvim/lua/config/keymaps.lua | |||
| @@ -64,6 +64,7 @@ function M.global() | |||
| 64 | map("i", "<PageDown>", "<C-o>1000<C-d>", opts) | 64 | map("i", "<PageDown>", "<C-o>1000<C-d>", opts) |
| 65 | 65 | ||
| 66 | -- Verschiebe Zeilen mit Alt+j / Alt+k | 66 | -- Verschiebe Zeilen mit Alt+j / Alt+k |
| 67 | -- MacOS: Terminal → Einstellungen → Profile → Tastatur → "Option als Meta-Taste verwenden" | ||
| 67 | map("n", "<M-j>", ":m .+1<CR>==", opts) | 68 | map("n", "<M-j>", ":m .+1<CR>==", opts) |
| 68 | map("n", "<M-k>", ":m .-2<CR>==", opts) | 69 | map("n", "<M-k>", ":m .-2<CR>==", opts) |
| 69 | map("i", "<M-j>", "<Esc>:m .+1<CR>==gi", opts) | 70 | map("i", "<M-j>", "<Esc>:m .+1<CR>==gi", opts) |
