Update core-vars.el
This commit is contained in:
parent
986804bde2
commit
bbcd5b1ecd
1 changed files with 11 additions and 18 deletions
|
@ -1,16 +1,16 @@
|
||||||
;;; core-vars.el
|
;;; core-vars.el
|
||||||
|
|
||||||
(defcustom doom-unreal-buffers
|
(defvar doom-leader "," "Prefix for <leader> bindings")
|
||||||
|
(defvar doom-localleader "\\" "Prefix for <localleader> bindings")
|
||||||
|
|
||||||
|
(defvar doom-unreal-buffers
|
||||||
'("^ ?\\*.+" image-mode dired-mode reb-mode messages-buffer-mode
|
'("^ ?\\*.+" image-mode dired-mode reb-mode messages-buffer-mode
|
||||||
tabulated-list-mode comint-mode magit-mode)
|
tabulated-list-mode comint-mode magit-mode)
|
||||||
"A list of regexps or modes whose buffers are considered unreal, and will be
|
"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
|
ignored when using `doom:next-real-buffer' and `doom:previous-real-buffer' (or
|
||||||
killed by `doom/kill-unreal-buffers', or after `doom/kill-real-buffer')."
|
killed by `doom/kill-unreal-buffers', or after `doom/kill-real-buffer').")
|
||||||
:group 'doom
|
|
||||||
:type '(repeat (choice (regexp :tag "Buffer name regexps")
|
|
||||||
(symbol :tag "Major mode"))))
|
|
||||||
|
|
||||||
(defcustom doom-ignore-buffers
|
(defvar doom-ignore-buffers
|
||||||
'("*Completions*" "*Compile-Log*" "*inferior-lisp*" "*Fuzzy Completions*"
|
'("*Completions*" "*Compile-Log*" "*inferior-lisp*" "*Fuzzy Completions*"
|
||||||
"*Apropos*" "*Help*" "*cvs*" "*Buffer List*" "*Ibuffer*" "*NeoTree*"
|
"*Apropos*" "*Help*" "*cvs*" "*Buffer List*" "*Ibuffer*" "*NeoTree*"
|
||||||
"*NeoTree*" "*esh command on file*" "*WoMan-Log*" "*compilation*"
|
"*NeoTree*" "*esh command on file*" "*WoMan-Log*" "*compilation*"
|
||||||
|
@ -24,31 +24,24 @@ killed by `doom/kill-unreal-buffers', or after `doom/kill-real-buffer')."
|
||||||
"*helm-mode-describe-variable*" "*helm-mode-describe-function*"
|
"*helm-mode-describe-variable*" "*helm-mode-describe-function*"
|
||||||
;; Org
|
;; Org
|
||||||
"*Org todo*" "*Org Links*" "*Agenda Commands*")
|
"*Org todo*" "*Org Links*" "*Agenda Commands*")
|
||||||
"List of buffer names to ignore when using `winner-undo', or `winner-redo'"
|
"List of buffer names to ignore when using `winner-undo', or `winner-redo'")
|
||||||
:group 'doom
|
|
||||||
:type '(repeat string))
|
|
||||||
|
|
||||||
(defcustom doom-cleanup-processes-alist
|
(defvar doom-cleanup-processes-alist
|
||||||
'(("pry" . ruby-mode)
|
'(("pry" . ruby-mode)
|
||||||
("irb" . ruby-mode)
|
("irb" . ruby-mode)
|
||||||
("ipython" . python-mode))
|
("ipython" . python-mode))
|
||||||
"An alist of (process-name . major-mode), that `doom:cleanup-processes' checks
|
"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
|
before killing processes. If there are no buffers with matching major-modes, it
|
||||||
gets killed."
|
gets killed.")
|
||||||
:group 'doom
|
|
||||||
:type '(repeat (cons (string :tag "Process name")
|
|
||||||
(symbol :tag "Associated major mode"))))
|
|
||||||
|
|
||||||
(defcustom doom-project-root-files
|
(defvar doom-project-root-files
|
||||||
'(".git" ".hg" ".svn" ".project" "local.properties" "project.properties"
|
'(".git" ".hg" ".svn" ".project" "local.properties" "project.properties"
|
||||||
"rebar.config" "project.clj" "SConstruct" "pom.xml" "build.sbt"
|
"rebar.config" "project.clj" "SConstruct" "pom.xml" "build.sbt"
|
||||||
"build.gradle" "Gemfile" "requirements.txt" "tox.ini" "package.json"
|
"build.gradle" "Gemfile" "requirements.txt" "tox.ini" "package.json"
|
||||||
"gulpfile.js" "Gruntfile.js" "bower.json" "composer.json" "Cargo.toml"
|
"gulpfile.js" "Gruntfile.js" "bower.json" "composer.json" "Cargo.toml"
|
||||||
"mix.exs")
|
"mix.exs")
|
||||||
"A list of files that count as 'project files', which determine whether a
|
"A list of files that count as 'project files', which determine whether a
|
||||||
folder is the root of a project or not."
|
folder is the root of a project or not.")
|
||||||
:group 'doom
|
|
||||||
:type '(repeat string))
|
|
||||||
|
|
||||||
(provide 'core-vars)
|
(provide 'core-vars)
|
||||||
;;; core-vars.el ends here
|
;;; core-vars.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue