Support ALTERNATE_EDITOR environment variable
This simplies the `e` alias and the EDITOR variable definition.
This commit is contained in:
parent
3dd58b01bd
commit
e59898f00f
2 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ alias ls="exa"
|
||||||
alias ll="exa -l"
|
alias ll="exa -l"
|
||||||
alias la="exa -la"
|
alias la="exa -la"
|
||||||
alias lorem="echo Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
alias lorem="echo Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
||||||
alias e="emacsclient --no-wait --alternate-editor=vim"
|
alias e="emacsclient --no-wait"
|
||||||
alias d="docker"
|
alias d="docker"
|
||||||
alias dps="docker ps"
|
alias dps="docker ps"
|
||||||
alias dpsa="docker ps -a"
|
alias dpsa="docker ps -a"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
export TERMINAL=urxvtc
|
export TERMINAL=urxvtc
|
||||||
export EDITOR=emacsclient
|
export EDITOR=emacsclient
|
||||||
|
export ALTERNATE_EDITOR=nvim
|
||||||
|
|
||||||
BROWSER=google-chrome
|
BROWSER=google-chrome
|
||||||
NIXIFY="$HOME/programming/nixify"
|
NIXIFY="$HOME/programming/nixify"
|
||||||
|
|
Loading…
Reference in a new issue