sway,nvim

This commit is contained in:
Greg 2025-05-27 19:33:42 +03:00
parent 8b30462b7a
commit 46797f10b5
3 changed files with 7 additions and 7 deletions

View file

@ -5,8 +5,8 @@ vim.keymap.set("n", ";", ":", { desc = "command with ;" })
vim.keymap.set("v", ";", ":", { desc = "command with ;" })
vim.keymap.set("n", "q", ":bd<cr>", { desc = "close buffer" })
vim.keymap.set("n", "Q", ":%bd<cr>", { 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", "<C-v>", { desc = "vv for visual block" })
vim.keymap.set("i", "jj", "<ESC>", { silent = true, desc = "back to normal with jj" })
-- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier

View file

@ -1,6 +1,7 @@
CTRL
stdpath
neovim
stdpath
tmux
Autoformat
formik
TODO
Autoformat
CTRL

View file

@ -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.