With Evil mode, :bn
shows the next buffer, and :bp
shows the previous buffer. I wish to define a custom keybinding where <Space>n
shows the next buffer, and <Space>p
shows the previous buffer.
In Vim, this can be accomplished using:
nnoremap <leader>n :bnext<cr>
nnoremap <leader>p :bprevious<cr>
where <leader>
is Space.
How can I define these keybindings for Evil mode?