diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-10-05 03:45:22 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-10-05 03:45:22 +0900 |
| commit | 38b422f7f6ca71fde32993044a2e46a584731183 (patch) | |
| tree | 80e5f087c5066d0a5c5c7f71f4685f2e2c9b3d10 | |
| parent | 6eb58db552c19bf43d7be8294689753a6d181b29 (diff) | |
modified tmux/tmux.conf, modified plugins/markdown.lua
| -rw-r--r-- | ar/.config/tmux/tmux.conf | 4 | ||||
| -rw-r--r-- | mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua | 19 |
2 files changed, 5 insertions, 18 deletions
diff --git a/ar/.config/tmux/tmux.conf b/ar/.config/tmux/tmux.conf index 9288c4c..bbc8c77 100644 --- a/ar/.config/tmux/tmux.conf +++ b/ar/.config/tmux/tmux.conf @@ -111,8 +111,8 @@ bind -r 'BSpace' switch-client -l # window bind -r '<' swap-window -d -t -1 bind -r '>' swap-window -d -t +1 -bind -nr 'M-H' previous-window \; refresh-client -S -bind -nr 'M-L' next-window \; refresh-client -S +bind -nr 'M-,' previous-window \; refresh-client -S +bind -nr 'M-.' next-window \; refresh-client -S bind 'c' new-window -c "#{pane_current_path}" bind -nr 'M-BSpace' last-window diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua index de16ca6..0b01741 100644 --- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua +++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua @@ -1,16 +1,3 @@ -local sysname = vim.loop.os_uname().sysname -local backend, build, processor - -if sysname == "Darwin" then - backend = "kitty" - processor = "magick_cli" - build = false -else - backend = "ueberzug" - processor = "magick_rock" - build = true -end - -- Select the current cell local function select_cell() local bufnr = vim.api.nvim_get_current_buf() @@ -351,12 +338,12 @@ return { { "benlubas/image-save.nvim", cmd = "SaveImage" }, { "3rd/image.nvim", - build = build, + build = false, dependencies = { "leafo/magick", "vhyrro/luarocks.nvim" }, config = function() require("image").setup({ - backend = backend, -- "ueberzug" or "kitty", whatever backend you would like to use - processor = processor, -- "magick_rock" or "magick_cli" + backend = "kitty", -- "ueberzug" or "kitty", whatever backend you would like to use + processor = "magick_cli", -- "magick_rock" or "magick_cli" integrations = { markdown = { enabled = true, |
