diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua index 3a1fc1a..26af006 100644 --- a/.config/nvim/lua/keymaps.lua +++ b/.config/nvim/lua/keymaps.lua @@ -5,8 +5,8 @@ vim.keymap.set("n", ";", ":", { desc = "command with ;" }) vim.keymap.set("v", ";", ":", { desc = "command with ;" }) vim.keymap.set("n", "q", ":bd", { desc = "close buffer" }) vim.keymap.set("n", "Q", ":%bd", { desc = "close all buffers" }) -vim.keymap.set("n", "d", '"_d', { desc = "delete without cut" }) -vim.keymap.set("v", "d", '"_d', { desc = "delete without cut" }) +vim.keymap.set({ "n", "v" }, "d", '"_d', { desc = "delete without cut" }) +vim.keymap.set({ "n", "v" }, "c", '"_c', { desc = "ddelete without cutelete without cut" }) vim.keymap.set({ "v", "n" }, "vv", "", { desc = "vv for visual block" }) vim.keymap.set("i", "jj", "", { silent = true, desc = "back to normal with jj" }) -- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier diff --git a/.config/nvim/spell/en.utf-8.add b/.config/nvim/spell/en.utf-8.add index bc77541..5f452da 100644 --- a/.config/nvim/spell/en.utf-8.add +++ b/.config/nvim/spell/en.utf-8.add @@ -1,6 +1,7 @@ -CTRL -stdpath neovim +stdpath tmux -Autoformat +formik TODO +Autoformat +CTRL diff --git a/.config/sway/config b/.config/sway/config index 4f130e0..c9dec55 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -108,10 +108,9 @@ input "type:keyboard" { bindsym --to-code $mod+g exec $term -e fish -i -C y bindsym --to-code $mod+Return exec $term bindsym --to-code $mod+Shift+q kill - bindsym --to-code Menu exec $menu + bindsym --to-code $mod+Space exec $menu bindsym --to-code $mod+Tab exec $windows bindsym --to-code $mod+Backspace exec ~/.scripts/kitty_shell.fish ~/.scripts/power.fish - bindsym --to-code $mod+Slash exec ~/.scripts/kitty_shell.fish ~/.scripts/switcher.fish bindsym --to-code $mod+Apostrophe exec ~/.scripts/shot.fish # Drag floating windows by holding down $mod and left mouse button.