Parcourir la source

Fix keybind

master
10sr il y a 6 ans
Parent
révision
bb4bf0fe26
Signé par: 10sr ID de la clé GPG: C384BB17CBB19347
1 fichiers modifiés avec 9 ajouts et 6 suppressions
  1. +9
    -6
      emacs.el

+ 9
- 6
emacs.el Voir le fichier

@@ -1719,7 +1719,8 @@ This mode is a simplified version of `adoc-mode'."
:group 'awk-preview)

(defcustom awk-preview-default-program
"{
"# C-c C-l to update preview, C-c C-c to commit, C-c C-k to abort.
{
print NR, $0
}
"
@@ -1910,17 +1911,19 @@ Return that buffer."
"Discard result and exit awk-preview."
(interactive))

(define-minor-mode awk-preview-program-mode
"Minor mode for awk-preview program buffer."
:lighter " AWKPreview")

(defvar awk-preview-program-mode-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "C-c C-l") 'awk-preview-update-preview)
(define-key map (kbd "C-c C-k") 'awk-preview-abort)
(define-key map (kbd "C-c C-c") 'awk-preview-commit))
(define-key map (kbd "C-c C-c") 'awk-preview-commit)
map)
"Keymap for `awk-preview-program-mode'.")

(define-minor-mode awk-preview-program-mode
"Minor mode for awk-preview program buffer."
:lighter " AWKPreview"
:keymap awk-preview-program-mode-map)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; editorconfig-auto-apply


Chargement…
Annuler
Enregistrer