This commit is contained in:
Grant
2018-03-05 09:29:30 -07:00
parent afa311540f
commit f2801cae75
6 changed files with 59 additions and 7 deletions

View File

@@ -1,2 +1,13 @@
(setq auto-mode-alist (append '(("\\.sls$" . yaml-mode))
auto-mode-alist))
(defvar dwlisp-mode-hook nil)
(add-to-list 'auto-mode-alist '("\\.lisp\\'" . dwlisp-mode))
(define-derived-mode dwlisp-mode
lisp-mode "dwlisp"
"major mode for dwlisp"
(setq lisp-body-indent 2))

View File

@@ -28,7 +28,9 @@
("s-=" . text-scale-increase)
("C-c m" . magit-status)
("C-c g" . helm-projectile-grep)
("C-S-s" . helm-occur)
("C-c b" . helm-semantic-or-imenu)
("C-c j" . helm-all-mark-rings)
))
(defun super-emacs-apply-keyboard-bindings (pair)
@@ -38,3 +40,7 @@
(mapc 'super-emacs-apply-keyboard-bindings
super-emacs--my-keyboard-bindings)
(add-hook 'python-mode-hook (lambda ()
(local-set-key (kbd "C-c i") (lambda () (interactive) (
insert "import pdb; pdb.set_trace()")))))

View File

@@ -6,8 +6,8 @@
(t (message "You're not editing a file!"))))
;Disable splash message, start *scratch* buffer by default
(setq initial-buffer-choice
t)
(setq inhibit-startup-screen t
initial-buffer-choice nil)
(setq initial-scratch-message
"")
@@ -20,7 +20,7 @@
;Enable whitespace mode
(global-whitespace-mode)
(setq whitespace-line-column 125)
(setq whitespace-line-column 500)
;Enable winner-mode
(winner-mode t)
@@ -31,6 +31,8 @@
;;keep search highlight
(setq lazy-highlight-cleanup nil)
;turn off bell
(setq ring-bell-function 'ignore)
;;cleanup buffers

View File

@@ -122,12 +122,16 @@
"*.tar.gz"
"*.tgz"
"*.zip"
"*.o"
)
projectile-globally-ignored-files))
(setq projectile-globally-ignored-directories
(append '(
".git"
".svn"
".idea"
".vscode"
"node_modules"
)
projectile-globally-ignored-directories))
)))
@@ -139,4 +143,4 @@
;; (add-to-list 'elpy-default-minor-modes 'flycheck-mode))
;;flycheck
(setq flycheck-flake8-maximum-line-length 125)
(setq flycheck-flake8-maximum-line-length 500)