Is there a way to enter occur-edit-mode (or it's equivalent) from helm-occur?

323 views
Skip to first unread message

Alex Bennée

unread,
Apr 16, 2013, 11:16:02 PM4/16/13
to emacs...@googlegroups.com
Subject says it all really. Once I've narrowed down my occur search I'd like to be able to edit the buffer. Although C-x o does bring me to the helm-occur buffer the default keybindings mean I can't edit it.

Thierry Volpiatto

unread,
Apr 17, 2013, 12:47:40 AM4/17/13
to Alex Bennée, emacs...@googlegroups.com
Alex Bennée <alex....@gmail.com> writes:

> Subject says it all really. Once I've narrowed down my occur search I'd
> like to be able to edit the buffer.

No, it is not implemented because we have grep that is already doing
this.

So you have to install:

https://github.com/mhayashi1120/Emacs-wgrep.git

and while in a helm grep session hit C-x C-s to save the helm buffer and
enter `helm-grep-mode', from there you have access to
`wgrep-change-to-wgrep-mode' (C-c C-p)

Of course it could be implemented for helm-occur in the same way, using
wgrep.

> Although C-x o does bring me to the helm-occur buffer the default
> keybindings mean I can't edit it.

You should not do that.

--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
Reply all
Reply to author
Forward
0 new messages