aboutsummaryrefslogtreecommitdiff
path: root/.kshrc
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2025-02-05 21:54:33 +0000
committerJustine Smithies <justine@smithies.me.uk>2025-02-05 21:54:33 +0000
commitac6a7d2ad371135d8e7b8f8ea8c374c1fb839eaf (patch)
treee7b09d55bbea39a963d5056f000a9a8b2d3595f7 /.kshrc
parent8e30a56f87625fcd69164fb450b615f33fbc3716 (diff)
Switched editors from hx to nvim and added set -o emacs so ctrl r works still.
Diffstat (limited to '.kshrc')
-rw-r--r--.kshrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/.kshrc b/.kshrc
index b8102f8..46fa81a 100644
--- a/.kshrc
+++ b/.kshrc
@@ -49,8 +49,8 @@ __get_current_git_branch_name() {
PS1="\[\e[1;32m\]\u@\h \[\e[1;34m\]\w\[\e[0m\] \[\e[1;31m\]\$(__get_current_git_branch_name)\[\e[0m\] $ "
COLORTERM="truecolor"
-EDITOR="hx"
-VISUAL="hx"
+EDITOR="nvim"
+VISUAL="nvim"
STARSHIP_CONFIG=~/.config/starship/config.toml
BROWSER="qutebrowser"
XDG_CONFIG_HOME="$HOME/.config"
@@ -104,6 +104,9 @@ online scrub set split status upgrade
# Turn off export all
set +o allexport
+# Set emacs mode so ctrl r works
+set -o emacs
+
if [ "$(tty)" = "/dev/ttyv0" ]; then
exec dbus-run-session river > /dev/null 2>&1
fi