+bindings config for dired
This commit is contained in:
@@ -203,10 +203,13 @@ I import the string type via `using std::string` which isn't supported in standa
|
|||||||
:desc "Calc" ":" #'calc))
|
:desc "Calc" ":" #'calc))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Dired and ranger
|
** Dired and ranger
|
||||||
|
I like doing shell comamnds from dired, but I don't want Emacs to hang when doing them.
|
||||||
|
So, as '!' is a common use command and "&" is the async comamnd, I'll just switcheroo the "!" and "&" for their designated commands.
|
||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
(after! ranger
|
(map!
|
||||||
(setq ranger-cleanup-eagerly t)
|
:map dired-mode-map
|
||||||
(setq ranger-show-hidden t))
|
:n "!" #'dired-do-async-shell-command
|
||||||
|
:n "&" #'dired-do-shell-command)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Compilation
|
** Compilation
|
||||||
Add keybind to recompile (inside the buffer)
|
Add keybind to recompile (inside the buffer)
|
||||||
|
|||||||
Reference in New Issue
Block a user