unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Leo Liu <sdl.web@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Review easy-kill.el
Date: Wed, 02 Apr 2014 12:54:58 +0800	[thread overview]
Message-ID: <m3bnwkuy8t.fsf@gmail.com> (raw)

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




             reply	other threads:[~2014-04-02  4:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02  4:54 Leo Liu [this message]
2014-04-03 14:25 ` Review easy-kill.el Drew Adams
2014-04-03 15:46   ` Leo Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3bnwkuy8t.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).