fix(keybinds): Update for nvim 0.12

This commit is contained in:
2026-04-16 15:43:27 +02:00
parent 1a5d9f1e4b
commit 21bb788396
+2 -2
View File
@@ -71,13 +71,13 @@ keymap.set("n", "<leader><leader>x", ":!chmod +x %:p<CR>", opts("make current fi
keymap.set(
"n",
"<leader>#",
":w<CR>:!chmod +x %:p<CR>ggi#!/bin/sh<CR><CR><Esc>:setfiletype bash<CR>",
":w<CR>:!chmod +x %:p<CR>ggO#!/bin/sh<CR><CR><Esc>:setfiletype bash<CR>",
opts("setup sh script")
)
keymap.set(
"n",
"<leader><leader>#",
":set syntax=python<CR>:w<CR>:!chmod +x %:p<CR>:LspStart pyright<CR>i#!/usr/bin/env python3<CR><CR>",
":set syntax=python<CR>:w<CR>:!chmod +x %:p<CR>ggO#!/usr/bin/env python3<CR><CR>",
opts("setup python script")
)