From a780744933778e4fd4680e998a8ce4e45771d6b3 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 2 Aug 2022 22:12:35 +0200 Subject: vim: replace himalaya with k2 --- .vim/lua/plugins.lua | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) (limited to '.vim/lua/plugins.lua') diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index 27ab248..f1cb6b0 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -1147,7 +1147,7 @@ require('packer').startup({function() button('T', '󰃶 todos', [[lua require('telescope._extensions.todo-comments').exports.todo {cwd=vim.env.ZK_NOTEBOOK_DIR}]]), button('u', '󰚰 update plugins', [[lua require('packer').sync()]]), button('v', '󰂓 edit config', [[lua require('telescope.builtin').find_files {search_dirs={vim.env.HOME..'/.vim/'}}]]), - button('M', '󰇮 mail', [[Himalaya]]), + button('M', '󰇮 mail', [[K2]]), }}, -- }}} {type = 'padding', val = 1}, mru(MAX_WIDTH), @@ -1215,29 +1215,15 @@ require('packer').startup({function() config = function() end} -- }}} - use {'soywod/himalaya', cmd = {'Himalaya'}, -- {{{ - branch = 'development', - rtp = 'vim', - setup = function() - vim.api.nvim_create_autocmd('FileType', { - pattern = {'himalaya-msg-read', 'himalaya-msg-list'}, - callback = function() - vim.opt_local.list = false - vim.keymap.set('n', 'q', function() - vim.api.nvim_buf_delete(0, {}) - -- quit if no more buffers - -- if #vim.api.nvim_list_bufs() then vim.cmd [[quit]] end - end, {silent=true, buffer=0}) - end, - group = vim.api.nvim_create_augroup('Himalaya', {}), - }) - end, - config = function() - vim.g.himalaya_mailbox_picker = 'telescope' - vim.g.himalaya_telescope_preview_enabled = true - end} -- }}} - use {'https://git.sr.ht/~robertgzr/karafuru', rtp = 'vim', + -- NOTE: local/personal stuff + use {'~/devel/projects/k2', rtp = 'nvim', + config = function() + require('k2').setup() + end} + -- use {'https://git.sr.ht/~robertgzr/karafuru', rtp = 'vim', + use {'~/devel/projects/karafuru', rtp = 'vim', disable = false, + run = 'make colorscheme', config = function() vim.cmd [[colorscheme karafuru]] end} end, -- cgit 1.4.1