aboutsummaryrefslogtreecommitdiff
path: root/vifm
diff options
context:
space:
mode:
Diffstat (limited to 'vifm')
-rw-r--r--vifm/.config/vifm/vifmrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vifm/.config/vifm/vifmrc b/vifm/.config/vifm/vifmrc
index a199c8e..314e2ee 100644
--- a/vifm/.config/vifm/vifmrc
+++ b/vifm/.config/vifm/vifmrc
@@ -401,6 +401,7 @@ set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
" Start shell in current directory
nnoremap s :shell<cr>
+nnoremap q :execute '!echo %d > ~/.config/vifm/lastdir' | quit<cr>
" Display sorting dialog
nnoremap S :sort<cr>