|
@ -703,13 +703,16 @@ Some methods must be called and applied to the current call process in order to |
|
|
(apply #'call-process `(,(car command-parts) nil 0 nil ,@(cdr command-parts))))) |
|
|
(apply #'call-process `(,(car command-parts) nil 0 nil ,@(cdr command-parts))))) |
|
|
#+end_src |
|
|
#+end_src |
|
|
|
|
|
|
|
|
+ Run shell commands with =SPC x= |
|
|
|
|
|
+ Run async shell commands with =SPC z= |
|
|
|
|
|
|
|
|
Place keybindings for executing shell commands behind =SPC x=. |
|
|
|
|
|
|
|
|
|
|
|
+ Run shell commands with =x= |
|
|
|
|
|
+ Run async shell commands with =z= |
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
#+begin_src emacs-lisp |
|
|
(dotfiles/leader |
|
|
(dotfiles/leader |
|
|
"x" '(dotfiles/run :which-key "Run") |
|
|
|
|
|
"z" '(async-shell-command :which-key "Async")) |
|
|
|
|
|
|
|
|
"x" '(:ignore t :which-key "Run") |
|
|
|
|
|
"xx" '(dotfiles/run :which-key "Run") |
|
|
|
|
|
"xz" '(async-shell-command :which-key "Async")) |
|
|
#+end_src |
|
|
#+end_src |
|
|
|
|
|
|
|
|
*** Displays |
|
|
*** Displays |
|
@ -1052,7 +1055,8 @@ http://company-mode.github.io/ |
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
#+begin_src emacs-lisp |
|
|
(use-package company) |
|
|
(use-package company) |
|
|
(use-package company-lsp) |
|
|
|
|
|
|
|
|
(use-package company-lsp |
|
|
|
|
|
:custom (company-backend 'company-lsp)) |
|
|
#+end_src |
|
|
#+end_src |
|
|
|
|
|
|
|
|
*** Languages |
|
|
*** Languages |
|
|