mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 06:06:32 +00:00
Set EDITOR to vim
This commit is contained in:
parent
ef344dfb4d
commit
23d12147d2
@ -80,6 +80,10 @@ fi
|
||||
# Increase memory sizes for java using Ant
|
||||
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
|
||||
IS_BASHRC_LOADED=true
|
||||
# If an interactive shell and .bash_profile hasn't been loaded, load it
|
||||
|
@ -147,4 +147,8 @@ if [ -n "$FZF_DEFAULT_COMMAND" ]; then
|
||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND \$dir"
|
||||
fi
|
||||
|
||||
# Set vim to default editor
|
||||
export EDITOR=vim
|
||||
export VISUAL="$EDITOR"
|
||||
|
||||
# vim: set filetype=zsh:
|
||||
|
@ -6,6 +6,10 @@ set -gx XDG_CACHE_HOME "$HOME/.cache"
|
||||
# Increase memory sizes for java using Ant
|
||||
set -gx ANT_OPTS "-Xmx2048m -Xms512m"
|
||||
|
||||
# Set default editor to vim
|
||||
set -gx EDITOR vim
|
||||
set -gx VISUAL "$EDITOR"
|
||||
|
||||
# Interractive env variables
|
||||
if status --is-interactive
|
||||
# FZF
|
||||
|
Loading…
Reference in New Issue
Block a user