-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.el
63 lines (56 loc) · 3.05 KB
/
variables.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
;;; -*- lexical-binding: t; -*-
;;; package --- Summary
;;; Commentary:
;;; Code:
(defvar ido-enable-flex-matching)
(defvar dumb-jump-prefer-searcher)
(defvar yas-prompt-functions)
(defvar path-to-ctags)
(defvar pepe-debug-p)
(defvar pepe--file-name-handler-alist file-name-handler-alist)
;; Define the path to the marker file
(defvar my/font-install-marker-file "~/.emacs.d/.fonts-installed")
(setq-default auto-save-default nil) ;; Stop creating auto #autosave# files
(setq-default auto-window-vscroll nil)
(setq-default blink-cursor-mode t)
(setq-default custom-safe-themes '("bd7b7c5df1174796deefce5debc2d976b264585d51852c962362be83932873d9" default))
(setq-default fast-but-imprecise-scrolling t) ; https://emacs.stackexchange.com/questions/31402/how-to-avoid-scrolling-with-large-files-hanging-for-short-periods-of-time-hold
(setq-default frame-resize-pixelwise t)
(setq-default global-whitespace-mode t)
(setq-default history-delete-duplicates t)
(setq-default history-length 1000)
(setq-default ido-enable-flex-matching t)
(setq-default ido-enable-regexp t)
;(setq-default ido-ignore-files '("\\`CVS/" "\\`#" "\\`.#" "\\`\\.\\./"))
(setq-default indent-line-function 'insert-tab)
(setq-default indent-tabs-mode nil)
(setq-default inhibit-startup-message t) ;; Disable startup messages
(setq-default jit-lock-defer-time 0)
(setq-default kill-read-only-ok t)
(setq-default make-backup-files nil) ;; No backup files ~
(setq-default monokai-background "#000000")
(setq-default path-to-ctags "/usr/bin/ctags") ;; <- your ctags path here
(setq-default redisplay-dont-pause t) ; https://masteringemacs.org/article/improving-performance-emacs-display-engine
(setq-default scroll-step 1) ;; keyboard scroll one line at a time
(setq-default size-indication-mode nil)
(setq-default tab-width 4)
(setq-default whitespace-display-mappings '((tab-mark 9 [187])))
(setq-default whitespace-line-column nil)
(setq-default whitespace-style '(face trailing tabs spaces newline empty indentation space-after-tab space-before-tab space-mark tab-mark newline-mark))
(setq-default yas-prompt-functions '(yas-dropdown-prompt yas-ido-prompt yas-completing-prompt))
(setq-default load-prefer-newer t)
(setq-default pepe-debug-p t)
(setq-default whitespace-style '(face trailing tabs newline empty indentation space-after-tab space-before-tab space-mark tab-mark newline-mark))
(setq-default whitespace-global-modes '(adoc-mode dockerfile-mode js2-mode json-mode markdown-mode php-mode python-mode smarty-mode web-mode yaml-mode))
;(setq projectile-project-search-path '("~/projects/" "~/work/")) ;; Set your project's direcotries copying this line in customvariables.el
(setq prettify-symbols-unprettify-at-point 'right-edge)
(setq-default warning-minimum-level :error)
(setq vc-handled-backends nil)
;; Taken from doom-emacs
;; Adopt a sneaky garbage collection strategy of waiting until idle time to
;; collect; staving off the collector while the user is working.
;; (setq gcmh-idle-delay 5
;; gcmh-high-cons-threshold (* 16 1024 1024) ; 16mb
;; gcmh-verbose pepe-debug-p)
(provide 'variables)
;;; variables.el ends here