nvim: keymaps for linewraps

master
tiyn 1 year ago
parent 0c9a6f387b
commit 529ba57816

@ -39,6 +39,19 @@ vim.api.nvim_create_autocmd('TextYankPost', {
group = highlight_group,
})
-- remap for dealing with word wrap
vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'",
{
expr = true,
silent = true
})
vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'",
{
expr = true,
silent = true
})
-- SmiteshP/nvim-navbuddy
vim.keymap.set('n', '<F3>', ':Navbuddy<CR>', {})

Loading…
Cancel
Save