Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other useful kill-targets #19

Open
bbatsov opened this issue Jun 2, 2014 · 21 comments
Open

Other useful kill-targets #19

bbatsov opened this issue Jun 2, 2014 · 21 comments

Comments

@bbatsov
Copy link
Collaborator

bbatsov commented Jun 2, 2014

I think it'd be great if easy-kill supported out-of-the-box a few extra kill targets, namely:

  • whole buffer
  • from current point to end of buffer
  • from current point to beginning of buffer
  • from current point to end of line
  • from current point to beginning of line
  • sentence
  • paragraph
  • previous line
  • next line
@tuhdo
Copy link

tuhdo commented Jun 2, 2014

I agree. It would free many key bindings.

It also makes it more consistent and completely solves this issue: #16

@leoliu
Copy link
Owner

leoliu commented Jun 7, 2014

Hi all,

Sorry for my delay and thanks for the report.

Do you mean add them to easy-kill-alist i.e. give each a custom key, or just add these things for users to pick and use?

Leo

@tuhdo
Copy link

tuhdo commented Jun 7, 2014

Yes, give them prefix M-w as other easy-kill objects.

@bbatsov
Copy link
Collaborator Author

bbatsov commented Jun 7, 2014

What @tuhdo just said. :-)

@holocronweaver
Copy link

I am particularly excited about:

  • from current point to end of line
  • from current point to beginning of line

I would use those daily.

@leoliu
Copy link
Owner

leoliu commented Sep 16, 2014

Thanks, I'll get to this issue soon, hopefully. I have an idea to integrate such things nicely with easy-kill. Thanks to all for the input.

@knu
Copy link
Collaborator

knu commented Sep 30, 2014

I've been so much in love with easy-kill I created an extension package for it: https://github.com/knu/easy-kill-extras.el

I think it now has almost everything mentioned in this issue. You can install it from MELPA.

@holocronweaver
Copy link

@knu Why not merge this with upstream easy-kill?

@knu
Copy link
Collaborator

knu commented Sep 30, 2014

@bbatsov
Copy link
Collaborator Author

bbatsov commented Sep 30, 2014

@knu already proposed a couple of pull requests, but they haven't been accepted yet. Guess @leoliu is busy.

@knu
Copy link
Collaborator

knu commented Sep 30, 2014

I think they need some tests before they can be merged. I'll work on it when I get the time.

@holocronweaver
Copy link

@knu If that will be awhile, I can write the tests.

@knu
Copy link
Collaborator

knu commented Sep 30, 2014

@holocronweaver That will be great, please go ahead!

@y2rayk
Copy link

y2rayk commented Mar 11, 2015

i am interested in a merge of this

@Yevgnen
Copy link

Yevgnen commented Dec 12, 2016

So, any news of this ?

@manuel-uberti
Copy link

manuel-uberti commented Mar 26, 2018

Anything? :)

@leoliu
Copy link
Owner

leoliu commented Mar 26, 2018

Sorry I haven't been able to give this package much time due to life and work. I wonder if anyone is interested in taking over? Thanks.

@knu
Copy link
Collaborator

knu commented Jun 9, 2018

@leoliu I think I can work on this as a co-maintainer and help deal with issues and bring in new features.

@bbatsov
Copy link
Collaborator Author

bbatsov commented Jun 9, 2018

@leoliu I can help from time to time as well.

@leoliu
Copy link
Owner

leoliu commented Jun 9, 2018

Hi @knu and @bbatsov,

Thank you very much. I have invited both of you to join the repo.

Thanks again.
Leo

@bbatsov
Copy link
Collaborator Author

bbatsov commented Jun 9, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants