comment selection

This commit is contained in:
Jean-Philippe Bernardy 2015-08-19 11:30:39 +02:00
parent 1017351ff4
commit 2430cf5bb5
2 changed files with 2 additions and 0 deletions

View file

@ -81,6 +81,7 @@
(defun boon-select-list () (interactive) (boon-select-thing-at-point 'list))
(defun boon-select-sexp () (interactive) (boon-select-thing-at-point 'sexp))
(defun boon-select-outside-pairs () (interactive) (boon-select-from-region 'er/mark-outside-pairs))
(defun boon-select-comment () (interactive) (boon-select-from-region 'er/mark-comment))
(defun boon-select-inside-pairs () (interactive) (boon-select-from-region 'er/mark-inside-pairs))
(defun boon-select-outside-quotes () (interactive) (boon-select-from-region 'er/mark-outside-quotes))
(defun boon-select-whitespace () (interactive) (boon-select-thing-at-point 'whitespace))

View file

@ -7,6 +7,7 @@
(require 'boon-search)
(require 'boon-keys)
(define-key boon-select-map "c" 'boon-select-comment)
(define-key boon-select-map "d" 'boon-select-document)
(define-key boon-select-map "p" 'boon-select-paragraph)
(define-key boon-select-map "w" 'boon-select-word)