Skip to content

Instantly share code, notes, and snippets.

@bleggett
Created October 31, 2019 03:36
Show Gist options
  • Save bleggett/4a8107ae045d0a117e5346e4559340b1 to your computer and use it in GitHub Desktop.
Save bleggett/4a8107ae045d0a117e5346e4559340b1 to your computer and use it in GitHub Desktop.
;;; .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))
;; 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)
)
(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