Skip to content

Commit

Permalink
Merge pull request #909 from fukamachi/vi-mode-noh
Browse files Browse the repository at this point in the history
Add :noh command of vi-mode for turning the isearch's highlight off.
  • Loading branch information
cxxxr authored Aug 13, 2023
2 parents 1a047d4 + 56843e1 commit 9d66f1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/vi-mode/ex-command.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,7 @@
(define-ex-command "^(buffers|ls|files)$" (range argument)
(declare (ignore range argument))
(lem/list-buffers:list-buffers))

(define-ex-command "^noh(?:lsearch)?$" (range argument)
(declare (ignore range argument))
(lem/isearch:isearch-end))

0 comments on commit 9d66f1d

Please sign in to comment.