summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-03-29 23:56:00 -0400
committerAmin Bandali <bandali@kelar.org>2024-03-29 23:56:00 -0400
commit7e4ec818f2834ecb4e8b7a67731f8e8f92a7b7b5 (patch)
tree29f24a8e11ed628aec0872177df753c8d6689c03
parent31dd3a239cfa8ca3fa8af9e24c1f71e5d6017859 (diff)
downloadconfigs-7e4ec818f2834ecb4e8b7a67731f8e8f92a7b7b5.tar.gz
configs-7e4ec818f2834ecb4e8b7a67731f8e8f92a7b7b5.tar.xz
configs-7e4ec818f2834ecb4e8b7a67731f8e8f92a7b7b5.zip
Adjust 'editor' settings
Diffstat (limited to '')
-rw-r--r--.config/git/config2
-rwxr-xr-x.local/bin/emcl2
-rw-r--r--.profile3
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"