Compare

062e1a680ef9a8e0737e6faa6ead2f6f9788bf6b .. be3902a72477823bd5dc70301f4e48c84bc4d526 · 1 commits

Changed files

Commits

HashSubjectAuthorDate
be3902a7 nvim fixes and new plugin Ryan Schanzenbacher
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', '<Plug>(leap-forward)')
+ vim.keymap.set({'n', 'x', 'o'}, 'S', '<Plug>(leap-backward)')
+ vim.keymap.set({'n', 'x', 'o'}, 'gs', '<Plug>(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