From e63bc3b74f6ac5b6341ce3d72be3fe762b2d993a Mon Sep 17 00:00:00 2001 From: TiagoRG Date: Sat, 13 Apr 2024 20:38:39 +0100 Subject: [PATCH] Neovim plugin updates Signed-off-by: TiagoRG --- .config/nvim/after/plugin/chatgpt.lua | 31 ------------------------- .config/nvim/after/plugin/presence.lua | 4 ++++ .config/nvim/lua/tiagorg/packer.lua | 26 +++++++++++---------- .config/nvim/plugin/packer_compiled.lua | 30 ++++++++---------------- 4 files changed, 28 insertions(+), 63 deletions(-) delete mode 100644 .config/nvim/after/plugin/chatgpt.lua diff --git a/.config/nvim/after/plugin/chatgpt.lua b/.config/nvim/after/plugin/chatgpt.lua deleted file mode 100644 index 3f9a0a3..0000000 --- a/.config/nvim/after/plugin/chatgpt.lua +++ /dev/null @@ -1,31 +0,0 @@ -require('chatgpt').setup { - api_key_cmd = 'gpg --decrypt /home/tiagorg/.gnupg/openai_key.txt.gpg', - chat = { - keymaps = { - close = "", - yank_last = "", - yank_last_code = "", - scroll_up = "", - scroll_down = "", - new_session = "", - cycle_windows = "", - cycle_modes = "", - next_message = "", - prev_message = "", - select_session = "", - rename_session = "r", - delete_session = "d", - draft_message = "", - edit_message = "e", - delete_message = "d", - toggle_settings = "", - toggle_sessions = "", - toggle_help = "", - toggle_message_role = "", - toggle_system_role_open = "", - stop_generating = "", - }, - } -} - -vim.keymap.set("n", "gpt", "ChatGPT", { noremap = true, silent = true }) diff --git a/.config/nvim/after/plugin/presence.lua b/.config/nvim/after/plugin/presence.lua index 9f7227d..88db692 100644 --- a/.config/nvim/after/plugin/presence.lua +++ b/.config/nvim/after/plugin/presence.lua @@ -15,9 +15,13 @@ require("presence").setup({ "toggleterm", "curriculum-vitae", "Nextcloud", + "NvimTree", }, buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "