Browse Source

Updated variables

pull/2/head
Josh Wolfe 5 years ago
parent
commit
3e8727d5fd
  1. 24
      emacs/.emacs.d/README.org

24
emacs/.emacs.d/README.org

@ -249,6 +249,15 @@ Vim-like relative line numbering @@ -249,6 +249,15 @@ Vim-like relative line numbering
#+END_SRC
* Variables
#+BEGIN_SRC emacs-lisp :tangle yes
(defvar wolfe/literate-config-name "README.org"
"The name of my literate config")
#+END_SRC
#+BEGIN_SRC emacs-lisp :tangle yes
(defvar wolfe/init-file (concat user-emacs-directory wolfe/literate-config-name)
"The path to my literate config file")
#+END_SRC
#+BEGIN_SRC emacs-lisp :tangle yes
(defvar wolfe/project-path
@ -259,7 +268,9 @@ Vim-like relative line numbering @@ -259,7 +268,9 @@ Vim-like relative line numbering
"C:/dev/")
(else nil))
"Path to my projects directory")
#+END_SRC
#+BEGIN_SRC emacs-lisp :tangle yes
(defvar wolfe/org-dropbox-path
(cond
((eq system-type 'gnu/linux)
@ -723,10 +734,11 @@ Customizable popup menus. @@ -723,10 +734,11 @@ Customizable popup menus.
(setq evil-want-C-i-jump nil)
:config
(evil-mode t)
(setq evil-split-window-below t)
(setq evil-vsplit-window-right t)
(setq evil-split-window-below t
evil-vsplit-window-right t
evil-lookup-func #'wolfe/man)
(setq-default evil-symbol-word-search t)
(setq evil-lookup-func #'wolfe/man)
(custom-set-variables '(evil-search-module (quote evil-search)))
(evil-ex-define-cmd "re[load]" 'wolfe/load-init) ; Custom reload command
(evil-ex-define-cmd "Q" 'save-buffers-kill-terminal) ; For typos
(define-key evil-ex-map "e " 'counsel-find-file) ; Trigger file completion :e
@ -791,7 +803,7 @@ Customizable popup menus. @@ -791,7 +803,7 @@ Customizable popup menus.
"id" (lambda() (interactive) (indent-region (point-min) (point-max)))
"o" (lambda() (interactive) (wolfe/org-open "everything"))
"SPC" (lambda() (interactive) (funcall (wolfe/hydra-selector)))
"init" (lambda() (interactive) (evil-buffer-new nil "~/.emacs.d/README.org"))))
"init" (lambda() (interactive) (evil-buffer-new nil wolfe/init-file))))
#+END_SRC
@ -880,7 +892,7 @@ Project management @@ -880,7 +892,7 @@ Project management
#+END_SRC
** Javascript
#+BEGIN_SRC emacs-lisp :tangle yes
(use-package company-tern
:after company
@ -907,7 +919,7 @@ Project management @@ -907,7 +919,7 @@ Project management
#+END_SRC
** Racket
#+BEGIN_SRC emacs-lisp :tangle yes
(use-package racket-mode)
#+END_SRC

Loading…
Cancel
Save