Compare commits

..

No commits in common. "857b121e36730da1f0ed68707a3fdabe11d9f849" and "f3d3f4daebaf3bc4ea43650fb432a379da9a3fc1" have entirely different histories.

3 changed files with 9 additions and 10 deletions

View File

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

View File

@ -37,12 +37,10 @@ if vim.g.neovide then
)
-- no terminal, no Ctrl-Shift-V paste
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" } })
keymap("<C-S-V>", '<Esc>"+pa', { mode = { "n", "i" } })
-- "new-term" in working directory
keymap("<C-S-Return>", function()
vim.system({ 'sh', '-c', 'alacritty msg create-window --working-directory "$(pwd)" || alacritty' }, { detach = true })
end, { mode = { "n", "i", "v", "t", "c" } })
vim.system({ 'sh', '-c', 'alacritty msg create-window || alacritty' }, { detach = true })
end, { mode = { "n", "i", "v", "t" } })
end

View File

@ -179,13 +179,8 @@ 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)