fix(keybinds): Update for nvim 0.12
This commit is contained in:
@@ -71,13 +71,13 @@ keymap.set("n", "<leader><leader>x", ":!chmod +x %:p<CR>", opts("make current fi
|
|||||||
keymap.set(
|
keymap.set(
|
||||||
"n",
|
"n",
|
||||||
"<leader>#",
|
"<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")
|
opts("setup sh script")
|
||||||
)
|
)
|
||||||
keymap.set(
|
keymap.set(
|
||||||
"n",
|
"n",
|
||||||
"<leader><leader>#",
|
"<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")
|
opts("setup python script")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user