2016-05-21 23:12:50 -04:00
|
|
|
;;; core-vars.el
|
|
|
|
|
2016-05-23 17:14:51 -04:00
|
|
|
(defvar doom-leader "," "Prefix for <leader> bindings")
|
|
|
|
(defvar doom-localleader "\\" "Prefix for <localleader> bindings")
|
|
|
|
|
|
|
|
(defvar doom-unreal-buffers
|
2016-05-21 23:12:50 -04:00
|
|
|
'("^ ?\\*.+" image-mode dired-mode reb-mode messages-buffer-mode
|
|
|
|
tabulated-list-mode comint-mode magit-mode)
|
|
|
|
"A list of regexps or modes whose buffers are considered unreal, and will be
|
|
|
|
ignored when using `doom:next-real-buffer' and `doom:previous-real-buffer' (or
|
2016-05-23 17:14:51 -04:00
|
|
|
killed by `doom/kill-unreal-buffers', or after `doom/kill-real-buffer').")
|
2016-05-21 23:12:50 -04:00
|
|
|
|
2016-05-23 17:14:51 -04:00
|
|
|
(defvar doom-ignore-buffers
|
2016-06-06 19:35:16 -04:00
|
|
|
'("*Messages*" "*eval*" "*Completions*" "*Compile-Log*" "*inferior-lisp*"
|
|
|
|
"*Fuzzy Completions*" "*Apropos*" "*Help*" "*cvs*" "*Buffer List*"
|
|
|
|
"*Ibuffer*" "*NeoTree*" "*NeoTree*" "*esh command on file*" "*WoMan-Log*"
|
|
|
|
"*compilation*" "*use-package*" "*quickrun*" "*eclim: problems*"
|
|
|
|
"*Flycheck errors*" "*popwin-dummy*"
|
2016-05-21 23:12:50 -04:00
|
|
|
;; Helm
|
2016-06-06 19:35:16 -04:00
|
|
|
;; "*helm*" "*helm recentf*" "*helm projectile*" "*helm imenu*"
|
|
|
|
;; "*helm company*" "*helm buffers*" "*Helm Css SCSS*" "*helm-ag*"
|
|
|
|
;; "*helm-ag-edit*" "*Helm Swoop*" "*helm M-x*" "*helm mini*"
|
|
|
|
;; "*Helm Completions*" "*Helm Find Files*" "*helm mu*"
|
|
|
|
;; "*helm mu contacts*" "*helm-mode-describe-variable*"
|
|
|
|
;; "*helm-mode-describe-function*"
|
2016-05-21 23:12:50 -04:00
|
|
|
;; Org
|
|
|
|
"*Org todo*" "*Org Links*" "*Agenda Commands*")
|
2016-05-23 17:14:51 -04:00
|
|
|
"List of buffer names to ignore when using `winner-undo', or `winner-redo'")
|
2016-05-21 23:12:50 -04:00
|
|
|
|
2016-05-23 17:14:51 -04:00
|
|
|
(defvar doom-cleanup-processes-alist
|
2016-05-21 23:12:50 -04:00
|
|
|
'(("pry" . ruby-mode)
|
|
|
|
("irb" . ruby-mode)
|
|
|
|
("ipython" . python-mode))
|
|
|
|
"An alist of (process-name . major-mode), that `doom:cleanup-processes' checks
|
|
|
|
before killing processes. If there are no buffers with matching major-modes, it
|
2016-05-23 17:14:51 -04:00
|
|
|
gets killed.")
|
2016-05-21 23:12:50 -04:00
|
|
|
|
2016-05-23 17:14:51 -04:00
|
|
|
(defvar doom-project-root-files
|
2016-06-04 23:36:10 -04:00
|
|
|
'(".git" ".hg" ".svn" "rebar.config" "project.clj" "SConstruct" "pom.xml"
|
|
|
|
"build.sbt" "build.gradle" "Gemfile" "requirements.txt" "package.json"
|
2016-05-21 23:12:50 -04:00
|
|
|
"gulpfile.js" "Gruntfile.js" "bower.json" "composer.json" "Cargo.toml"
|
2016-06-04 23:36:10 -04:00
|
|
|
"mix.exs" "tsconfig.json")
|
2016-05-21 23:12:50 -04:00
|
|
|
"A list of files that count as 'project files', which determine whether a
|
2016-05-23 17:14:51 -04:00
|
|
|
folder is the root of a project or not.")
|
2016-05-21 23:12:50 -04:00
|
|
|
|
2016-06-05 23:03:47 -04:00
|
|
|
(defvar doom-unicode-font
|
|
|
|
(font-spec :family "DejaVu Sans Mono" :size 13)
|
|
|
|
"Font to fall back to for unicode glyphs.")
|
|
|
|
|
2016-05-21 23:12:50 -04:00
|
|
|
(provide 'core-vars)
|
|
|
|
;;; core-vars.el ends here
|