]> git.lizzy.rs Git - micro.git/commit
a few miscellaneous fixes and improvements (#1105)
authorJT Olio <hello@jtolio.com>
Sun, 13 May 2018 01:31:57 +0000 (19:31 -0600)
committerZachary Yedidia <zyedidia@gmail.com>
Sun, 13 May 2018 01:31:57 +0000 (21:31 -0400)
commitae9bb763fb0083ca856d0579a4d5b1532dd1fc90
tree1e440eb2b9a2967a8a7f5d3cbd465fafeec0fd0c
parent3c01947cb3a556da8df63a3d07b3a5b22c9df336
a few miscellaneous fixes and improvements (#1105)

* add binding for more primitive backspace

* support selecting page up and page down

* fix matchbraceleft for braces that start on x=0

* fix multiline copy-paste indenting

let's say you have two lines like

  <space><space>line1
  <space><space>line2

so you start from cursor x=0 and select both lines, then paste.
we don't want any leading whitespace in this case, because the
cursor is already at x=0 and the selection already includes
whitespace.
cmd/micro/actions.go
cmd/micro/bindings.go
cmd/micro/cellview.go
cmd/micro/view.go
runtime/help/keybindings.md