Dump key bindings. More...
#include "config.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "key/lib.h"
#include "menu/lib.h"
#include "pager/lib.h"
#include "parse/lib.h"
Go to the source code of this file.
Functions | |
static bool | dump_bind (struct Buffer *buf, enum MenuType menu, const char *name) |
Dumps all the binds maps of a menu into a buffer. | |
static void | dump_all_binds (struct Buffer *buf) |
Dumps all the binds inside every menu. | |
static bool | dump_macro (struct Buffer *buf, enum MenuType menu, const char *name) |
Dumps all the macros maps of a menu into a buffer. | |
static void | dump_all_macros (struct Buffer *buf) |
Dumps all the macros inside every menu. | |
enum CommandResult | dump_bind_macro (struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err) |
Parse 'bind' and 'macro' commands - Implements Command::parse() -. | |
Dump key bindings.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file dump.c.
Dumps all the binds maps of a menu into a buffer.
Definition at line 51 of file dump.c.
|
static |
Dumps all the binds inside every menu.
buf | Output buffer |
Definition at line 100 of file dump.c.
Dumps all the macros maps of a menu into a buffer.
Definition at line 120 of file dump.c.
|
static |
Dumps all the macros inside every menu.
buf | Output buffer |
Definition at line 157 of file dump.c.