From e61a38b3a969b52f98efc141ba2f4a56b0452028 Mon Sep 17 00:00:00 2001 From: Kay Simmons Date: Thu, 8 Dec 2022 14:45:22 -0800 Subject: [PATCH] remove printline --- crates/vim/src/vim.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/vim/src/vim.rs b/crates/vim/src/vim.rs index 898886714e..40cc414778 100644 --- a/crates/vim/src/vim.rs +++ b/crates/vim/src/vim.rs @@ -84,17 +84,14 @@ pub fn init(cx: &mut MutableAppContext) { // Any keystrokes not mapped to vim should clear the active operator pub fn observe_keypresses(window_id: usize, cx: &mut MutableAppContext) { cx.observe_keystrokes(window_id, |_keystroke, _result, handled_by, cx| { - dbg!(_keystroke); if let Some(handled_by) = handled_by { if handled_by.namespace() == "vim" { - println!("Vim action. Don't clear"); return true; } } Vim::update(cx, |vim, cx| { if vim.active_operator().is_some() { - println!("Clearing operator"); vim.clear_operator(cx); } });