diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-19 18:34:13 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-19 18:34:13 +0900 |
| commit | 307fceea38b7352a79b0bdb87025a34b76973867 (patch) | |
| tree | 382eb3e6a11973bc2c6ba33eee14d43ec2a9566b /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/goyo.lua | |
| parent | b66f68b8c014a3041c936ee9de1b57db5bcb50fb (diff) | |
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/goyo.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/goyo.lua | 39 |
1 files changed, 0 insertions, 39 deletions
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", - "<leader>gd", - ":Goyo|x!<CR>", - { noremap = true, silent = true, desc = "Goyo quit" } - ) - vim.api.nvim_buf_set_keymap( - 0, - "n", - "<leader>gq", - ":Goyo|q!<CR>", - { noremap = true, silent = true, desc = "Goyo abort" } - ) - end, - }) - end, -} |
