]> git.lizzy.rs Git - micro.git/commit
home toggles between start of line and start of text
authorJT Olio <hello@jtolio.com>
Thu, 5 Apr 2018 21:25:30 +0000 (15:25 -0600)
committerJT Olio <hello@jtolio.com>
Thu, 5 Apr 2018 21:25:34 +0000 (15:25 -0600)
commitf8a171379a1922c7fb211a3524e94b26b7497060
tree58efbd1915564ff84c50ea729df26e1c0a243c1f
parent1a62ede32054d03a17391e6e6033fd7402cde12b
home toggles between start of line and start of text

by default home sends the cursor to the beginning of the line.
if the cursor is at the beginning of the line already though, home
will send the cursor to the first non-whitespace rune. tapping home
will toggle between these two line starts.
cmd/micro/actions.go
cmd/micro/cursor.go