2017-08-10 11:53:00 +01:00
|
|
|
;; Uncomment this for debugging purposes
|
|
|
|
;;(setq debug-on-error t)
|
2017-04-08 01:51:00 +01:00
|
|
|
;; THEME
|
|
|
|
;; =====
|
|
|
|
;; Load the default theme
|
|
|
|
;; Other options are:
|
|
|
|
;; (theme themes/color-theme-spacemacs-light)
|
2018-04-19 01:36:09 +01:00
|
|
|
;; (theme themes/color-theme-spacemacs-dark)
|
2019-03-28 18:46:08 +00:00
|
|
|
;; (theme themes/color-theme-doom-dracula)
|
2018-04-21 00:31:45 +01:00
|
|
|
(theme themes/color-theme-doom-one)
|
2017-04-08 01:51:00 +01:00
|
|
|
;; (theme themes/color-theme-doom-molokai)
|
|
|
|
|
|
|
|
;; ABILITIES
|
|
|
|
;; =========
|
|
|
|
;; Disable abilities which you don't want.
|
2019-03-27 18:52:29 +00:00
|
|
|
(disable 'rbenv 'helm 'spell 'linum 'tabbar
|
2019-12-09 14:09:07 +00:00
|
|
|
'smart-mode-line 'desktop-mode 'jedi
|
2019-11-09 17:07:58 +00:00
|
|
|
'dired+ 'guru 'emoji 'elpy 'github
|
|
|
|
'versioned-backup)
|
2018-03-14 17:26:27 +00:00
|
|
|
|
2017-04-08 01:51:00 +01:00
|
|
|
|
|
|
|
;; EXTENSIONS
|
|
|
|
;; ==========
|
|
|
|
;; Uncomment extensions that you may need.
|
|
|
|
(activate-extensions 'editor
|
|
|
|
'development
|
|
|
|
'web
|
|
|
|
'editor-theme
|
|
|
|
'javascript
|
|
|
|
'ruby
|
|
|
|
'clojure
|
2019-07-10 08:12:33 +01:00
|
|
|
'haskell
|
2017-10-27 16:05:39 +01:00
|
|
|
'php
|
2020-02-23 16:37:19 +00:00
|
|
|
'go
|
2019-08-14 20:46:53 +01:00
|
|
|
'common-lisp
|
2017-10-27 16:05:39 +01:00
|
|
|
'python
|
2018-12-28 16:14:32 +00:00
|
|
|
'arduino
|
2019-12-05 11:07:01 +00:00
|
|
|
'java
|
2019-09-08 11:57:13 +01:00
|
|
|
'racket
|
2020-03-15 20:54:00 +00:00
|
|
|
'devops
|
2019-01-10 19:16:46 +00:00
|
|
|
'irc
|
2018-12-28 16:14:32 +00:00
|
|
|
'latex)
|
2018-01-26 15:37:43 +00:00
|
|
|
|
2017-04-08 01:51:00 +01:00
|
|
|
|
2018-03-02 18:35:09 +00:00
|
|
|
;; What are you ?
|
|
|
|
(i-am-god)
|
|
|
|
|
|
|
|
;; i-am-god => Emacs user.
|
|
|
|
;; i-am-human => A user of other boring editors.
|
|
|
|
;; i-am-evil => An evil user. A vim user.
|
|
|
|
|
2017-04-08 01:51:00 +01:00
|
|
|
|
|
|
|
;; Example of things you can do in your ~/.fg42.el config file:
|
|
|
|
;;
|
|
|
|
;; Setting your TODO file path:
|
|
|
|
;; (setq fg42-todo-file "~/.TODO.org")
|
|
|
|
;; or you can open a remote TODO file
|
|
|
|
;; (add-hook 'fg42-before-open-todo-hook 'disable-projectile)
|
|
|
|
;; (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)
|
2018-01-26 15:37:43 +00:00
|
|
|
|
|
|
|
;; If you're using tools like rbenv or nodenv or other similar tools
|
|
|
|
;; to manage versions of your favorite language, then you need to
|
|
|
|
;; add their shims to your path. Follow the example below:
|
|
|
|
;;
|
|
|
|
;; (setenv "PATH" (concat "/home/USER/.rbenv/shims:"
|
|
|
|
;; "/home/USER/.nodenv/shims:"
|
|
|
|
;; "/home/USER/bin:" (getenv "PATH")))
|
|
|
|
;;
|
|
|
|
;; Ofcourse you need to change the USER to your username
|
|
|
|
|
|
|
|
;; If you have a separate bin directory as well you can add it
|
|
|
|
;; to the exec-path as follows:
|
|
|
|
;;
|
|
|
|
;; (add-to-list 'exec-path "/home/USER/bin")
|
2017-04-08 01:51:00 +01:00
|
|
|
;;
|
2018-01-26 15:37:43 +00:00
|
|
|
;; abilities like clojure which uses the lien tools need to find
|
|
|
|
;; specific tools (lein in this case) in your exec-path.
|
2019-01-10 19:16:46 +00:00
|
|
|
|
|
|
|
|
2019-01-10 22:19:32 +00:00
|
|
|
;; IRC Extension configuration ------------------------------------------------
|
2019-01-10 19:16:46 +00:00
|
|
|
;; Setup all the servers and channels you need
|
|
|
|
;; (setq irc-servers
|
|
|
|
;; '(("irc.freenode.net"
|
|
|
|
;; :port 6697
|
|
|
|
;; :encryption tls
|
|
|
|
;; :channels ("#5hit" "#emacs"))))
|
|
|
|
|
|
|
|
;; Set you nickname
|
|
|
|
;; (setq irc-nickname "awesome-fg42-user")
|
|
|
|
|
|
|
|
;; You can use password manager for storing you IRC credentials.
|
|
|
|
;; NOTE: you need to have a pair of GPG keys for this.
|
|
|
|
;;
|
|
|
|
;; Add the following to your ~/.authinfo.gpg :
|
|
|
|
;;
|
|
|
|
;; machine freenode login <username> port nickserv password <password>
|
|
|
|
;;
|
|
|
|
;; Or if you don't want to use the password manager your can directly
|
|
|
|
;; set it up like this:
|
|
|
|
;; (setq irc-auth '(("freenode" nickserv "some_user" "p455w0rd")
|
|
|
|
;; ("freenode" chanserv "some_user" "#channel" "passwd99"))
|
2020-02-23 16:35:53 +00:00
|
|
|
;;
|
|
|
|
;;
|
|
|
|
;; If you want to change the default font uncomment the following line
|
|
|
|
;;(setq fg42-font "Terminus")
|