Skip to content

Using 'n' ends up searching for the last searched term and thus moving the cursor #2153

Answered by gegoune
lokesh-krishna asked this question in Q&A
Discussion options

You must be logged in to vote

No, it's not, it's just a by default. Are you mistaking n from vim.keymap.set's first argument (which is mode, see :h vim.keymap.set) with actual mapping?

In short, just use a. n is for normal mode.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lokesh-krishna
Comment options

@gegoune
Comment options

@lokesh-krishna
Comment options

@gegoune
Comment options

Answer selected by lokesh-krishna
@lokesh-krishna
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants