Set a minimal Emacs as the default editor

This commit is contained in:
Ohad Livne 2025-06-04 22:46:24 +03:00
parent cc7ea5a345
commit ce648429fa
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
2 changed files with 3 additions and 0 deletions

View file

@ -1,5 +1,6 @@
#! /usr/bin/bash
alias em="emacs --no-init-file --no-splash --no-window-system"
alias ll="exa --binary --long"
alias la="ll --all"
alias tree="ll --tree"

View file

@ -27,6 +27,8 @@ if [ -d "$HOME/.local/bin" ] ; then
fi
umask 0007
export EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
export VISUAL="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
export XMODIFIERS="@im=fcitx"