Quit vim on backspace in oil
This commit is contained in:
parent
d58be60b82
commit
7d6a6ae13c
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue