betterterm 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configs/ghostty.conf +2 -2
- package/configs/tmux.conf +3 -3
- package/package.json +1 -1
package/configs/ghostty.conf
CHANGED
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
# Launch tmux with betterterm
|
|
4
4
|
command = ~/.local/bin/betterterm.sh
|
|
5
5
|
|
|
6
|
-
# Let Ghostty handle copy/paste natively
|
|
6
|
+
# Let Ghostty handle copy/paste natively
|
|
7
7
|
clipboard-read = allow
|
|
8
8
|
clipboard-write = allow
|
|
9
|
-
copy-on-select = clipboard
|
|
10
9
|
|
|
11
10
|
# Cmd shortcuts → tmux (sends Ctrl+B prefix then the key)
|
|
12
11
|
keybind = cmd+e=text:\x02e
|
|
@@ -22,6 +21,7 @@ keybind = cmd+y=text:\x02b
|
|
|
22
21
|
keybind = cmd+shift+y=text:\x02B
|
|
23
22
|
keybind = cmd+l=text:\x02l
|
|
24
23
|
keybind = opt+enter=text:\x0d
|
|
24
|
+
keybind = cmd+enter=text:\x0d
|
|
25
25
|
keybind = cmd+t=text:\x02c
|
|
26
26
|
keybind = cmd+]=text:\x02n
|
|
27
27
|
keybind = cmd+[=text:\x02p
|
package/configs/tmux.conf
CHANGED
|
@@ -10,11 +10,11 @@ set -ga update-environment "TERM TERM_PROGRAM TERM_PROGRAM_VERSION"
|
|
|
10
10
|
# Mouse support (resize panes by dragging borders, click to focus, scroll)
|
|
11
11
|
set -g mouse on
|
|
12
12
|
|
|
13
|
-
# Clipboard:
|
|
13
|
+
# Clipboard: copy to system clipboard, keep selection visible
|
|
14
14
|
set -g copy-command "pbcopy"
|
|
15
15
|
set -s set-clipboard on
|
|
16
|
-
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe
|
|
17
|
-
bind -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe
|
|
16
|
+
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe "pbcopy"
|
|
17
|
+
bind -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe "pbcopy"
|
|
18
18
|
|
|
19
19
|
# Start window/pane numbering at 1
|
|
20
20
|
set -g base-index 1
|