From 6ce0e290eefd28c75427ba4a02ed05a404673afc Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Thu, 11 Aug 2022 12:25:05 -0700 Subject: [PATCH] nvim: add autocmd --- .config/nvim/lua/blake/settings.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/nvim/lua/blake/settings.lua b/.config/nvim/lua/blake/settings.lua index 8dae482..1de538d 100644 --- a/.config/nvim/lua/blake/settings.lua +++ b/.config/nvim/lua/blake/settings.lua @@ -62,6 +62,9 @@ command! WQA wqa 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 vim.cmd 'command! P previous'