Compare commits
3 Commits
f3d3f4daeb
...
857b121e36
Author | SHA1 | Date | |
---|---|---|---|
857b121e36 | |||
2f993eb270 | |||
f8590ec109 |
@ -157,12 +157,6 @@ local servers = {
|
||||
-- defer to ruff
|
||||
disableOrganizeImports = true,
|
||||
},
|
||||
python = {
|
||||
analysis = {
|
||||
-- defer to ruff
|
||||
ignore = { '*' },
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
ruff = {
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user