]> git.lizzy.rs Git - micro.git/commit
Adds command "tabmove ±n", for better tab management (#1636)
authorJeff Warner <jwarner112@users.noreply.github.com>
Fri, 15 May 2020 01:51:49 +0000 (18:51 -0700)
committerGitHub <noreply@github.com>
Fri, 15 May 2020 01:51:49 +0000 (21:51 -0400)
commitd0f7ecf9caf2e9516257478303619d6cfbe5135f
tree91b2cf5f66a0ed79f16c5b329175bbe7d5c2a066
parentfb35e0312a3d2e9456b966e362fa2356931fc62b
Adds command "tabmove ±n", for better tab management (#1636)

* Adds command "tabmove ±n", for better tab management

* Added tabmove to help:commands

* Replace uses of util.Min, util.Max with util.Clamp

Browsing code and discovered `util.Clamp`, ideal for this section of my code

* oops, missed an arg

* Typo, again
internal/action/command.go
runtime/help/commands.md