Set EDITOR to vim

This commit is contained in:
ViViDboarder 2020-11-19 11:47:31 -08:00
parent ef344dfb4d
commit 23d12147d2
3 changed files with 12 additions and 0 deletions

View File

@ -80,6 +80,10 @@ fi
# Increase memory sizes for java using Ant # Increase memory sizes for java using Ant
export ANT_OPTS="-Xmx2048m -Xms512m" export ANT_OPTS="-Xmx2048m -Xms512m"
# Set vim to default editor
export EDITOR=vim
export VISUAL="$EDITOR"
# Set file as having been loaded to avoid looping # Set file as having been loaded to avoid looping
IS_BASHRC_LOADED=true IS_BASHRC_LOADED=true
# If an interactive shell and .bash_profile hasn't been loaded, load it # If an interactive shell and .bash_profile hasn't been loaded, load it

View File

@ -147,4 +147,8 @@ if [ -n "$FZF_DEFAULT_COMMAND" ]; then
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND \$dir" export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND \$dir"
fi fi
# Set vim to default editor
export EDITOR=vim
export VISUAL="$EDITOR"
# vim: set filetype=zsh: # vim: set filetype=zsh:

View File

@ -6,6 +6,10 @@ set -gx XDG_CACHE_HOME "$HOME/.cache"
# Increase memory sizes for java using Ant # Increase memory sizes for java using Ant
set -gx ANT_OPTS "-Xmx2048m -Xms512m" set -gx ANT_OPTS "-Xmx2048m -Xms512m"
# Set default editor to vim
set -gx EDITOR vim
set -gx VISUAL "$EDITOR"
# Interractive env variables # Interractive env variables
if status --is-interactive if status --is-interactive
# FZF # FZF