From 3711db363862369a90e7c2fee6afe2ed8c48d34d Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Tue, 26 Feb 2019 09:39:58 -0500 Subject: [PATCH] Add a few tweaks to #emacs --- emacs/.config/doom/+ui.el | 2 +- emacs/.config/doom/config.el | 18 ++++++++++++++---- fish/.config/fish/functions/dt.fish | 3 +++ 3 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 fish/.config/fish/functions/dt.fish diff --git a/emacs/.config/doom/+ui.el b/emacs/.config/doom/+ui.el index 825b59f..4894084 100644 --- a/emacs/.config/doom/+ui.el +++ b/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)) diff --git a/emacs/.config/doom/config.el b/emacs/.config/doom/config.el index 76f20d5..1f08cbe 100644 --- a/emacs/.config/doom/config.el +++ b/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) diff --git a/fish/.config/fish/functions/dt.fish b/fish/.config/fish/functions/dt.fish new file mode 100644 index 0000000..34e4942 --- /dev/null +++ b/fish/.config/fish/functions/dt.fish @@ -0,0 +1,3 @@ +function dt + dtach -A /tmp/dtach-$argv $argv +end