[was posted to gmane.emacs.help]

Hi there,

Easy-Kill will be placed in GNU ELPA soon, so I'd like to take this
opportunity to collect the community's help on improving it.

The package lives at https://github.com/leoliu/easy-kill

Features:

1. support both killing and marking
2. line-wise, list-wise and defun-wise expansion and shrinking
3. extension through thingatpt.el or user-defined functions
4. support list-wise expansion for smie-based modes, lispy modes, js2
   and nxml modes (more modes will be added)

Usage example (use killing for example, marking command is similar):

Assume: (global-set-key [remap kill-ring-save] 'easy-kill)

M-w e => kill current line
  repeat `e' to expand the kill line-wise
  `+' and `-' to expand/shrink the kill line-wise

M-w s => kill current sexp
  repeat `s' to expand the kill to include the next sexp
  `+' and `-' to expand/shrink the kill list-wise

M-w d => kill current defun
  repeat `d' to expand the kill to include next defun
  `+' and `-' to expand/shrink the kill defun-wise

Any comments on the package? Thanks for your time.

Leo


_______________________________________________
gnu-emacs-sources mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to