betterterm 2.0.3 → 2.0.4

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.
@@ -3,6 +3,11 @@
3
3
  # Launch tmux with betterterm
4
4
  command = ~/.local/bin/betterterm.sh
5
5
 
6
+ # Let Ghostty handle copy/paste natively (no tmux flash)
7
+ clipboard-read = allow
8
+ clipboard-write = allow
9
+ copy-on-select = clipboard
10
+
6
11
  # Cmd shortcuts → tmux (sends Ctrl+B prefix then the key)
7
12
  keybind = cmd+e=text:\x02e
8
13
  keybind = cmd+shift+tab=text:\x02\t
package/configs/tmux.conf CHANGED
@@ -10,6 +10,12 @@ 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 copy natively, disable tmux copy-mode on select
14
+ set -g copy-command "pbcopy"
15
+ set -s set-clipboard on
16
+ bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
17
+ bind -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
18
+
13
19
  # Start window/pane numbering at 1
14
20
  set -g base-index 1
15
21
  setw -g pane-base-index 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "betterterm",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Terminal IDE setup: Ghostty + tmux + yazi + carbonyl browser",
5
5
  "bin": {
6
6
  "betterterm": "bin/cli.js"