cloud
cloud copied to clipboard
shortcuts for switching between projects and open files
It's cumbersome to switch between projects and files. Similarily to the web-browser, where Ctrl+Page Up/Down switches between tabs, I propose:
Alt+PageUp/Down: switch between open file tabs, including the "files", "recent", ... tabs.Shift+Alt+PageUp/Down: switch between projects, including the overall user settings tab.
Keycodes: Alt = 18, Shift = 16, Page Down = 34, Page Up = 33.
... and Up = Left vs. Down = Right
switching between projects and open file tabs should be supported, but it's not clear which keyboard shortcuts to use
Alt+LeftArrow/RightArrow might be another option for switching between files and Shift+Alt+LeftArrow/RightArrow for switching between projects. I keep find myself switching between browser tabs automatically because I expect that I should be able to switch from the keyboard.
On Mon, Aug 8, 2016 at 11:18 AM, zimmermant [email protected] wrote:
Alt+LeftArrow/RightArrow might be another option for switching between
On a Mac those are previous/next work in the file you are editing...
Shift+Alt+Left/Right is scroll left/right in mac...
Almost every time we've had keyboard shortcuts, we've had to remove them since they really mess up editing for people in various cases. It's annoying.
files and Shift+Alt+LeftArrow/RightArrow for switching between projects. I keep find myself switching between browser tabs automatically because I expect that I should be able to switch from the keyboard.
What operating system are you using?
William (http://wstein.org)
I'm using OS X. It would be nice to come up with a set of sensible shortcuts that aren't used by Mac/Windows/Linux/Chrome/Safari/Firefox/etc... which I imagine is quite an undertaking ;). What would be the issues with making shortcut keys user definable?
What would be the issues with making shortcut keys user definable?
- In many cases in Chrome it's impossible to redefine already-taken keystrokes. Firefox has this problem much less.
- I have always wondered why Chrome doesn't allow customization of their keyboard shortcuts... I don't know.
oh wow, ticket resurrection from 2013. I think my above mentioned page up/down would work, but no idea about them on a Mac keyboard. However, somewhere else I think I made a ticket with a related but completely different idea: some IDEs show an overlay menu of recent/opened files to quickly switch around. My favourite shortcut would be borrowed from IntelliJ and is the double shift key. It's a bit more complex, but combined with scroll by keys, sort by recency and substring search, it would allow you to jump between any files very quickly. Problem is, we still don't have a global data-structure holding a info about opened files -- otherwise I would have already implemented this :-)
I started work on the top-down full react rewrite of SMC. I'm not sure why nobody even started on this for a year. It just took me 3 hours on the plane to get started:
See -- https://github.com/sagemathinc/smc/blob/master/src/smc-webapp/top.cjsx
and https://github.com/sagemathinc/smc/blob/master/src/webapp-smc.coffee here to enable it.
I think step 1 is to make it fully work with absolutely no concern at all about look/layout -- only functionality (like the first version of a latex document). I'm not planning to work on this more until k8s is done, except for encouraging others (e.g, you or John Jeng or Simon Luu).