Only write shada when focus changes
This commit is contained in:
parent
b7c97e6be0
commit
487e25bbe5
@ -18,7 +18,7 @@ local autocmds = {
|
||||
{ 'BufRead', '*', [[call setpos(".", getpos("'\""))]] };
|
||||
};
|
||||
save_shada = {
|
||||
{'CursorHold,FocusGained,FocusLost', '*', 'rshada|wshada'};
|
||||
{'FocusGained,FocusLost', '*', 'rshada|wshada'};
|
||||
};
|
||||
resize_windows_proportionally = {
|
||||
{ 'VimResized', '*', ':wincmd =' };
|
||||
|
Loading…
x
Reference in New Issue
Block a user