feat: updated neovim snippets;

feat: added gpg sign shortcut to neovim;
feat: yuck plugin;
refactor: my theme;
feat: tty color theme (for tty colors compatibility);
refactor: minor hyprland changes
This commit is contained in:
2025-07-04 21:17:03 +03:00
parent 1db95f5ef7
commit 81d7b870f1
7 changed files with 108 additions and 12 deletions

View File

@@ -96,6 +96,13 @@ vim.keymap.set("n", "<leader>tn", '<cmd>tabNext<cr>', { desc = "Tab Next" })
vim.keymap.set("n", "<leader>tm", '<cmd>tabnew<cr>', { desc = "Tab More!" })
vim.keymap.set("n", "<leader>tc", '<cmd>tabclose<cr>', { desc = "Tab Close" })
-- sign file with GPG
vim.keymap.set("n", "<leader>gpg", function()
local opened_file_path = vim.fn.expand('%:p')
os.execute("gpg --detach-sign " .. opened_file_path) -- Execute the GPG sign command
end, { desc = "Sign currently open file with GPG" })
function Leave_snippet()
if
((vim.v.event.old_mode == 's' and vim.v.event.new_mode == 'n') or vim.v.event.old_mode == 'i')