Compare commits

...

3 Commits

3 changed files with 10 additions and 9 deletions

View File

@ -157,12 +157,6 @@ local servers = {
-- defer to ruff
disableOrganizeImports = true,
},
python = {
analysis = {
-- defer to ruff
ignore = { '*' },
},
}
}
},
ruff = {

View File

@ -37,10 +37,12 @@ if vim.g.neovide then
)
-- no terminal, no Ctrl-Shift-V paste
keymap("<C-S-V>", '<Esc>"+pa', { mode = { "n", "i" } })
keymap("<C-S-V>", '<Esc>"+pa', { mode = { "n", "i", "v" } })
-- this bind seems to not show the pasted text until the screen is updated, but it works i guess
keymap("<C-S-V>", '<c-r>+', { mode = { "c" } })
-- "new-term" in working directory
keymap("<C-S-Return>", function()
vim.system({ 'sh', '-c', 'alacritty msg create-window || alacritty' }, { detach = true })
end, { mode = { "n", "i", "v", "t" } })
vim.system({ 'sh', '-c', 'alacritty msg create-window --working-directory "$(pwd)" || alacritty' }, { detach = true })
end, { mode = { "n", "i", "v", "t", "c" } })
end

View File

@ -179,8 +179,13 @@ static const Key keys[] = {
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
// odd keybinds here to bring tags closer to my fingers
TAGKEYS( XK_e, 4)
TAGKEYS( XK_r, 5)
// backwards compatibility
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)