thefrontside / frontmacs

Package-based, web-centric, customizable, awesome-by-default, acceptance-tested Emacs distribution
MIT License
501 stars 22 forks source link

Consider changing the default project switch action #125

Open cowboyd opened 6 years ago

cowboyd commented 6 years ago

Since we installed counsel-projectile, it prompts you for what you want to do whenever you switch to a project. This is kinduva pain when all you want to do is switch to the project. You probably want to pick an action and just stick with it.

What I'd love to see is:

A default action of something like project root directory or go to magit, and then a configuration option for frontmacs to satisfy the default action.


(custom-set-variables
 ;; Change this in order to choose your theme. This will auto install your theme
 ;; as package with the suffix "-theme" appended to the end. So for example,
 ;; if your theme is set to 'twilight, then it will try and download and require
 ;; the 'twilight-theme ELPA package.
 ;;
 ;; If you want to have your own completely custom theme that isn't available as
 ;; as an ELPA package, then set this variable to `nil', and roll your own theme
 ;; in an initializer
'(frontmacs-theme 'zenburn)

;; choose what to do when you first switch to a project.
;; valid options are :magit, :root-dir, :goto-dir, 
'(frontmacs-default-project-switch-action :magit)
 )