1 /* keybinds.h */ 2 3 /* 4 * This file is part of CliFM 5 * 6 * Copyright (C) 2016-2021, L. Abramovich <johndoe.arch@outlook.com> 7 * All rights reserved. 8 9 * CliFM is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2 of the License, or 12 * (at your option) any later version. 13 * 14 * CliFM is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 22 * MA 02110-1301, USA. 23 */ 24 25 #ifndef KEYBINDS_H 26 #define KEYBINDS_H 27 28 /*void add_func_to_rl(void); */ 29 void readline_kbinds(void); 30 int kbinds_function(char **args); 31 int load_keybinds(void); 32 int rl_quit(int count, int key); 33 int keybind_exec_cmd(char *str); 34 35 #endif /* KEYBINDS_H */ 36