diff options
| -rw-r--r-- | .zshrc | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -338,7 +338,6 @@ device="desktop" # can be either "desktop" (default when empty), "server" or "an alias combinepdf="gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=temp.pdf" alias lg="lazygit" - alias v="vim" alias ydl="youtube-dl -o '%(title)s.%(ext)s'" alias ydlba="youtube-dl -o '%(title)s.%(ext)s' --audio-format best -x" @@ -381,13 +380,13 @@ device="desktop" # can be either "desktop" (default when empty), "server" or "an if [[ device != "server" && device != "android" ]]; then - if [[ -x "$(command -v vimx)" ]]; then + if [[ -x "$(command -v vim)" ]]; then # Open vim with .vim-session file, if it exists and the vim command doesn't have any parameters - vim () { + v () { if [ -f ".vim-session" ] && [ -z "$1" ]; then - vimx -S .vim-session + vim -S .vim-session else - vimx $@ + vim $@ fi } fi |
