Skip to content

Cleanup/counsel file register - #1066

Merged
abo-abo merged 2 commits into
abo-abo:masterfrom
ejmr:cleanup/counsel-file-register
Jun 10, 2017
Merged

abo-abo merged 2 commits into
abo-abo:masterfrom
ejmr:cleanup/counsel-file-register

Conversation

@ejmr

@ejmr ejmr commented Jun 10, 2017

Copy link
Copy Markdown
Contributor

The original pull-request had some mistakes such as accidentally using certain keywords to ivy-read more than once. This series of two patches both correct that problem and use ivy-set-actions to make it possible to open a file register in another window.

ejmr added 2 commits June 10, 2017 04:31
The recent patch introducing `counsel-file-register' has a few typos
and mistakes such as pointlessly repeated keywords.  This patch makes
no changes to logic but fixes those types and removes duplicate
keywords in `counsel-file-register'.  This patch also improves the
docstring for `counsel-file-register` to mention how you *must* use
`set-register' to create file registers.

Signed-off-by: Eric James Michael Ritz <ericjmritz@yandex.com>
This patch adds an additional action to `counsel-file-register', bound
to the `j' key, so that users may press `M-o j' to view file registers
in different windows.  The default action remains to open the file in
the window from which we called `counsel-file-register'.

Signed-off-by: Eric James Michael Ritz <ericjmritz@yandex.com>
@abo-abo
abo-abo merged commit 693f55d into abo-abo:master Jun 10, 2017
@abo-abo

abo-abo commented Jun 10, 2017

Copy link
Copy Markdown
Owner

Thanks.

@ejmr

ejmr commented Jun 10, 2017

Copy link
Copy Markdown
Contributor Author

Thanks again for the merge. I've used register for a long time but very often for file registers. However, I am starting to use registers for their other possible purposes so in the future I may be preserting some more PRs to define counsel-* commands for them.

@ejmr
ejmr deleted the cleanup/counsel-file-register branch June 10, 2017 11:02
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

Successfully merging this pull request may close these issues.

2 participants