Skip to content

Commit 398e0bf

Browse files
committed
docs: add recommended vim config to readme
1 parent ea957ec commit 398e0bf

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,18 @@ export EDITOR="$HOME/repos/flatnvim/bin/flatnvim"
3434
- If you don't know what this should be, use the path printed by the build.sh script.
3535
- In addition, I personally make aliases to this: `alias vim="$EDITOR`
3636

37-
### Optional: set an extra nvim command to be executed when preventing nested instances.
37+
### Optional: set an extra Neovim command to be executed when preventing nested instances.
3838
```sh
3939
export FLATNVIM_EXTRA_COMMAND="if exists(':AirlineRefresh') == 2 | AirlineRefresh | endif"
4040
```
4141
- I use the command above to refresh my status bar.
42+
43+
44+
## Neovim Configs
45+
46+
### Recommended: disable status line when in terminal mode.
47+
```sh
48+
autocmd TermOpen * setlocal laststatus=0 noshowmode noruler
49+
\| autocmd TermClose * setlocal laststatus=2 showmode ruler
50+
51+
```

0 commit comments

Comments
 (0)