Update emacs.org
This commit is contained in:
parent
5e0aefa750
commit
9be05e8d3b
1 changed files with 19 additions and 17 deletions
|
@ -201,7 +201,9 @@ M-x org-bable-tangle
|
||||||
"t" `(:ignore t :which-key "toggles")
|
"t" `(:ignore t :which-key "toggles")
|
||||||
"tt" `(counsel-load-theme :which-key "choose theme")
|
"tt" `(counsel-load-theme :which-key "choose theme")
|
||||||
"e" `(:ignore e :which-key "explorer")
|
"e" `(:ignore e :which-key "explorer")
|
||||||
"ee" `(treemacs :which-key "treemacs")))
|
"ee" `(treemacs :which-key "treemacs")
|
||||||
|
"p" `(:ignore p :which-key "projects")
|
||||||
|
"pp" `(projectile-switch-project :which-key "open project")))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Evil Mode (vim)
|
** Evil Mode (vim)
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -589,18 +591,18 @@ make sure to setup authinfo
|
||||||
(use-package lsp-ivy)
|
(use-package lsp-ivy)
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Languages
|
**** Languages
|
||||||
|
***** HTML/CSS
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package web-mode
|
||||||
|
:mode ("\\.html\\'"
|
||||||
|
"\\.css\\'"))
|
||||||
|
#+end_src
|
||||||
***** Javascript
|
***** Javascript
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package js2-mode
|
(use-package js2-mode
|
||||||
:mode "\\.js\\'"
|
:mode "\\.js\\'"
|
||||||
:hook (js2-mode . lsp))
|
:hook (js2-mode . lsp))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** HTML/CSS
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package web-mode
|
|
||||||
:mode (("\\.html\\" . web-mode)
|
|
||||||
("\\.css\\" . web-mode)))
|
|
||||||
#+end_src
|
|
||||||
***** C/C++
|
***** C/C++
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(add-hook 'c-mode-hook 'lsp)
|
(add-hook 'c-mode-hook 'lsp)
|
||||||
|
|
Loading…
Reference in a new issue