From 95964d5f874166b23241c0a14369f0b48d943035 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sat, 22 May 2021 10:15:05 +0200 Subject: Add documentation to actions struct * Add warning for renaming the actions --- zellij-utils/src/input/actions.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zellij-utils/src/input/actions.rs b/zellij-utils/src/input/actions.rs index b806aa3fc..5ad771da6 100644 --- a/zellij-utils/src/input/actions.rs +++ b/zellij-utils/src/input/actions.rs @@ -12,6 +12,10 @@ pub enum Direction { Down, } +// As these actions are bound to the default config, please +// do take care when refactoring - or renaming. +// They might need to be adjusted in the default config +// as well `../../../assets/config/default.yaml` /// Actions that can be bound to keys. #[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] pub enum Action { -- cgit v1.2.3