From 8c571636bce07d10c547dce1106fa816191e87bf Mon Sep 17 00:00:00 2001 From: doyle Date: Sat, 14 Oct 2023 11:12:52 +1100 Subject: [PATCH] Add leap.nvim --- Internal/os_nvim_init.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Internal/os_nvim_init.vim b/Internal/os_nvim_init.vim index 639d192..5d88f4e 100644 --- a/Internal/os_nvim_init.vim +++ b/Internal/os_nvim_init.vim @@ -26,6 +26,7 @@ call plug#begin(stdpath('config') . '/plugged') " Lua cache to speed up load times Plug 'https://github.com/lewis6991/impatient.nvim' + Plug 'https://github.com/ggandor/leap.nvim' " lsp-zero begin " LSP Support @@ -54,12 +55,14 @@ call plug#end() " ============================================================================== lua <(leap-forward-to)') + vim.keymap.set({'n', 'x', 'o'}, 'F', '(leap-backward-to)') -- LSP Setup -- =========================================================================== local lsp = require('lsp-zero') local devenver_root = vim.fn.getenv('devenver_root') - local clang_format_fallback_file = devenver_root .. '/_clang-format' lsp.preset('recommended') lsp.configure('clangd', { cmd = { @@ -72,7 +75,6 @@ lua <