mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
Merge branch 'master' of gitlab.com:dwt1/dotfiles
This commit is contained in:
@@ -109,6 +109,7 @@
|
|||||||
evil-split-window-below t
|
evil-split-window-below t
|
||||||
evil-undo-system 'undo-redo) ;; Adds vim-like C-r redo functionality
|
evil-undo-system 'undo-redo) ;; Adds vim-like C-r redo functionality
|
||||||
(evil-mode))
|
(evil-mode))
|
||||||
|
|
||||||
(use-package evil-collection
|
(use-package evil-collection
|
||||||
:after evil
|
:after evil
|
||||||
:config
|
:config
|
||||||
@@ -118,8 +119,18 @@
|
|||||||
;; (setq evil-collection-mode-list '(calendar dashboard dired ediff info magit ibuffer))
|
;; (setq evil-collection-mode-list '(calendar dashboard dired ediff info magit ibuffer))
|
||||||
(add-to-list 'evil-collection-mode-list 'help) ;; evilify help mode
|
(add-to-list 'evil-collection-mode-list 'help) ;; evilify help mode
|
||||||
(evil-collection-init))
|
(evil-collection-init))
|
||||||
|
|
||||||
(use-package evil-tutor)
|
(use-package evil-tutor)
|
||||||
|
|
||||||
|
;; Using RETURN to follow links in Org/Evil
|
||||||
|
;; Unmap keys in 'evil-maps if not done, (setq org-return-follows-link t) will not work
|
||||||
|
(with-eval-after-load 'evil-maps
|
||||||
|
(define-key evil-motion-state-map (kbd "SPC") nil)
|
||||||
|
(define-key evil-motion-state-map (kbd "RET") nil)
|
||||||
|
(define-key evil-motion-state-map (kbd "TAB") nil))
|
||||||
|
;; Setting RETURN key in org-mode to follow links
|
||||||
|
(setq org-return-follows-link t)
|
||||||
|
|
||||||
(use-package flycheck
|
(use-package flycheck
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:defer t
|
||||||
@@ -312,6 +323,7 @@
|
|||||||
(dt/leader-keys
|
(dt/leader-keys
|
||||||
"o" '(:ignore t :wk "Open")
|
"o" '(:ignore t :wk "Open")
|
||||||
"o d" '(dashboard-open :wk "Dashboard")
|
"o d" '(dashboard-open :wk "Dashboard")
|
||||||
|
"o e" '(elfeed :wk "Elfeed RSS")
|
||||||
"o f" '(make-frame :wk "Open buffer in new frame")
|
"o f" '(make-frame :wk "Open buffer in new frame")
|
||||||
"o F" '(select-frame-by-name :wk "Select frame by name"))
|
"o F" '(select-frame-by-name :wk "Select frame by name"))
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
- [[#source-code-block-tag-expansion][Source Code Block Tag Expansion]]
|
- [[#source-code-block-tag-expansion][Source Code Block Tag Expansion]]
|
||||||
- [[#perspective][PERSPECTIVE]]
|
- [[#perspective][PERSPECTIVE]]
|
||||||
- [[#projectile][PROJECTILE]]
|
- [[#projectile][PROJECTILE]]
|
||||||
- [[#rainbow-delimters][RAINBOW DELIMTERS]]
|
- [[#rainbow-delimiters][RAINBOW DELIMITERS]]
|
||||||
- [[#rainbow-mode][RAINBOW MODE]]
|
- [[#rainbow-mode][RAINBOW MODE]]
|
||||||
- [[#sane-defaults][SANE DEFAULTS]]
|
- [[#sane-defaults][SANE DEFAULTS]]
|
||||||
- [[#shells-and-terminals][SHELLS AND TERMINALS]]
|
- [[#shells-and-terminals][SHELLS AND TERMINALS]]
|
||||||
@@ -215,6 +215,7 @@ An RSS newsfeed reader for Emacs. Move through the articles with 'j/k'. Move t
|
|||||||
evil-split-window-below t
|
evil-split-window-below t
|
||||||
evil-undo-system 'undo-redo) ;; Adds vim-like C-r redo functionality
|
evil-undo-system 'undo-redo) ;; Adds vim-like C-r redo functionality
|
||||||
(evil-mode))
|
(evil-mode))
|
||||||
|
|
||||||
(use-package evil-collection
|
(use-package evil-collection
|
||||||
:after evil
|
:after evil
|
||||||
:config
|
:config
|
||||||
@@ -224,7 +225,18 @@ An RSS newsfeed reader for Emacs. Move through the articles with 'j/k'. Move t
|
|||||||
;; (setq evil-collection-mode-list '(calendar dashboard dired ediff info magit ibuffer))
|
;; (setq evil-collection-mode-list '(calendar dashboard dired ediff info magit ibuffer))
|
||||||
(add-to-list 'evil-collection-mode-list 'help) ;; evilify help mode
|
(add-to-list 'evil-collection-mode-list 'help) ;; evilify help mode
|
||||||
(evil-collection-init))
|
(evil-collection-init))
|
||||||
|
|
||||||
(use-package evil-tutor)
|
(use-package evil-tutor)
|
||||||
|
|
||||||
|
;; Using RETURN to follow links in Org/Evil
|
||||||
|
;; Unmap keys in 'evil-maps if not done, (setq org-return-follows-link t) will not work
|
||||||
|
(with-eval-after-load 'evil-maps
|
||||||
|
(define-key evil-motion-state-map (kbd "SPC") nil)
|
||||||
|
(define-key evil-motion-state-map (kbd "RET") nil)
|
||||||
|
(define-key evil-motion-state-map (kbd "TAB") nil))
|
||||||
|
;; Setting RETURN key in org-mode to follow links
|
||||||
|
(setq org-return-follows-link t)
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* FLYCHECK
|
* FLYCHECK
|
||||||
@@ -439,6 +451,7 @@ You can use the bindings CTRL plus =/- for zooming in/out. You can also use CTR
|
|||||||
(dt/leader-keys
|
(dt/leader-keys
|
||||||
"o" '(:ignore t :wk "Open")
|
"o" '(:ignore t :wk "Open")
|
||||||
"o d" '(dashboard-open :wk "Dashboard")
|
"o d" '(dashboard-open :wk "Dashboard")
|
||||||
|
"o e" '(elfeed :wk "Elfeed RSS")
|
||||||
"o f" '(make-frame :wk "Open buffer in new frame")
|
"o f" '(make-frame :wk "Open buffer in new frame")
|
||||||
"o F" '(select-frame-by-name :wk "Select frame by name"))
|
"o F" '(select-frame-by-name :wk "Select frame by name"))
|
||||||
|
|
||||||
@@ -727,7 +740,7 @@ Org-tempo is not a separate package but a module within org that can be enabled.
|
|||||||
(projectile-mode 1))
|
(projectile-mode 1))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* RAINBOW DELIMTERS
|
* RAINBOW DELIMITERS
|
||||||
Adding rainbow coloring to parentheses.
|
Adding rainbow coloring to parentheses.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|||||||
Reference in New Issue
Block a user