]> git.lizzy.rs Git - micro.git/commit
Change ctrl-arrow default binding for non-Mac OSes
authorZachary Yedidia <zyedidia@gmail.com>
Tue, 21 Jan 2020 03:35:00 +0000 (22:35 -0500)
committerZachary Yedidia <zyedidia@gmail.com>
Tue, 21 Jan 2020 03:35:00 +0000 (22:35 -0500)
commitb658f94e5a7dce183fed4f230b7458101c82d0af
tree5e025c6608b5ba716ac47158b426ad83c7e4df93
parent0abe4270262ef287799fbb509b1860e9619cf27e
Change ctrl-arrow default binding for non-Mac OSes

On non-Mac operating systems, the default for CtrlLeft/CtrlRight
is now WordLeft and WordRight instead of moving the cursor to the
start and end of lines (now rebound to Alt-Left/Right by default).
Default keybindings are unchanged on Mac.

Fixes #1465
internal/action/bindings.go
internal/action/defaults_darwin.go [new file with mode: 0644]
internal/action/defaults_other.go [new file with mode: 0644]