From 4e79a02f3891f0ce07ad24dc77fb5aac94b040cd Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Thu, 11 Aug 2022 01:04:01 -0700 Subject: [PATCH] nvim: add short command for previous file --- .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 535f1ef..8dae482 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 ]] +-- Go to previous file, but faster +vim.cmd 'command! P previous' + -- Macro for opening a new terminal vim.cmd 'command! Term tabnew | term'