Prepare for nvim

This commit is contained in:
Tobias Reisinger 2023-04-02 19:27:03 +02:00
parent 807818911d
commit 65f913310a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 16 additions and 4 deletions

View file

@ -77,6 +77,8 @@ alias xdebug='XDEBUG_CONFIG="remote_host=127.0.0.1 remote_port=9003"'
[ -x "$(command -v moar)" ] && alias less='moar'
[ -x "$(command -v nvim)" ] && alias vim='nvim'
[ -x "$(command -v rmtrash)" ] && alias rm='rmtrash'
[ -x "$(command -v rmdirtrash)" ] && alias rmdir='rmdirtrash'

View file

@ -28,6 +28,7 @@ export DOCKER_BUILDKIT=1
export DRONE_SERVER='https://ci.serguzim.me'
_editor="$(which vim)"
[ -x "$(command -v nvim)" ] && _editor="$(which nvim)"
export EDITOR="$_editor"
export GOPATH="$XDG_DATA_HOME/go"