Created
October 31, 2019 03:49
-
-
Save bleggett/b7775ddc1ba7ef157c09dc1b229cbf77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; .doom.d/config.el -*- lexical-binding: t; -*- | |
;; Place your private configuration here | |
;;Use custom font | |
(setq doom-font (font-spec :family "Droid Sans Mono" :size 17)) | |
;;Tighten which-key interval | |
(setq which-key-idle-delay 0.4) | |
;;Who needs a line number gutter, just takes up space | |
(setq display-line-numbers-type nil) | |
;; macOS specific config | |
(when (eq system-type 'darwin) | |
;; These two lines remap macOS Option to emacs Meta key | |
(setq mac-command-modifier 'meta) | |
(setq mac-option-modifier nil) | |
;;This must be set to True for the emacs-mac port in order to get proper macOS maximize behavior | |
(menu-bar-mode t) | |
) | |
;; Twiddle evil cursor visuals for insert state | |
(setq evil-insert-state-cursor '(bar "orange")) | |
;; BEGIN Custom keybinds | |
;; BEGIN Spacemacs muscle memory | |
;; Invert SPC b b and SPC b B to mirror Spacemacs more closely | |
(map! | |
:leader | |
:prefix "b" | |
:desc "Filter current buffers" "b" #'switch-to-buffer) | |
(map! | |
:leader | |
:prefix "b" | |
:desc "Filter project buffers" "B" #'persp-switch-to-buffer) | |
;; I want C-w o to close other windows | |
(define-key evil-window-map "o" 'delete-other-windows) | |
;; END Spacemacs muscle memory | |
;; END Custom keybinds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment