fix(config): unbind keys correctly (#925)
* turn off the merging of key bindings of layout and configuration files for now. In certain situations the keybindings would be overwritten. Fix #923
This commit is contained in:
parent
b727d105f3
commit
050fa8fd07
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,8 @@ impl Config {
|
||||||
/// `other` overrides `self`.
|
/// `other` overrides `self`.
|
||||||
pub fn merge(&self, other: Self) -> Self {
|
pub fn merge(&self, other: Self) -> Self {
|
||||||
Self {
|
Self {
|
||||||
keybinds: self.keybinds.merge_keybinds(other.keybinds),
|
// TODO: merge keybinds in a way that preserves "unbind" attribute
|
||||||
|
keybinds: self.keybinds.clone(),
|
||||||
options: self.options.merge(other.options),
|
options: self.options.merge(other.options),
|
||||||
themes: self.themes.clone(), // TODO
|
themes: self.themes.clone(), // TODO
|
||||||
plugins: self.plugins.merge(other.plugins),
|
plugins: self.plugins.merge(other.plugins),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue