Skip to content

Commit

Permalink
revert some changes in nvim/init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
gzagatti committed Dec 4, 2024
1 parent a54e67d commit ac2f934
Showing 1 changed file with 37 additions and 3 deletions.
40 changes: 37 additions & 3 deletions nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -1202,6 +1212,13 @@ local function load_plugins()
})
---}}}

---org-goodies {{{
use({
here 'org-goodies.nvim',
requires = { 'nvim-orgmode/orgmode' },
})
---}}}

---tablemode {{{
--- instant table creation
use({
Expand Down Expand Up @@ -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", "<leader>ee", "<plug>(Luadev-RunLine):Luadev<cr>", { silent = true })
vim.api.nvim_set_keymap("v", "<leader>ee", "<plug>(Luadev-Run):Luadev<cr>", { silent = true })
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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', '<leader>gE', "<cmd>lua require'nabla'.popup()<cr>", { noremap=true })
-- end,
-- }
--}}}

---beancount {{{
-- support for beancount files
use({ "nathangrigg/vim-beancount" })
--}}}

---drawit {{{
-- ASCII drawing plugin
use({ "vim-scripts/DrawIt" })
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ac2f934

Please sign in to comment.