2015-07-07 12:55:33 +01:00
|
|
|
(add-to-list 'load-path (concat (getenv "FG42_HOME") "/lib"))
|
2016-11-28 11:17:20 +00:00
|
|
|
;(toggle-debug-on-error)
|
2015-07-07 10:42:08 +01:00
|
|
|
(require 'fg42)
|
2015-07-07 00:01:24 +01:00
|
|
|
|
2015-07-09 12:05:26 +01:00
|
|
|
;; Load the default theme
|
|
|
|
(theme themes/color-theme-monokai)
|
|
|
|
|
2015-07-21 10:05:52 +01:00
|
|
|
;; Disable abilities which we do not want to load
|
2016-11-21 11:59:37 +00:00
|
|
|
(disable 'rbenv 'helm)
|
2015-07-21 10:05:52 +01:00
|
|
|
|
2015-07-09 11:05:09 +01:00
|
|
|
;; Activate these extensions
|
2015-07-08 17:59:42 +01:00
|
|
|
(activate-extensions 'editor
|
2015-07-09 00:00:45 +01:00
|
|
|
'development
|
2015-07-09 10:11:54 +01:00
|
|
|
'web
|
2015-07-09 12:05:26 +01:00
|
|
|
'editor-theme
|
2016-09-22 19:38:54 +01:00
|
|
|
;'arduino
|
2015-07-11 11:08:46 +01:00
|
|
|
'javascript
|
2015-12-27 12:48:48 +00:00
|
|
|
;'php
|
2016-09-22 19:38:54 +01:00
|
|
|
'clojure
|
2015-12-27 12:48:48 +00:00
|
|
|
;'python
|
2016-11-20 09:17:45 +00:00
|
|
|
'ruby
|
2016-09-22 19:38:54 +01:00
|
|
|
)
|
2015-07-07 00:01:24 +01:00
|
|
|
|
2016-11-28 11:06:35 +00:00
|
|
|
;; Load user config file in ~/.fg42.el
|
|
|
|
(load-user-config "~/.fg42.el")
|
|
|
|
;; NOTE: It's important to use ~/.fg42.el instead of this file
|
|
|
|
;; because updating fg42 will discard your changes in
|
|
|
|
;; this file.
|
|
|
|
|
|
|
|
;; Example of things you can do in your ~/.fg42 config file:
|
|
|
|
;;
|
|
|
|
;; Setting your TODO file path:
|
|
|
|
;; (setq fg42-todo-file "~/.TODO.org")
|
|
|
|
;; or you can open a remote TODO file
|
2016-11-28 11:10:06 +00:00
|
|
|
;; (add-hook 'fg42-before-open-todo-hook 'disable-projectile)
|
2016-11-28 11:06:35 +00:00
|
|
|
;; (setq fg42-todo-file "/ssh:user@host:/home/USER/.TODO.org")
|
|
|
|
;;
|
|
|
|
;; Set some environment variables for your fg42 to use
|
|
|
|
;; (setenv "http_proxy" "localhost:8118")
|
|
|
|
;; (setenv "https_proxy" "localhost:8118")
|
|
|
|
;;
|
|
|
|
;; Alwasy open a your TODO file as your first buffer
|
|
|
|
;; (add-hook 'fg42-after-initialize-hook 'fg42-open-todo)
|
|
|
|
;;
|
2015-07-09 11:05:09 +01:00
|
|
|
|
2015-07-07 12:25:06 +01:00
|
|
|
(fg42-initialize)
|