https://github.com/cappyzawa/vf
format output for opening file by using vim
https://github.com/cappyzawa/vf
go vim
Last synced: 3 months ago
JSON representation
format output for opening file by using vim
- Host: GitHub
- URL: https://github.com/cappyzawa/vf
- Owner: cappyzawa
- License: mit
- Created: 2019-09-22T21:35:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-23T17:34:26.000Z (over 5 years ago)
- Last Synced: 2025-01-05T11:28:12.304Z (4 months ago)
- Topics: go, vim
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vf
[](https://github.com/cappyzawa/vf/actions)
[](https://goreportcard.com/report/github.com/cappyzawa/vf)
[](https://codecov.io/gh/cappyzawa/vf)
[](https://opensource.org/licenses/MIT)vf is formatter for vim.
## Install
```bash
$ go get github.com/cappyzawa/vf/cmd/vf
```## Example
```bash
$ golint ./...
cmd/vf/main.go:30:1: exported method CLI.Run should have comment or be unexported# with vf
$ golint ./... | vf
cmd/vf/main.go +30:1: exported method CLI.Run should have comment or be unexported
```Vim can open a file and jump the line by using `+`.
```bash
$ vim cmd/vf/main.go +30
```