fish, zsh: make helix the default editor
This commit is contained in:
parent
3526533cd3
commit
cc65dbd03c
2 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
set -x LESS 'i n M R S'
|
||||
set -x PAGER less
|
||||
set -x EDITOR nvim
|
||||
set -x EDITOR hx
|
||||
set -x TIME_STYLE long-iso
|
||||
set -x SSH_AUTH_SOCK "$HOME/.ssh/ssh_auth_sock"
|
||||
set -x ALTERNATE_EDITOR ""
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# disable the bloody ^S / ^Q, I use tmux all the time anyway
|
||||
# disable the bloody ^S / ^Q
|
||||
stty -ixon
|
||||
setopt APPEND_HISTORY EXTENDED_HISTORY HIST_IGNORE_DUPS EXTENDED_GLOB AUTO_CD AUTO_PUSHD PRINT_EXIT_VALUE
|
||||
unsetopt BEEP NO_MATCH NOTIFY MENU_COMPLETE AUTO_MENU
|
||||
|
@ -7,9 +7,12 @@ SAVEHIST=1000
|
|||
HISTSIZE=1000
|
||||
HISTFILE=$HOME/.histfile.$UID
|
||||
|
||||
EDITOR=vim
|
||||
whence hx >/dev/null && EDITOR=hx
|
||||
|
||||
export EDITOR
|
||||
export LESS='i M R'
|
||||
export PAGER=less
|
||||
export EDITOR=nvim
|
||||
export TIME_STYLE=long-iso
|
||||
export ALTERNATE_EDITOR=
|
||||
|
||||
|
|
Loading…
Reference in a new issue