-
Notifications
You must be signed in to change notification settings - Fork 70
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
Default binding stomps over (presumably) popular ⌘+N for new window shortcut #30
Comments
That you for your feedback, it's definitely a valid concern, right now we have a number of key-combos with Long term plan perhaps should be to design and develop actual Normal/Edit mode, but I don't know how confusing that kind of (system-wide) workflow would be. i.e.: if we make it so Short-term solution maybe simply to use something else for the app-switcher. Maybe I initially set the app-switcher keys to |
Regarding the long term plan: right now, compatibility issues are elided by hijacking cmd+spacebar which developers never use due to the Spotlight default. I think thinking of cmd+spacebar as the leader key which not only brings up the modal view but also activates the other interesting shortcuts like app switcher would be a good approach. However, I think this would effectively need a solution for #1. In the short term, I'm sure everyone has their own workflow and keybindings which make some modifiers better than others. I've been trying out |
A friend of mine has unfortunately stopped using Spacehammer due to losing their goto shortcuts like reported here. I think we should think carefully about what should be a default setting and what should go in our personal configs. In so far I propose:
Be commented out in the default config. You can easily customize it by copying the repo's config.fnl into private/config.fnl. What are your thoughts @agzam? |
I think I made a mistake in the beginning by choosing CMD as the leading modifier. I don't know, maybe we need to reconsider using it at all and make a global change. I know - it's pretty drastic, but I think we have to do it while we still can. Maybe even stop using CMD in the main combo and instead of In my defense, I can only say: I never thought this project would be used by anyone else but me, and even if it would - it's not that difficult to change it. I was wrong. But first, I want to merge @eccentric-j, I remember when you said: "Spacehammer to Hammerspoon can potentially become like Spacemacs to Emacs." If we don't release |
@eccentric-j when you have time, could you please create a wiki page (or maybe its better have it within the project in Also maybe we should create that file the first time when user runs Spacehammer. Keep it in a template somewhere and based on that template create the file (if it doesn't exist). Later we can maybe even develop some kind of versioning system, with a warning that private config template got updated or something. Or a changelog dialog of some sort (when we detect changes - when user pulls new version of Spacehammer). |
That's a fair point. I'll focus on writing docs this week to get it ready for launch ASAP. It would be pretty trivial to change the config.fnl to support using alt+spc and remove cmd overrides. Personally, I've grown quite used to cmd + space and will keep that in my custom config. Sure, I can write a minimal config.fnl in a documentation folder and link to it in the wiki if desired. As for the private config folder, the When I did try to set up a The private subdir follows the behavior of any fennel module folder. I figure it would be better to go with the conventions of fennel than introduce too many customizations. |
After more thought, I think it may be better to have a well documented, fully-featured default config.fnl instead of a minimal one in Otherwise, that's going to circle back to this discussion of what's default and what's extra? I do agree with changing the default to use alt + space and replacing the cmd bindings. |
- No new functionality is introduced - Discussed in agzam#30
A workflow I've been using for customizing since that's come up in this discussion is to maintain my own fork of spacehammer which I have as a submodule in my dotfiles repository. I periodically rebase my fork with the latest changes in The improved config file would be a huge boon, since it took me a while of playing around before I understood fennel, on top of lua, well enough to see where customizations should be made. I have more ideas about customization management, but maybe there's a more pertinent issue where I can write them instead of driving this one further off topic? |
- No new functionality is introduced - Discussed in agzam#30
Please create another issue if you would like to propose some config management solutions. I was able to solve the issue I ran into last time and created a PR to change the config folder to ~/.spacehammer/config.fnl. #35 |
- Generate ~/.spacehammer/config.fnl if one does not exist - Discussed in agzam#30 Updated README.md to reference new ~/.spacehammer config dir Created routine to create a default custom config.fnl by default Updated docs to reflect automatic custom config generation
- Opening the menu is `alt + space` - Switching to the previous app is `alt + p` - Switching to the next app is `alt + n` Attempts to fix agzam#30
More a wondering than an issue, explicitly: the default bindings for spacehammer use ⌘+N for alternative app switcher. Unless I'm missing something, there is consequently no shortcut left for making new windows. Is that something that you don't need in your workflow by default or do you fallback to a different means of making new windows in, e.g., your browser?
The text was updated successfully, but these errors were encountered: