rune/
keymap.rs

1//! Keymap handling.
2use crate::core::object::Object;
3use rune_macros::defun;
4
5// TODO: implement keymaps
6#[defun]
7fn make_keymap(_string: Option<&str>) {}
8
9#[defun]
10fn make_sparse_keymap(_string: Option<&str>) {}
11
12#[defun]
13fn use_global_map(_keymap: Object) {}
14
15#[defun]
16fn set_keymap_parent<'ob>(_keymap: Object<'ob>, _parent: Object<'ob>) {}
17
18#[defun]
19pub(crate) fn define_key<'ob>(_keymap: Object<'ob>, _key: Object<'ob>, _def: Object<'ob>) {}
20
21defvar!(MINIBUFFER_LOCAL_MAP);