Banished custom variables, fixed hs-minor-mode invocation.
This commit is contained in:
parent
2fb16ecd40
commit
4a9d8210cd
20
init.el
20
init.el
|
@ -91,6 +91,9 @@
|
||||||
(list (region-beginning) (region-end))
|
(list (region-beginning) (region-end))
|
||||||
(list (line-beginning-position) (line-beginning-position 2)))))))
|
(list (line-beginning-position) (line-beginning-position 2)))))))
|
||||||
|
|
||||||
|
;; Banish customizations to another file
|
||||||
|
(setq custom-file (concat user-emacs-directory "custom.el"))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;; Keybindings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;; Keybindings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Next/Previous buffer
|
;; Next/Previous buffer
|
||||||
(global-set-key (kbd "C-c <left>") 'previous-buffer)
|
(global-set-key (kbd "C-c <left>") 'previous-buffer)
|
||||||
|
@ -261,7 +264,7 @@
|
||||||
(electric-pair-mode t)
|
(electric-pair-mode t)
|
||||||
|
|
||||||
;; Folding
|
;; Folding
|
||||||
(hs-minor-mode)
|
(add-hook 'prog-mode-hook #'hs-minor-mode)
|
||||||
(use-package fold-dwim
|
(use-package fold-dwim
|
||||||
:bind
|
:bind
|
||||||
("<f7>" . fold-dwim-toggle)
|
("<f7>" . fold-dwim-toggle)
|
||||||
|
@ -495,18 +498,3 @@
|
||||||
|
|
||||||
(provide 'init)
|
(provide 'init)
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
(custom-set-variables
|
|
||||||
;; custom-set-variables was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
'(package-selected-packages
|
|
||||||
(quote
|
|
||||||
(mwim fold-dwim ido-sort-mtime ido-sort-mtime-mode doom-themes doom-modeline all-the-icons zenburn-theme use-package tabbar-ruler spaceline smart-comment realgud projectile popup nginx-mode neotree multiple-cursors monokai-theme markdown-mode magit irony-eldoc hl-todo flycheck-rtags flycheck-irony flx-ido fill-column-indicator crontab-mode counsel company-rtags company-nginx company-irony-c-headers company-irony company-flx cmake-ide benchmark-init base16-theme autothemer auto-package-update adoc-mode))))
|
|
||||||
(custom-set-faces
|
|
||||||
;; custom-set-faces was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
'(tabbar-selected (nil :background "#333638" :foreground "LightGray" :family "Sans Serif" :bold t))
|
|
||||||
'(tabbar-unselected (nil :background "#1C1E1F" :foreground "DarkGray" :family "Sans Serif" :italic t)))
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
127.0.0.1:51313 18408
|
127.0.0.1:51313 23545
|
||||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
Loading…
Reference in New Issue
Block a user