diff options
Diffstat (limited to 'mac/.config/TheSiahxyz/lua')
4 files changed, 13 insertions, 3 deletions
diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua index 500abf0..5b461ab 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua @@ -68,7 +68,7 @@ vim.keymap.set("n", "gcD", function() vim.cmd("cd " .. vim.fn.fnameescape(vim.fn.fnamemodify(realpath, ":h"))) vim.cmd("pwd") end, { desc = "Go to real path of current file" }) -vim.keymap.set("n", "gc.", ":cd ..<cr>:pwd<cr>", { desc = "Go to current file path" }) +vim.keymap.set("n", "gc.", ":cd ..<cr>:pwd<cr>", { desc = "Go to parent file path" }) -- Check health vim.keymap.set("n", "<leader>ch", ":checkhealth<cr>", { desc = "Check neovim health" }) diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/goyo.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/goyo.lua index 86b9a03..b268472 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/goyo.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/goyo.lua @@ -5,7 +5,7 @@ return { -- Enable Goyo by default for mutt writing vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, { group = vim.api.nvim_create_augroup("TheSiahxyz_goyo_config", { clear = true }), - pattern = "/tmp/neomutt*", + pattern = "/private/var/folders/rz/*/T/neomutt*", callback = function() vim.g.goyo_width = 80 vim.g.seoul256_background = 235 diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ssh.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ssh.lua new file mode 100644 index 0000000..20cead1 --- /dev/null +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ssh.lua @@ -0,0 +1,10 @@ +return { + "amitds1997/remote-nvim.nvim", + version = "*", -- Pin to GitHub releases + dependencies = { + "nvim-lua/plenary.nvim", -- For standard functions + "MunifTanjim/nui.nvim", -- To build the plugin UI + "nvim-telescope/telescope.nvim", -- For picking b/w different remote methods + }, + config = true, +} diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua index 9460187..dfaffea 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua @@ -645,7 +645,7 @@ return { require("telescope.builtin").buffers({ sort_mru = true, sort_lastused = true, - initial_mode = "normal", + -- initial_mode = "normal", }) end, { desc = "Find buffer files" }) vim.keymap.set("n", "<leader>fb", function() |
