disable shada read on focusgained
This commit is contained in:
parent
ea267d690f
commit
474fe4cb44
@ -54,7 +54,6 @@ api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
|
|||||||
|
|
||||||
-- Read and write shada file
|
-- Read and write shada file
|
||||||
api.nvim_create_autocmd({ 'FocusLost' }, { command = [[wshada]] })
|
api.nvim_create_autocmd({ 'FocusLost' }, { command = [[wshada]] })
|
||||||
api.nvim_create_autocmd({ 'FocusGained' }, { command = [[rshada]] })
|
|
||||||
|
|
||||||
-- go to last loc when opening a buffer
|
-- go to last loc when opening a buffer
|
||||||
-- api.nvim_create_autocmd(
|
-- api.nvim_create_autocmd(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user