New answers tagged

0

I wish I understood why, but thanks to @Hubisan's comment I was able to get it to work. I have tried many permutations, but this is the only one that seems to actually work: (with-eval-after-load 'evil (with-eval-after-load 'company (define-key evil-insert-state-map (kbd "C-n") nil) (define-key evil-insert-state-map (kbd "C-p") nil) (evil-...


0

If I understood correctly, you want to press * to highlight the matches while keeping the cursor in the same place, and afterwards pressing n or N to move to next or previous match, right? You can do that with the following code: (defun my/star-keep-position () (interactive) (case evil-search-module (evil-search (progn (evil-ex-...


Top 50 recent answers are included