52 lines
1.3 KiB
Org Mode
52 lines
1.3 KiB
Org Mode
#+TITLE: Oreodave's emacs configuration
|
|
#+AUTHOR: Oreodave
|
|
#+DESCRIPTION: My Doom Emacs configuration!
|
|
|
|
* Preclude
|
|
This is my [[https://github.com/hlissner/doom-emacs][Doom Emacs]] configuration, which I try to use for as many things as
|
|
possibe. It is currently my main C# and Python editor but hopefully it will
|
|
become my C one soon!
|
|
|
|
* Global variables
|
|
#+BEGIN_SRC emacs-lisp
|
|
(setq doom-localleader-key ",")
|
|
#+END_SRC
|
|
|
|
* Theming
|
|
#+BEGIN_SRC emacs-lisp
|
|
(load-theme 'doom-molokai t)
|
|
#+END_SRC
|
|
|
|
* General keymap
|
|
#+BEGIN_SRC emacs-lisp
|
|
(map!
|
|
:leader
|
|
:desc "M-x" "<SPC>" 'counsel-M-x
|
|
:desc "Indent" "j" 'indent-region
|
|
:desc "Open calendar" "rc" '(lambda() (interactive) (find-file "~/Text/calendar.org"))
|
|
:desc "Open project files" "pf" 'projectile-find-file
|
|
|
|
(:prefix "/" ; Search
|
|
:desc "Ag!" "a" '+ivy/ag
|
|
:desc "Search buffer" "/" 'swiper
|
|
)
|
|
|
|
(:prefix "w" ; Windows
|
|
:desc "Close window" "d" '+workspace/close-window-or-workspace
|
|
:desc "Switch window" "W" 'ace-window
|
|
)
|
|
|
|
(:prefix "b"
|
|
:desc "Close buffer" "d" 'doom/kill-this-buffer-in-all-windows
|
|
)
|
|
)
|
|
#+END_SRC
|
|
|
|
* Plugins and Packages
|
|
|
|
** Elcord
|
|
#+BEGIN_SRC emacs-lisp
|
|
(after! elcord
|
|
(elcord-mode))
|
|
#+END_SRC
|