From 307fceea38b7352a79b0bdb87025a34b76973867 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 19 Jun 2025 18:34:13 +0900 Subject: updates --- .../TheSiahxyz/lua/thesiahxyz/plugins/goyo.lua | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/goyo.lua (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/goyo.lua') diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/goyo.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/goyo.lua deleted file mode 100644 index 86b9a03..0000000 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/goyo.lua +++ /dev/null @@ -1,39 +0,0 @@ -return { - "junegunn/goyo.vim", - dependencies = "junegunn/seoul256.vim", - config = function() - -- 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*", - callback = function() - vim.g.goyo_width = 80 - vim.g.seoul256_background = 235 - vim.cmd([[ - Goyo - set bg=light - set linebreak - set wrap - set textwidth=0 - set wrapmargin=0 - set background=dark - colorscheme seoul256 - ]]) - vim.api.nvim_buf_set_keymap( - 0, - "n", - "gd", - ":Goyo|x!", - { noremap = true, silent = true, desc = "Goyo quit" } - ) - vim.api.nvim_buf_set_keymap( - 0, - "n", - "gq", - ":Goyo|q!", - { noremap = true, silent = true, desc = "Goyo abort" } - ) - end, - }) - end, -} -- cgit v1.2.3