use something else for shada

This commit is contained in:
Oliver Hartmann
2022-05-05 15:26:43 +02:00
parent 4a6de72626
commit 8db95a1880
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,8 @@ api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
})
-- Read and write shada file
api.nvim_create_autocmd({ 'FocusGained', 'FocusLost' }, { command = [[rshada | wshada]] })
api.nvim_create_autocmd({ 'FocusLost' }, { command = [[wshada]] })
api.nvim_create_autocmd({ 'FocusGained' }, { command = [[rshada]] })
-- go to last loc when opening a buffer
api.nvim_create_autocmd(