Skip to content

Instantly share code, notes, and snippets.

@cofi
Created November 21, 2013 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cofi/7589306 to your computer and use it in GitHub Desktop.
Save cofi/7589306 to your computer and use it in GitHub Desktop.
(defun evil-filter (count)
(interactive "p")
(evil-ex (if current-prefix-arg
(format ".,+%d!" count)
".!")))
(define-key evil-normal-state-map (kbd "!") #'evil-filter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment