summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i3.conf4
-rw-r--r--zshrc6
2 files changed, 6 insertions, 4 deletions
diff --git a/i3.conf b/i3.conf
index c054c889..b9d1b4d4 100644
--- a/i3.conf
+++ b/i3.conf
@@ -48,7 +48,9 @@ bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+i exec icecat --new-window
bindsym $mod+shift+i exec icecat --new-tab "$(xclip -out)"
bindsym $mod+e exec $EDITOR
-bindsym $mod+slash exec dolphin --new-window
+# Use ASYNC_EDITOR so I can continue using ranger while the editor
+# remains open in a separate window.
+bindsym $mod+slash exec kitty -o term=xterm-kitty -T ranger env "EDITOR=$ASYNC_EDITOR" ranger
bindsym $mod+semicolon exec --no-startup-id nheko
# bindsym $mod+z exec konsole --fullscreen --profile rga-fzf
bindsym $mod+y exec --no-startup-id connect-headphones.sh connect
diff --git a/zshrc b/zshrc
index 24ef3dec..607fec77 100644
--- a/zshrc
+++ b/zshrc
@@ -81,9 +81,9 @@ else
fi
## Aliases
-# Tell emacsclient to return immediately after opening the file. Can't put this
-# in $EDITOR as many programs expect $EDITOR to exit only when done editing.
-alias em='emacsclient -qcn'
+# Use ASYNC_EDITOR so I can continue using the shell while the editor
+# remains open in a separate window.
+alias em="$ASYNC_EDITOR"
alias se='sudo -e'
alias ls='\ls --color=auto -h'
alias la='\ls --color=auto -hA'