From 3d0adc7c814718d7a573fb8e1217fb255b7704f4 Mon Sep 17 00:00:00 2001 From: minhtrannhat Date: Sun, 26 Sep 2021 20:02:12 -0400 Subject: [PATCH] Web mode lsp and emacs shortcut --- doom-emacs/.doom.d/init.el | 7 +++---- sway/.config/sway/config | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/doom-emacs/.doom.d/init.el b/doom-emacs/.doom.d/init.el index 0a49989..65fc66e 100644 --- a/doom-emacs/.doom.d/init.el +++ b/doom-emacs/.doom.d/init.el @@ -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 diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 77b941c..b4448d2 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -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