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

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

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

@gegoune

@lokesh-krishna

@gegoune

Answer selected by lokesh-krishna
@lokesh-krishna

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