summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--custom-settings.el2
-rw-r--r--init.el16
2 files changed, 17 insertions, 1 deletions
diff --git a/custom-settings.el b/custom-settings.el
index 460f7b1..6bc6af1 100644
--- a/custom-settings.el
+++ b/custom-settings.el
@@ -41,7 +41,7 @@
'(org-sort-agenda-notime-is-late nil t)
'(package-selected-packages
(quote
- (org-plus-contrib use-package ac-cider magit blacken py-autopep8 flycheck elpy yasnippet company-lsp company lsp-ui go-autocomplete lsp-mode go-mode markdown-mode gruvbox-theme helm org cider slime evil)))
+ (which-key-mode org-plus-contrib use-package ac-cider magit blacken py-autopep8 flycheck elpy yasnippet company-lsp company lsp-ui go-autocomplete lsp-mode go-mode markdown-mode gruvbox-theme helm org cider slime evil)))
'(pdf-view-midnight-colors (quote ("#fdf4c1" . "#282828")))
'(pos-tip-background-color "#36473A")
'(pos-tip-foreground-color "#FFFFC8")
diff --git a/init.el b/init.el
index 0d02bf6..94f92db 100644
--- a/init.el
+++ b/init.el
@@ -43,6 +43,17 @@
(tooltip-mode -1)
(menu-bar-mode -1)
+;; fonts
+(when (eq system-type 'gnu/linux)
+ (set-frame-font "Fira Code Retina 15")
+ ;; Default Browser
+ (setq browse-url-browser-function 'browse-url-generic
+ browse-url-generic-program "firefox"
+ browse-url-new-window-flag t)
+ (menu-bar-mode -1)
+ ;; enable pdf-tools
+ (pdf-tools-install))
+
;; Garbage collection
(setq gc-cons-threshold 20000000)
@@ -226,6 +237,11 @@
(ido-everywhere t)
(setq ido-enable-flex-matching t))
+;; Which key
+(use-package which-key
+ :hook ('org-mode-hook . 'which-key-mode)
+ :hook ('cider-mode-hook . 'which-key-mode))
+
;; Python programming
(use-package elpy
:ensure py-autopep8