Created
December 26, 2014 23:41
-
-
Save analogpixel/a91ef854e85602e0a590 to your computer and use it in GitHub Desktop.
Set a key to change the speedbar location
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun sb-sk (k) | |
(setq default-directory k) | |
(speedbar-update-contents) | |
(speedbar-get-focus) | |
) | |
(global-set-key (kbd "C-c C-1") (lambda () (interactive) (sb-sk "c:/users/user/Desktop/") )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment