diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-01-08 23:39:59 -0500 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-01-08 23:39:59 -0500 |
| commit | be3902a72477823bd5dc70301f4e48c84bc4d526 (patch) | |
| tree | 0e27ecb268a7ca0d998ceeb88efdd23af24e0e92 /home-config | |
| parent | 062e1a680ef9a8e0737e6faa6ead2f6f9788bf6b (diff) | |
nvim fixes and new plugin
Diffstat (limited to 'home-config')
| -rw-r--r-- | home-config/nvim/config/init.vim | 18 |
1 files 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' | |||
| 28 | Plug 'williamboman/mason-lspconfig.nvim' | 28 | Plug 'williamboman/mason-lspconfig.nvim' |
| 29 | Plug 'neovim/nvim-lspconfig' | 29 | Plug 'neovim/nvim-lspconfig' |
| 30 | "Plug 'nvim-orgmode/orgmode' | 30 | "Plug 'nvim-orgmode/orgmode' |
| 31 | Plug 'ggandor/leap.nvim' | 31 | Plug 'https://codeberg.org/andyg/leap.nvim' |
| 32 | Plug 'xiyaowong/transparent.nvim' | 32 | Plug 'xiyaowong/transparent.nvim' |
| 33 | Plug 'chentoast/marks.nvim' | ||
| 33 | call plug#end() | 34 | call plug#end() |
| 34 | 35 | ||
| 35 | "Load Theme | 36 | "Load Theme |
| @@ -48,15 +49,14 @@ require("mason-lspconfig").setup { | |||
| 48 | ensure_installed = { "pyright" }, | 49 | ensure_installed = { "pyright" }, |
| 49 | } | 50 | } |
| 50 | 51 | ||
| 51 | require('leap').add_default_mappings() | 52 | -- Leap keybinds |
| 53 | config = function(_, opts) | ||
| 54 | vim.keymap.set({'n', 'x', 'o'}, 's', '<Plug>(leap-forward)') | ||
| 55 | vim.keymap.set({'n', 'x', 'o'}, 'S', '<Plug>(leap-backward)') | ||
| 56 | vim.keymap.set({'n', 'x', 'o'}, 'gs', '<Plug>(leap-from-window)') | ||
| 57 | end | ||
| 52 | 58 | ||
| 53 | require('nvim-treesitter.configs').setup { | 59 | require'nvim-treesitter'.install { 'zig','go','python','vim' } |
| 54 | highlight = { | ||
| 55 | enable = true, | ||
| 56 | additional_vim_regex_highlighting = {'org'}, | ||
| 57 | }, | ||
| 58 | ensure_installed = {'vim', 'python'}, | ||
| 59 | } | ||
| 60 | 60 | ||
| 61 | vim.opt.conceallevel = 2 | 61 | vim.opt.conceallevel = 2 |
| 62 | vim.opt.concealcursor = nc | 62 | vim.opt.concealcursor = nc |
