Skip to content

Commit 00a606d

Browse files
committed
Fix shift+enter while in tmux
- anomalyco/opencode#344 (comment)
1 parent 93f4b9e commit 00a606d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.config/opencode/opencode.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://opencode.ai/config.json",
33
"keybinds": {
4-
"input_newline": "ctrl+alt+j"
4+
"input_newline": "shift+enter"
55
}
66
}

‎.config/tmux/tmux.conf‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
set-option -g default-terminal "tmux-256color"
22
set -ga terminal-overrides ",tmux-256color:Tc"
33
set -g mouse on
4+
# Enable Shift-Enter
5+
set -g extended-keys always
46
set -g status-position top
57
# set -g status-position bottom
68
set -g 'status-format[1]' ''

0 commit comments

Comments
 (0)