(*********************************************************************************)
(*                Chamo                                                          *)
(*                                                                               *)
(*    Copyright (C) 2003-2021 Institut National de Recherche en Informatique     *)
(*    et en Automatique. All rights reserved.                                    *)
(*                                                                               *)
(*    This program is free software; you can redistribute it and/or modify       *)
(*    it under the terms of the GNU Lesser General Public License version        *)
(*    3 as published by the Free Software Foundation.                            *)
(*                                                                               *)
(*    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, write to the Free Software                *)
(*    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA                   *)
(*    02111-1307  USA                                                            *)
(*                                                                               *)
(*    Contact: Maxence.Guesdon@inria.fr                                          *)
(*                                                                               *)
(*********************************************************************************)

(** Configuration of the minibuffer. *)

(** Name of the minibuffer in command names, etc. *)
val base_name : string

(** The user's configuration file. *)
val rc_file : string

(** Key bindings of the minibuffer. *)
val key_bindings : (Stk.Key.keystate list * string) list Ocf.conf_option

(** Additional key bindings of the minibuffer when an history is set. *)
val history_key_bindings : (Stk.Key.keystate list * string) list Ocf.conf_option

(** Key combinations which exits from the minibuffer. *)
val exiting_keys : Stk.Key.keystate list list Ocf.conf_option

(** Read the configuration file. *)
val read : unit -> unit

(** Write the configuration file. *)
val write : unit -> unit

(** This function add a key binding for the minibuffers, described by a
     combination of key hits and an associated command name. *)
val add_minibuffer_key_binding : Stk.Key.keystate list -> string -> unit

(** Same as {!add_minibuffer_key_binding} but the combination of
     key hits is given as a string. *)
val add_minibuffer_key_binding_string : string -> string -> unit
