diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-04-27 21:32:52 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-04-27 21:32:52 -0400 |
commit | 6f0ae400152d02f43ffd2911040302c97d84178f (patch) | |
tree | 8c46a221cdfe25f1a9cb5bbfef33a130e08ce845 /src/commands/set_mode.rs | |
parent | 65e9bf281c711308c63c9e1819d76f981bfb8c86 (diff) |
change struct names and update keymap.toml
Diffstat (limited to 'src/commands/set_mode.rs')
-rw-r--r-- | src/commands/set_mode.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/set_mode.rs b/src/commands/set_mode.rs index bef6fe5..955f883 100644 --- a/src/commands/set_mode.rs +++ b/src/commands/set_mode.rs @@ -1,4 +1,4 @@ -use crate::commands::{CursorMoveInc, JoshutoCommand, JoshutoRunnable}; +use crate::commands::{CursorMoveDown, JoshutoCommand, JoshutoRunnable}; use crate::context::JoshutoContext; use crate::error::JoshutoError; use crate::structs::JoshutoDirEntry; @@ -89,7 +89,7 @@ impl JoshutoRunnable for SetMode { mode_string.remove(0); self.set_mode(file, mode_string); - CursorMoveInc::new(1).execute(context, view) + CursorMoveDown::new(1).execute(context, view) } else { Ok(()) } |