nvim: Bind leap to tab

This commit is contained in:
doyle 2023-10-26 21:16:58 +11:00
parent 7f34d6d2db
commit 52d3454aa6

View File

@ -54,8 +54,8 @@ call plug#end()
lua <<EOF lua <<EOF
require('impatient') require('impatient')
local leap = require('leap') local leap = require('leap')
vim.keymap.set({'n', 'x', 'o'}, '<leader>r', '<Plug>(leap-forward-to)') vim.keymap.set({'n', 'x', 'o'}, '<tab>', '<Plug>(leap-forward-to)')
vim.keymap.set({'n', 'x', 'o'}, '<leader>R', '<Plug>(leap-backward-to)') vim.keymap.set({'n', 'x', 'o'}, '<S-tab>', '<Plug>(leap-backward-to)')
-- LSP Setup ===================================================================================== -- LSP Setup =====================================================================================
local lsp = require('lsp-zero') local lsp = require('lsp-zero')