From 2255d63d21494271abb7500e814262075cf7086f Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Fri, 4 Sep 2026 15:36:24 +0200 Subject: Disable vim function --- bash/.bashrc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 9ba47fd..9ccd0e3 100755 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -110,17 +110,17 @@ elif exists vi; then export EDITOR="vi" fi -vim() { - vim_bin=$(which $EDITOR) - if [[ -z "$@" ]]; then - $vim_bin - elif [[ -d "$@" ]]; then - dir=$(pwd) - cd $@ && $vim_bin && cd $dir - else - $vim_bin $@ - fi -} +# vim() { +# vim_bin=$(which $EDITOR) +# if [[ -z "$@" ]]; then +# $vim_bin +# elif [[ -d "$@" ]]; then +# dir=$(pwd) +# cd $@ && $vim_bin && cd $dir +# else +# $vim_bin $@ +# fi +# } # Programming language specifics if exists go; then -- cgit v1.3