Browse Source

Add a few tweaks to #emacs

Colin Powell 6 years ago
parent
commit
3711db3638
3 changed files with 18 additions and 5 deletions
  1. 1 1
      emacs/.config/doom/+ui.el
  2. 14 4
      emacs/.config/doom/config.el
  3. 3 0
      fish/.config/fish/functions/dt.fish

+ 1 - 1
emacs/.config/doom/+ui.el

@@ -1,6 +1,6 @@
 ;;;  -*- lexical-binding: t; -*-
 
-(setq doom-theme 'doom-dracula)
+(setq doom-theme 'doom-one)
 
 ;; Fonts
 (setq doom-font (font-spec :family "Iosevka" :size 15))

+ 14 - 4
emacs/.config/doom/config.el

@@ -36,6 +36,13 @@
      "C-h" #'evil-window-left
      "C-l" #'evil-window-right))
 
+ ;; some handy alt shortcuts
+ :n "s-g"   #'magit-status
+ :n "s-c"   #'org-capture
+ ;; Let's be like our friends Slack and Discord
+ :n "s-p"   #'+ivy/project-search
+ :n "s-k"   #'counsel-recentf
+
 ;; Leader tricks
  (:leader
    (:prefix "f"
@@ -102,10 +109,13 @@
 
 ;;; Setup sending email with msmtp
 (setq send-mail-function 'sendmail-send-it
-        sendmail-program "/usr/local/bin/msmtp"
-        mail-specify-envelope-from t
-        message-sendmail-envelope-from 'header
-        mail-envelope-from 'header)
+      sendmail-program "/usr/local/bin/msmtp"
+      mail-specify-envelope-from t
+      message-sendmail-envelope-from 'header
+      mail-envelope-from 'header)
+
+;; enable ivy buffer icons
+(setq ivy-buffer-icons t)
 
 ;; Hide hidden files in treemacs
 (setq treemacs-show-hidden-files nil)

+ 3 - 0
fish/.config/fish/functions/dt.fish

@@ -0,0 +1,3 @@
+function dt
+	dtach -A /tmp/dtach-$argv $argv
+end