diff options
| -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, |
