about summary refs log blame commit diff stats
path: root/emacs-prelude/personal/lisp/init-misc.el
blob: e25556d9601cac627176c863db96b05237512d03 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                
                                     

                                           



                                  
 



                                             
                                    





                                                                                    




                                               
                    
(prelude-require-package 'envrc)
(use-package envrc
 :diminish
 :config
 (envrc-global-mode))

(prelude-require-package 'rg)
(use-package rg
  :config
  (rg-enable-default-bindings))

(prelude-require-package 'restclient)
(use-package restclient
  :mode (("\\.http\\'" . restclient-mode)))

(prelude-require-package 'es-mode)
(use-package es-mode
  :mode "\.es\'")

(prelude-require-package 'multi-vterm)
(use-package multi-vterm
  :init (unbind-key "C-c t" prelude-mode-map)
  :bind (("C-c t" . multi-vterm-next)
         ("C-c C-M-t" . multi-vterm)
         (:map vterm-mode-map
               ("C-a" . vterm-send-C-a) ; TODO the crux binding is taking precedence
               ("C-c C-a" . vterm-send-C-a)
               ("M-[" . multi-vterm-prev)
               ("M-]" . multi-vterm-next))))

(use-package dired
  :ensure nil
  :custom
  (dired-kill-when-opening-new-dired-buffer t))

(provide 'init-misc)