betterterm 2.0.4 → 2.0.6
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 +4 -4
- 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: let Ghostty handle
|
|
14
|
-
set -g copy-command "pbcopy"
|
|
13
|
+
# Clipboard: let Ghostty handle mouse selection and copy natively
|
|
15
14
|
set -s set-clipboard on
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
unbind -T root MouseDrag1Pane
|
|
16
|
+
unbind -T copy-mode MouseDragEnd1Pane
|
|
17
|
+
unbind -T copy-mode-vi MouseDragEnd1Pane
|
|
18
18
|
|
|
19
19
|
# Start window/pane numbering at 1
|
|
20
20
|
set -g base-index 1
|