forked from trinitrix/core
fix(config/lua): Add a warning, that exiting with <C-c> is not supported
This commit is contained in:
parent
3da75f6913
commit
616cb4274f
|
@ -1,5 +1,5 @@
|
|||
-- create the required tables under `std`
|
||||
trinitrix.std = {keymaps = {}};
|
||||
trinitrix.std = { keymaps = {} };
|
||||
|
||||
--- Add a new keymap. This is just a convenience function which registers the function
|
||||
--- and at the same time deals with the fact that the whole trinitrix api is async.
|
||||
|
@ -28,3 +28,7 @@ trinitrix.std.keymaps.add("n", "<TAB>", trinitrix.api.ui.cycle_planes)
|
|||
trinitrix.std.keymaps.add("ni", "jj", function() print("hi") end)
|
||||
|
||||
trinitrix.std.keymaps.add("n", "q", trinitrix.api.exit)
|
||||
|
||||
|
||||
-- Help people
|
||||
trinitrix.std.keymaps.add("n", "<C-c>", function() print("To exit trinitrix use 'trinitrix.api.exit()' instead!") end)
|
||||
|
|
Loading…
Reference in New Issue