Guest User

Untitled

a guest
Aug 20th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. (define-key ivy-mode-map (kbd "C-s")
  2. (defalias (make-symbol "swiper-or-swiper-all")
  3. ;; Wrapped in `defalias' with uninterned SYMBOL so `describe-key'
  4. ;; displays command as a proper symbol instead of byte-codes
  5. (lambda ()
  6. "Runs the command swiper.
  7. With a prefix argument, run the command swiper-all."
  8. (interactive)
  9. (if current-prefix-arg
  10. (swiper-all)
  11. (swiper)))))
Add Comment
Please, Sign In to add comment