added shortcuts for config files
This commit is contained in:
parent
4782e0c1db
commit
f795dc9d0e
12
.spacemacs
12
.spacemacs
@ -709,6 +709,8 @@ dump."
|
|||||||
(spacemacs/declare-prefix "oa" "applications")
|
(spacemacs/declare-prefix "oa" "applications")
|
||||||
(spacemacs/declare-prefix "oc" "comments")
|
(spacemacs/declare-prefix "oc" "comments")
|
||||||
(spacemacs/declare-prefix "of" "files")
|
(spacemacs/declare-prefix "of" "files")
|
||||||
|
(spacemacs/declare-prefix "ofi" "i3 config")
|
||||||
|
(spacemacs/declare-prefix "ofp" "polybar config")
|
||||||
(spacemacs/declare-prefix "og" "gnus")
|
(spacemacs/declare-prefix "og" "gnus")
|
||||||
(spacemacs/declare-prefix "oi" "insert")
|
(spacemacs/declare-prefix "oi" "insert")
|
||||||
(spacemacs/declare-prefix "oii" "invisible space")
|
(spacemacs/declare-prefix "oii" "invisible space")
|
||||||
@ -1087,10 +1089,10 @@ double-quotes matter and must be escaped appropriately."
|
|||||||
(if (listp filename)
|
(if (listp filename)
|
||||||
(loop for f in filename do (find-file f wildcards))
|
(loop for f in filename do (find-file f wildcards))
|
||||||
ad-do-it))
|
ad-do-it))
|
||||||
(defalias 'ei3 (lambda ()
|
(defun eshell-new()
|
||||||
(find-file-other-window "~/.config/i3/config")))
|
"Open a new instance of eshell."
|
||||||
(defalias 'epoly (lambda ()
|
(interactive)
|
||||||
(find-file-other-window "~/.config/polybar/config")))
|
(eshell 'N))
|
||||||
(defalias 'open 'find-file)
|
(defalias 'open 'find-file)
|
||||||
(defalias 'openo 'find-file-other-window)
|
(defalias 'openo 'find-file-other-window)
|
||||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||||
@ -1114,7 +1116,7 @@ double-quotes matter and must be escaped appropriately."
|
|||||||
(with-face "➜" :foreground "#2345ba"))
|
(with-face "➜" :foreground "#2345ba"))
|
||||||
" ")))
|
" ")))
|
||||||
(setq eshell-visual-commands
|
(setq eshell-visual-commands
|
||||||
'("fish" "zsh" "bash" "tmux" "htop" "top" "vim" "bat")
|
'("fish" "zsh" "bash" "tmux" "htop" "top" "vim" "bat" "nano")
|
||||||
eshell-visual-subcommands
|
eshell-visual-subcommands
|
||||||
'("git" "log" "l" "diff" "show")
|
'("git" "log" "l" "diff" "show")
|
||||||
eshell-prompt-regexp "^[^#$\n]*[#$] "
|
eshell-prompt-regexp "^[^#$\n]*[#$] "
|
||||||
|
Loading…
Reference in New Issue
Block a user