A neovim plugin to accelerate j or k moving.
2021-10-24 upgrade: Now support map
gk
orgj
for user who hasset wrap
.
2021-11-21 upgrade: Add visual mode support. It only testing with the packer(one of the neovim plugins manager).
use{
"PHSix/faster.nvim",
event = {"VimEnter *"},
config = function()
vim.api.nvim_set_keymap('n', 'j', '<Plug>(faster_move_j)', {noremap=false, silent=true})
vim.api.nvim_set_keymap('n', 'k', '<Plug>(faster_move_k)', {noremap=false, silent=true})
-- or
-- vim.api.nvim_set_keymap('n', 'j', '<Plug>(faster_move_gj)', {noremap=false, silent=true})
-- vim.api.nvim_set_keymap('n', 'k', '<Plug>(faster_move_gk)', {noremap=false, silent=true})
-- if you need map in visual mode
-- vim.api.nvim_set_keymap('v', 'j', '<Plug>(faster_vmove_j)', {noremap=false, silent=true})
-- vim.api.nvim_set_keymap('v', 'k', '<Plug>(faster_vmove_k)', {noremap=false, silent=true})
end
}