Dump key bindings. More...
#include "config.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "core/lib.h"
#include "lib.h"
#include "menu/lib.h"
#include "pager/lib.h"
#include "parse/lib.h"
Go to the source code of this file.
Functions | |
static int | print_bind (enum MenuType menu, FILE *fp) |
Display the bindings for one menu. | |
static void | colon_bind (enum MenuType menu, FILE *fp) |
Dump the key bindings. | |
static int | print_macro (enum MenuType menu, FILE *fp) |
Display the macros for one menu. | |
static void | colon_macro (enum MenuType menu, FILE *fp) |
Dump the macros. | |
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.
|
static |
Display the bindings for one menu.
menu | Menu type |
fp | File to write to |
num | Number of bindings |
Definition at line 47 of file dump.c.
|
static |
Dump the key bindings.
menu | Menu type |
fp | File to write to |
Definition at line 84 of file dump.c.
|
static |
Display the macros for one menu.
menu | Menu type |
fp | File to write to |
num | Number of macros |
Definition at line 108 of file dump.c.
|
static |
Dump the macros.
menu | Menu type |
fp | File to write to |
Definition at line 152 of file dump.c.