summaryrefslogtreecommitdiff
path: root/mac/.config/TheSiahxyz/lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-27 08:34:52 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-27 08:34:52 +0900
commit86bd6606d0c1f7ed5813026fcd1ce0f255709734 (patch)
tree5dc6137dafdce6241b8ba25133620c10c35fdb5a /mac/.config/TheSiahxyz/lua
parent2fb9c986ce668f71cdbc4055d0704c548fb854ff (diff)
updates
Diffstat (limited to 'mac/.config/TheSiahxyz/lua')
-rw-r--r--mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua2
-rw-r--r--mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/goyo.lua2
-rw-r--r--mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ssh.lua10
-rw-r--r--mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/telescope.lua2
4 files changed, 3 insertions, 13 deletions
diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/core/keymaps.lua
index 5b461ab..500abf0 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 parent file path" })
+vim.keymap.set("n", "gc.", ":cd ..<cr>:pwd<cr>", { desc = "Go to current 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 b268472..86b9a03 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 = "/private/var/folders/rz/*/T/neomutt*",
+ pattern = "/tmp/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
deleted file mode 100644
index 20cead1..0000000
--- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/ssh.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-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 dfaffea..9460187 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()