@@ -244,8 +244,6 @@ pub fn default() -> Keymaps {
244 ctrl!('u') => commands::half_page_up,
244 ctrl!('u') => commands::half_page_up,
245 ctrl!('d') => commands::half_page_down,
245 ctrl!('d') => commands::half_page_down,
247− ctrl!('p') => commands::file_picker,
248− ctrl!('b') => commands::buffer_picker,
249 KeyEvent {
247 KeyEvent {
250 code: KeyCode::Tab,
248 code: KeyCode::Tab,
251 modifiers: KeyModifiers::NONE
249 modifiers: KeyModifiers::NONE
@@ -260,6 +258,8 @@ pub fn default() -> Keymaps {
260 ctrl!('i') => commands::jump_forward, // TODO: ctrl-i conflicts tab
258 ctrl!('i') => commands::jump_forward, // TODO: ctrl-i conflicts tab
261 ctrl!('o') => commands::jump_backward,
259 ctrl!('o') => commands::jump_backward,
262 // ctrl!('s') => commands::save_selection,
260 // ctrl!('s') => commands::save_selection,
262+ key!(' ') => commands::space_mode,
264 // TODO: decide whether we want normal mode to also be select mode (kakoune-like), or whether
264 // TODO: decide whether we want normal mode to also be select mode (kakoune-like), or whether
265 // we keep this separate select mode. More keys can fit into normal mode then, but it's weird
265 // we keep this separate select mode. More keys can fit into normal mode then, but it's weird