Browse Source

Change headings order, remove unused variables

master
Riyyi 4 years ago
parent
commit
5dd11f4467
  1. 50
      .emacs.d/config.org

50
.emacs.d/config.org

@ -53,10 +53,10 @@
- [[#package-1][Package]] - [[#package-1][Package]]
- [[#hooks][Hooks]] - [[#hooks][Hooks]]
- [[#key-bindings][Key Bindings]] - [[#key-bindings][Key Bindings]]
- [[#disable-default][Disable default]] - [[#disable-default][Disable Default]]
- [[#default][Default]] - [[#disable-package][Disable Package]]
- [[#disable-package][Disable package]] - [[#set-default][Set Default]]
- [[#package-2][Package]] - [[#set-package][Set Package]]
- [[#leader][Leader]] - [[#leader][Leader]]
- [[#global][Global]] - [[#global][Global]]
- [[#local][Local]] - [[#local][Local]]
@ -386,15 +386,11 @@ On the fly syntax checking.
(lsp-ui-doc-include-signature t) (lsp-ui-doc-include-signature t)
(lsp-ui-doc-position 'top) (lsp-ui-doc-position 'top)
(lsp-ui-doc-use-childframe t) (lsp-ui-doc-use-childframe t)
(lsp-ui-sideline-enable nil)
(lsp-ui-sideline-ignore-duplicate t)
(lsp-ui-sideline-show-code-actions nil)
(lsp-ui-flycheck-enable t) (lsp-ui-flycheck-enable t)
(lsp-ui-flycheck-list-position 'right) (lsp-ui-flycheck-list-position 'right)
(lsp-ui-flycheck-live-reporting t) (lsp-ui-flycheck-live-reporting t)
(lsp-ui-peek-enable nil) (lsp-ui-peek-enable nil)
(lsp-ui-peek-list-width 60) (lsp-ui-sideline-enable nil)
(lsp-ui-peek-peek-height 25)
:commands lsp-ui-mode) :commands lsp-ui-mode)
#+END_SRC #+END_SRC
@ -914,7 +910,9 @@ Useful links:\\
[[https://www.gnu.org/software/emacs/manual/html_node/efaq/Binding-combinations-of-modifiers-and-function-keys.html][GNU binding combinations of modifiers]] \\ [[https://www.gnu.org/software/emacs/manual/html_node/efaq/Binding-combinations-of-modifiers-and-function-keys.html][GNU binding combinations of modifiers]] \\
[[https://github.com/hlissner/doom-emacs/blob/develop/modules/config/default/+evil-bindings.el][Doom Emacs bindings]] [[https://github.com/hlissner/doom-emacs/blob/develop/modules/config/default/+evil-bindings.el][Doom Emacs bindings]]
** Disable default ** Disable Default
Disable keybinds of default modes that clash with the custom keybinds below.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(with-eval-after-load 'org (with-eval-after-load 'org
@ -926,7 +924,22 @@ Useful links:\\
(define-key c-mode-base-map (kbd "C-M-h") nil)) (define-key c-mode-base-map (kbd "C-M-h") nil))
#+END_SRC #+END_SRC
** Default ** Disable Package
Disable keybinds of installed packages that clash with the custom keybinds below.
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'evil-states
(define-key evil-motion-state-map (kbd dot/leader-key) nil))
(with-eval-after-load 'php-mode
(define-key php-mode-map (kbd "M-j") nil)
(define-key php-mode-map (kbd "C-M-h") nil))
#+END_SRC
** Set Default
Set custom keybinds to functionality of default modes.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
;; Buffers ;; Buffers
@ -949,20 +962,9 @@ Useful links:\\
(global-set-key (kbd "<s-backspace>") 'ansi-term) (global-set-key (kbd "<s-backspace>") 'ansi-term)
#+END_SRC #+END_SRC
** Disable package ** Set Package
Disable spacebar in evil motion.
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'evil-states
(define-key evil-motion-state-map (kbd dot/leader-key) nil))
(with-eval-after-load 'php-mode Set custom keybinds to functionality of custom packages.
(define-key php-mode-map (kbd "M-j") nil)
(define-key php-mode-map (kbd "C-M-h") nil))
#+END_SRC
** Package
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
;; Buffers ;; Buffers

Loading…
Cancel
Save