mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
f3fd89af54
Many thangs to the hard work and generous availability of: git@github.com:Misterio77/nix-config.git
13 lines
653 B
Diff
13 lines
653 B
Diff
diff --git a/plugin/number_toggle.vim b/plugin/number_toggle.vim
|
|
index d5dad54..80aa97e 100644
|
|
--- a/plugin/number_toggle.vim
|
|
+++ b/plugin/number_toggle.vim
|
|
@@ -4,6 +4,6 @@
|
|
|
|
augroup numbertoggle
|
|
autocmd!
|
|
- autocmd BufEnter,FocusGained,InsertLeave,WinEnter * if &nu && mode() != "i" | set rnu | endif
|
|
- autocmd BufLeave,FocusLost,InsertEnter,WinLeave * if &nu | set nornu | endif
|
|
+ autocmd BufEnter,FocusGained,InsertLeave,WinEnter,CmdlineLeave * if &nu && mode() != "i" | set rnu | endif
|
|
+ autocmd BufLeave,FocusLost,InsertEnter,WinLeave,CmdlineEnter * if &nu | set nornu | redraw | endif
|
|
augroup END
|