File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff 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
3939export 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+ ```
You can’t perform that action at this time.
0 commit comments