Bladeren bron

Fix keybind

master
10sr 6 jaren geleden
bovenliggende
commit
bb4bf0fe26
Getekend door: 10sr GPG sleutel-ID: C384BB17CBB19347
1 gewijzigde bestanden met toevoegingen van 9 en 6 verwijderingen
  1. +9
    -6
      emacs.el

+ 9
- 6
emacs.el Bestand weergeven

@@ -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


Laden…
Annuleren
Opslaan