1.0 KiB
1.0 KiB
title, type, permalink, tags
| title | type | permalink | tags | |||
|---|---|---|---|---|---|---|
| tmux-shift-enter-fix | plan | dotfiles/plans/tmux-shift-enter-fix |
|
tmux Shift+Enter Fix
Goal
Inside tmux, pressing Shift+Enter should insert a literal newline instead of submitting the command line.
Decision
- [decision] Preserve tmux extended-keys support and apply the smallest possible fix at the tmux layer.
- [decision] Use
bind-key -n S-Enter send-keys "\n"in~/.tmux.confinstead of disablingextended-keysor adding shell-specific bindings.
Tasks
- Add a tmux root-table binding for
S-Enter - Verify tmux loads the config and exposes the expected binding
- Check documentation coverage for this config tweak
Acceptance criteria
~/.tmux.confcontains an explicitS-Enterbinding that sends a newline.- Existing
extended-keyssettings remain enabled. - After sourcing the config, tmux shows the
S-Enterroot binding.
Workstream
- Single workstream in the main repo working tree.
Findings tracker
- None.
Relations
- related_to knowledge