Quit vim on backspace in oil

This commit is contained in:
Thomas Avé 2024-04-21 21:09:04 +02:00
parent d58be60b82
commit 7d6a6ae13c
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ return {
["<leader>v"] = "actions.select_vsplit",
["<leader>s"] = "actions.select_split",
["<leader>p"] = "actions.preview",
["<backspace>"] = "actions.close",
["<backspace>"] = function() vim.cmd("q!") end,
["<leader>r"] = "actions.refresh",
["-"] = function() require("oil").open(); save_dir() end,
["_"] = "actions.open_cwd",