nvim: add autocmd
This commit is contained in:
parent
4e79a02f38
commit
6ce0e290ee
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ command! WQA wqa
|
||||||
command! Set set
|
command! Set set
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- Quit even if there are more files to edit (files passed from the command line)
|
||||||
|
vim.cmd 'au QuitPre * args %'
|
||||||
|
|
||||||
-- Go to previous file, but faster
|
-- Go to previous file, but faster
|
||||||
vim.cmd 'command! P previous'
|
vim.cmd 'command! P previous'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue