aboutsummaryrefslogtreecommitdiff
path: root/Shell
diff options
context:
space:
mode:
Diffstat (limited to 'Shell')
-rw-r--r--Shell/.zshrc10
1 files changed, 2 insertions, 8 deletions
diff --git a/Shell/.zshrc b/Shell/.zshrc
index 22349a2..86f18fd 100644
--- a/Shell/.zshrc
+++ b/Shell/.zshrc
@@ -4,6 +4,7 @@
~/.local/scripts/cowfortune
## Aliases
+alias vi="nvim"
alias vim="nvim"
alias less="less -R"
alias sudo="doas"
@@ -17,14 +18,7 @@ alias fzf="fd --hidden | fzf --layout=reverse --height=20"
alias suctl="systemctl --user"
alias sedit="emacsclient -a emacs -c"
alias cedit="emacsclient -a emacs -nw"
-
-vf () {
- vim $(fzf)
-}
-
-ef () {
- sedit $(fzf)
-}
+alias dedit="emacsclient -a emcas -nw --eval '(dired \".\" )'"
psearch () {
pacman -Ss $@ | less