From 4aa02183b7f317ca1183b4d3e58ec9da166479d6 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 24 Feb 2021 11:32:20 -0500 Subject: big bugfixes update active_tab properly when a tab is closed, fix Ctrl+O with no buffers open --- command.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'command.h') diff --git a/command.h b/command.h index 9824fbf..a74f42a 100644 --- a/command.h +++ b/command.h @@ -71,6 +71,9 @@ ENUM_U16 { CMD_GOTO_DEFINITION, // "go to definition of..." CMD_GOTO_LINE, // open "goto line..." menu + + CMD_SPLIT_HORIZONTAL, + CMD_SPLIT_VERTICAL, CMD_ESCAPE, // by default this is the escape key. closes menus, etc. @@ -140,6 +143,8 @@ static CommandName const command_names[CMD_COUNT] = { {"build-next-error", CMD_BUILD_NEXT_ERROR}, {"goto-definition", CMD_GOTO_DEFINITION}, {"goto-line", CMD_GOTO_LINE}, + {"split-horizontal", CMD_SPLIT_HORIZONTAL}, + {"split-vertical", CMD_SPLIT_VERTICAL}, {"escape", CMD_ESCAPE}, }; -- cgit v1.2.3