mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 12:06:29 +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
|
# 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
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user