Skip to content

Commit c11af42

Browse files
authored
fix(write): ctrl+j not making new line (#819)
1 parent 30bc180 commit c11af42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

write/command.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ func (o Options) Run() error {
6060
keymap: defaultKeymap(),
6161
}
6262

63+
m.textarea.KeyMap.InsertNewline = m.keymap.InsertNewline
64+
6365
ctx, cancel := timeout.Context(o.Timeout)
6466
defer cancel()
6567

0 commit comments

Comments
 (0)