From ac2f934d6418ab9b0b60ebf5e12900600b404cee Mon Sep 17 00:00:00 2001 From: gzagatti Date: Wed, 4 Dec 2024 23:31:56 +0100 Subject: [PATCH] revert some changes in nvim/init.lua --- nvim/init.lua | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 658d143..ccdd671 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -875,6 +875,16 @@ local function load_plugins() ---}}} ---navigators {{{ + -- kitty-navigator + use({ + 'knubie/vim-kitty-navigator', + config = function() + if vim.env.TERM ~= 'xterm-kitty' then + vim.g['kitty_navigator_no_mappings'] = 1 + end + end, + }) + -- tmux-navigator -- seamless navigation between tmux panes and vim splits use({ @@ -1202,6 +1212,13 @@ local function load_plugins() }) ---}}} + ---org-goodies {{{ + use({ + here 'org-goodies.nvim', + requires = { 'nvim-orgmode/orgmode' }, + }) + ---}}} + ---tablemode {{{ --- instant table creation use({ @@ -1445,7 +1462,7 @@ local function load_plugins() -- REPL/debug console for nvim use({ -- 'bfredl/nvim-luadev', - "gzagatti/nvim-luadev", + here("nvim-luadev"), config = function() vim.api.nvim_set_keymap("n", "ee", "(Luadev-RunLine):Luadev", { silent = true }) vim.api.nvim_set_keymap("v", "ee", "(Luadev-Run):Luadev", { silent = true }) @@ -1496,7 +1513,7 @@ local function load_plugins() ---clipboard image {{{ -- paste image from clipboard use({ - "gzagatti/clipboard-image.nvim", + here("clipboard-image.nvim"), config = function() local function uuid_name() local img_dir = vim.fn.expand("%:p:h") .. "/assets" @@ -1555,6 +1572,23 @@ local function load_plugins() }) --}}} + ---nabla {{{ + -- equation rendering + -- TODO support LaTex equations + -- TODO support visual selection + -- use { + -- 'jbyuki/nabla.nvim', + -- config = function() + -- vim.api.nvim_set_keymap('n', 'gE', "lua require'nabla'.popup()", { noremap=true }) + -- end, + -- } + --}}} + + ---beancount {{{ + -- support for beancount files + use({ "nathangrigg/vim-beancount" }) + --}}} + ---drawit {{{ -- ASCII drawing plugin use({ "vim-scripts/DrawIt" }) @@ -1649,7 +1683,7 @@ local function load_plugins() ---theme: leuven {{{ use({ - "gzagatti/vim-leuven-theme", + here("vim-leuven-theme"), after = { "mini.indentscope" }, config = function() if vim.env.THEME == "leuven" then