chore: add rustfmt config
Also adds a Zed editor config for automatic formatting with nightly.
This commit is contained in:
parent
e91a984da9
commit
d5dbcc7677
31 changed files with 349 additions and 420 deletions
|
|
@ -1,11 +1,10 @@
|
|||
use cosmic::{
|
||||
iced::core::keyboard::key::Named,
|
||||
iced::keyboard::Key,
|
||||
widget::menu::key_bind::{KeyBind, Modifier},
|
||||
};
|
||||
use cosmic::iced::core::keyboard::key::Named;
|
||||
use cosmic::iced::keyboard::Key;
|
||||
use cosmic::widget::menu::key_bind::{KeyBind, Modifier};
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::{app::Action, tab};
|
||||
use crate::app::Action;
|
||||
use crate::tab;
|
||||
|
||||
//TODO: load from config
|
||||
pub fn key_binds(mode: &tab::Mode) -> HashMap<KeyBind, Action> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue