aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src')
-rw-r--r--alacritty/src/config/bindings.rs2
-rw-r--r--alacritty/src/config/mod.rs3
-rw-r--r--alacritty/src/logging.rs1
3 files changed, 1 insertions, 5 deletions
diff --git a/alacritty/src/config/bindings.rs b/alacritty/src/config/bindings.rs
index 67dda775..d5360e9a 100644
--- a/alacritty/src/config/bindings.rs
+++ b/alacritty/src/config/bindings.rs
@@ -287,6 +287,7 @@ pub fn default_key_bindings() -> Vec<KeyBinding> {
PageDown; Action::Esc("\x1b[6~".into());
PageDown, ModifiersState::SHIFT, +TermMode::ALT_SCREEN; Action::Esc("\x1b[6;2~".into());
Tab, ModifiersState::SHIFT; Action::Esc("\x1b[Z".into());
+ Back; Action::Esc("\x7f".into());
Back, ModifiersState::ALT; Action::Esc("\x1b\x7f".into());
Insert; Action::Esc("\x1b[2~".into());
Delete; Action::Esc("\x1b[3~".into());
@@ -405,7 +406,6 @@ fn common_keybindings() -> Vec<KeyBinding> {
Add, ModifiersState::CTRL; Action::IncreaseFontSize;
Subtract, ModifiersState::CTRL; Action::DecreaseFontSize;
Minus, ModifiersState::CTRL; Action::DecreaseFontSize;
- Back; Action::Esc("\x7f".into());
)
}
diff --git a/alacritty/src/config/mod.rs b/alacritty/src/config/mod.rs
index 1c5f7ba5..d7b702b9 100644
--- a/alacritty/src/config/mod.rs
+++ b/alacritty/src/config/mod.rs
@@ -7,9 +7,6 @@ use std::path::PathBuf;
#[cfg(windows)]
use dirs;
use log::{error, warn};
-use serde_yaml;
-#[cfg(not(windows))]
-use xdg;
use alacritty_terminal::config::{Config as TermConfig, LOG_TARGET_CONFIG};
diff --git a/alacritty/src/logging.rs b/alacritty/src/logging.rs
index 9d837a78..86f01ce7 100644
--- a/alacritty/src/logging.rs
+++ b/alacritty/src/logging.rs
@@ -27,7 +27,6 @@ use std::sync::{Arc, Mutex};
use glutin::event_loop::EventLoopProxy;
use log::{self, Level};
-use time;
use alacritty_terminal::event::Event;
use alacritty_terminal::message_bar::Message;