Skip to content

Let enter in agenda view replace current file? #3

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

Closed
kkharji opened this issue Jun 27, 2021 · 2 comments
Closed

Let enter in agenda view replace current file? #3

kkharji opened this issue Jun 27, 2021 · 2 comments

Comments

@kkharji
Copy link

kkharji commented Jun 27, 2021

Hey @kristijanhusak, this is more like a question regarding usability.

Would it nice if pressing enter in agenda view replaces previous split buffer if the previous buffer is org buffer.

Thanks

@kristijanhusak
Copy link
Member

You should be able to achieve that by using <TAB> instead of <CR>.
If you want to switch those two mappings, just provide mappings config in setup:

require('orgmode').setup({
  mappings = {
    agenda = {
      org_agenda_switch_to = '<TAB>',
      org_agenda_goto = '<CR>',
    }
  }
})

@kkharji
Copy link
Author

kkharji commented Jun 27, 2021

NICE, that's good enough. Thanks @kristijanhusak

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

2 participants