aboutsummaryrefslogtreecommitdiff
path: root/tw/home/files
diff options
context:
space:
mode:
authorTimo Wilken2024-03-08 16:27:43 +0100
committerTimo Wilken2024-03-08 16:27:43 +0100
commit1bd1b8708b8abaf4a0a9e45d937671ab8ec12ece (patch)
treef10d69e90f2c6cb8a046fdddfc80e45bc2f059ce /tw/home/files
parent73b9f853917454ddcdd482b281377b1c4829a562 (diff)
Start async editor in i3
This means there aren't any pointless "emacsclient" processes hanging around. In interactive environments, we have ASYNC_EDITOR set anyway.
Diffstat (limited to 'tw/home/files')
-rw-r--r--tw/home/files/i3.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tw/home/files/i3.conf b/tw/home/files/i3.conf
index 04768d5c..10ae1133 100644
--- a/tw/home/files/i3.conf
+++ b/tw/home/files/i3.conf
@@ -46,7 +46,7 @@ floating_modifier $mod
bindsym $mod+Return exec kitty "--directory=$(xcwd)"
bindsym $mod+i exec icecat --new-window
bindsym $mod+shift+i exec icecat --new-tab "$(xclip -out)"
-bindsym $mod+e exec $EDITOR
+bindsym $mod+e exec $ASYNC_EDITOR
# Use ASYNC_EDITOR so I can continue using ranger while the editor
# remains open in a separate window.
bindsym $mod+slash exec EDITOR=$ASYNC_EDITOR kitty ranger "$(xcwd)"