[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Review easy-kill.el
From: |
Leo Liu |
Subject: |
Review easy-kill.el |
Date: |
Wed, 02 Apr 2014 12:54:58 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (CentOS 6.5) |
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
- Review easy-kill.el,
Leo Liu <=