betterterm 2.0.3 → 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.
@@ -3,6 +3,10 @@
3
3
  # Launch tmux with betterterm
4
4
  command = ~/.local/bin/betterterm.sh
5
5
 
6
+ # Let Ghostty handle copy/paste natively
7
+ clipboard-read = allow
8
+ clipboard-write = allow
9
+
6
10
  # Cmd shortcuts → tmux (sends Ctrl+B prefix then the key)
7
11
  keybind = cmd+e=text:\x02e
8
12
  keybind = cmd+shift+tab=text:\x02\t
@@ -17,6 +21,7 @@ keybind = cmd+y=text:\x02b
17
21
  keybind = cmd+shift+y=text:\x02B
18
22
  keybind = cmd+l=text:\x02l
19
23
  keybind = opt+enter=text:\x0d
24
+ keybind = cmd+enter=text:\x0d
20
25
  keybind = cmd+t=text:\x02c
21
26
  keybind = cmd+]=text:\x02n
22
27
  keybind = cmd+[=text:\x02p
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: copy to system clipboard, keep selection visible
14
+ set -g copy-command "pbcopy"
15
+ set -s set-clipboard on
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
+
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.5",
4
4
  "description": "Terminal IDE setup: Ghostty + tmux + yazi + carbonyl browser",
5
5
  "bin": {
6
6
  "betterterm": "bin/cli.js"