My configuration for micro text editor.
micro -plugin install go
Source: https://github.com/micro-editor/go-plugin
Note: gofmt on save is already enabled; might have to turn on goimports on save if required.
set colorscheme zenburn set softwrap true set wordwrap true set rmtrailingws true set eofnewline on
Note: xclip is needed as clipboard for external copy-paste operations.
We are done here.