From be3902a72477823bd5dc70301f4e48c84bc4d526 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Thu, 8 Jan 2026 23:39:59 -0500 Subject: nvim fixes and new plugin --- home-config/nvim/config/init.vim | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/home-config/nvim/config/init.vim b/home-config/nvim/config/init.vim index 3fe7fc8..d88bfec 100644 --- a/home-config/nvim/config/init.vim +++ b/home-config/nvim/config/init.vim @@ -28,8 +28,9 @@ Plug 'williamboman/mason.nvim' Plug 'williamboman/mason-lspconfig.nvim' Plug 'neovim/nvim-lspconfig' "Plug 'nvim-orgmode/orgmode' -Plug 'ggandor/leap.nvim' +Plug 'https://codeberg.org/andyg/leap.nvim' Plug 'xiyaowong/transparent.nvim' +Plug 'chentoast/marks.nvim' call plug#end() "Load Theme @@ -48,15 +49,14 @@ require("mason-lspconfig").setup { ensure_installed = { "pyright" }, } -require('leap').add_default_mappings() +-- Leap keybinds +config = function(_, opts) + vim.keymap.set({'n', 'x', 'o'}, 's', '(leap-forward)') + vim.keymap.set({'n', 'x', 'o'}, 'S', '(leap-backward)') + vim.keymap.set({'n', 'x', 'o'}, 'gs', '(leap-from-window)') +end -require('nvim-treesitter.configs').setup { - highlight = { - enable = true, - additional_vim_regex_highlighting = {'org'}, - }, - ensure_installed = {'vim', 'python'}, -} +require'nvim-treesitter'.install { 'zig','go','python','vim' } vim.opt.conceallevel = 2 vim.opt.concealcursor = nc -- cgit v1.2.3