feat: alternate between go and test files
This commit is contained in:
parent
41f619389e
commit
f5df7be29f
1 changed files with 17 additions and 0 deletions
17
README.md
17
README.md
|
|
@ -142,6 +142,23 @@ require("gopher").setup {
|
||||||
For named tests see `:h gopher.nvim-gotests-named`
|
For named tests see `:h gopher.nvim-gotests-named`
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>
|
||||||
|
<b>Alternate between current and test file</b>
|
||||||
|
</summary>
|
||||||
|
|
||||||
|
```vim
|
||||||
|
" Open alternate test file
|
||||||
|
:GoAlt
|
||||||
|
|
||||||
|
" Open test file in horizontal split
|
||||||
|
:GoAltS
|
||||||
|
|
||||||
|
" Open test file in vertical split
|
||||||
|
:GoAltV
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>
|
<summary>
|
||||||
<b>Run commands like <code>go mod/get/etc</code> inside of nvim</b>
|
<b>Run commands like <code>go mod/get/etc</code> inside of nvim</b>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue