remove broken brace remap

This commit is contained in:
Beric Bearnson 2024-04-11 10:59:48 -06:00
parent 4f37e50551
commit 0a5bfcc44e
1 changed files with 0 additions and 10 deletions

View File

@ -92,16 +92,6 @@ vim.g.maplocalleader = ' '
vim.cmd [[command! -nargs=0 Q :q]] 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("{")<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '}', ':lua navigateByParagraph("}")<CR>', { noremap = true, silent = true })
-- [[ Setting options ]] -- [[ Setting options ]]
-- See `:help vim.opt` -- See `:help vim.opt`
-- NOTE: You can change these options as you wish! -- NOTE: You can change these options as you wish!