From 7e4ec818f2834ecb4e8b7a67731f8e8f92a7b7b5 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 29 Mar 2024 23:56:00 -0400 Subject: Adjust 'editor' settings --- .config/git/config | 2 +- .local/bin/emcl | 2 +- .profile | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/git/config b/.config/git/config index 639b262..e9f8388 100644 --- a/.config/git/config +++ b/.config/git/config @@ -11,7 +11,7 @@ [core] # autocrlf = input # CRLF -> LF on commit - editor = vim + # editor = emacsclient -t pager = less [mailmap] diff --git a/.local/bin/emcl b/.local/bin/emcl index b0f2de2..c01932b 100755 --- a/.local/bin/emcl +++ b/.local/bin/emcl @@ -1,2 +1,2 @@ #!/bin/sh -exec emacsclient --alternate-editor="" -c "$@" +exec emacsclient -t -c "$@" diff --git a/.profile b/.profile index 1f12704..bdbe88d 100644 --- a/.profile +++ b/.profile @@ -13,7 +13,8 @@ if [ -f "$HOME/.config/$(hostname).profile" ]; then . "$HOME/.config/$(hostname).profile" fi -export EDITOR=vim +export EDITOR=vi +export VISUAL=emcl export GPG_TTY=$(tty) PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH" -- cgit v1.2.3-60-g2f50