1
0
Fork 0

fish, zsh: make helix the default editor

This commit is contained in:
Von Random 2024-11-27 16:03:38 +02:00
parent 3526533cd3
commit cc65dbd03c
2 changed files with 6 additions and 3 deletions

View file

@ -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 ""

View file

@ -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=