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

ctrl-o opens file path in cursor, shift-tab goes back in history #122

Open
daretodave opened this issue May 26, 2024 · 0 comments
Open

ctrl-o opens file path in cursor, shift-tab goes back in history #122

daretodave opened this issue May 26, 2024 · 0 comments
Labels
back-end backend work enhancement New feature or request front-end front end work ready

Comments

@daretodave
Copy link
Contributor

anywhere on the terminal, ctrl-o opens the file path

determine the desired open path:

  • highlighted text first
  • editor window line next
  • result finally

one desired path is established:

  • if file
    • open editor
  • if path
    • open folder in explorer

For open editor actions:

STORE all the editor actions in a stack

  • ctrl tab brings up a window with the prior opens in a list
    • this creates a back and forth flow

    • releasing ctrl-tab takes you to the first selected historical action

    • pressing ctrl-tab again, cycles to the next action (then eventually back to the top)

    • keeping ctrl held leaves this new "list pane" open

    • releasing ctrl closes the window

    • pressing down or tab when the window is open has the same effect (cycling through history)

    • pressing up goes back up the list (or nowhere) if at the current action - 1

how should this work? see any jetbrains product's usage of ctrl-tab:
https://www.jetbrains.com/guide/go/tips/navigate-between-opened-files-using-the-switcher/#:~:text=Invoke%20the%20Switcher%20using%20%5E%E2%87%A5,Linux%20or%20Shift%20on%20macOS.

@daretodave daretodave added enhancement New feature or request front-end front end work back-end backend work ready labels May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end backend work enhancement New feature or request front-end front end work ready
Projects
None yet
Development

No branches or pull requests

1 participant