Web mode lsp and emacs shortcut

This commit is contained in:
minhtrannhat 2021-09-26 20:02:12 -04:00
parent 43ac150ef0
commit 3d0adc7c81
No known key found for this signature in database
GPG Key ID: 894C6A5801E01CA9
2 changed files with 4 additions and 5 deletions

View File

@ -2,7 +2,6 @@
;; This file controls what Doom modules are enabled and what order they load
;; in. Remember to run 'doom sync' after modifying it!
;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
;; documentation. There you'll find a "Module Index" link where you'll find
;; a comprehensive list of Doom's modules and what flags they support.
@ -63,10 +62,10 @@
;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates
snippets ; my elves. They type so I don't have to
;;word-wrap ; soft wrapping with language-aware indent
word-wrap ; soft wrapping with language-aware indent
:emacs
(dired +icons) ; making dired pretty [functional]
(dired +icons +ranger) ; making dired pretty [functional]
electric ; smarter, keyword-based electric-indent
ibuffer ; interactive buffer management
undo ; persistent, smarter undo for your inevitable mistakes
@ -167,7 +166,7 @@
;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
web ; the tubes
(web +lsp) ; the tubes
yaml ; JSON, but readable
;;zig ; C, but simpler

View File

@ -212,7 +212,7 @@ mode "resize" {
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
bindsym $mod+e exec firefox
bindsym $mod+e exec emacs
bindsym $mod+Right workspace next
bindsym $mod+Left workspace prev