-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
cd and setq default-directory in .spacemacs not working #16530
Comments
Are you trying to make Maybe what you're looking for is something like |
Thanks so much for explaining! My bad for not understanding this properly. I wanted |
You could probably do something like: (add-hook 'spacemacs-buffer-mode-hook (lambda () (setq default-directory "~/workspace/"))) But indeed, I think this is up to your personal preference and not a bug in Spacemacs. (I don't have maintainer access to this repo so I can't close the issue for you, sorry) |
This is really helpful, thanks so much! |
I tried adding
to dotspacemacs/user-config and to dotspacemacs/user-init but neither seems to work. I want ivy to default to the workspace folder when I do find-file (
SPC f f
).It does work if I do
SPC SPC
and choosecd
and type in/Users/sidharthkapur/workspace
The text was updated successfully, but these errors were encountered: