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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user