* Miscellaneous tweaks and fixes
Mostly these were found by running golangci-lint with a bunch of linters
(more than the default set) enabled.
* fmt.Fprint -> fmt.Fprintln where possible
* Remove "nolint:staticcheck" for now
* Implement recv mechanism
* Implement recv commands
* Add mutex for state data structure
* Use string to store data instead of byte buffer
* Remove runPagerOn function
* Add history command
* Add documentation
* Add default `maps` command
* Add default `cmds` command
* Reduce locking time
* Remove empty line
* Fix documentation for `recv`
* Add comment about `recv` thread
* Change `recv` to `query`
* Fix comment
* test
* Add comment about connection lifetime
* Map `cmaps` by default
Simplify logic in ui.go. In that diff, `st` would already have the
Reversed flag set; there's no need to set it again.
Also, minor changes to remove all the statickcheck errors VS code's
Go extension complains about.
* Use chan struct{} in place of chan bool
* Revert "nav.checkReg now returns a boolean instead of calling nav.preview"
* Guarantee preview/previewClear ordering
* Pass the file path to the cleaner script