From 0a5bfcc44e04a74ead3d0a68104541aee0c56eed Mon Sep 17 00:00:00 2001 From: Beric Bearnson Date: Thu, 11 Apr 2024 10:59:48 -0600 Subject: [PATCH] remove broken brace remap --- init.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/init.lua b/init.lua index fd7dd21d..b209240f 100644 --- a/init.lua +++ b/init.lua @@ -92,16 +92,6 @@ vim.g.maplocalleader = ' ' vim.cmd [[command! -nargs=0 Q :q]] --- Define a function to navigate by paragraph without affecting the jump list -local function navigateByParagraph(direction) - -- Send the movement command with 'keepjumps' prefix - vim.api.nvim_feedkeys(':keepjumps ' .. direction, 'n', true) -end - --- Define mappings to navigate by paragraph -vim.api.nvim_set_keymap('n', '{', ':lua navigateByParagraph("{")', { noremap = true, silent = true }) -vim.api.nvim_set_keymap('n', '}', ':lua navigateByParagraph("}")', { noremap = true, silent = true }) - -- [[ Setting options ]] -- See `:help vim.opt` -- NOTE: You can change these options as you wish!