-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide kubel-kill-buffer command. (#134)
Since C-c C-k is fairly popular binding (magit, message, ...), provide it as well. It allows quickly canceling the edit without applying the changes. This also changes kubel-yaml-editing-mode to be defined using define-derived-mode from yaml-mode, with standalone map in kubel-yaml-editing-map. * kubel.el (kubel-kill-buffer-query): New custom. (kubel-kill-buffer): New function. (kubel-yaml-editing-map): New variable. (kubel-yaml-editing-mode): Change to derived-mode from minor-mode. (kubel--describe-resource, kubel-get-resource-details): Stop calling yaml-mode.
- Loading branch information
Showing
1 changed file
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters