[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/fountain-mode cb78fc0 11/17: Bind TAB to fountain-dwim,
From: |
Paul Rankin |
Subject: |
[elpa] externals/fountain-mode cb78fc0 11/17: Bind TAB to fountain-dwim, C-c C-o to fountain-include-find-file |
Date: |
Sun, 19 May 2019 09:55:59 -0400 (EDT) |
branch: externals/fountain-mode
commit cb78fc0fdf66e820a94a68990d1f2594a67d6633
Author: Paul W. Rankin <address@hidden>
Commit: Paul W. Rankin <address@hidden>
Bind TAB to fountain-dwim, C-c C-o to fountain-include-find-file
---
fountain-mode.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/fountain-mode.el b/fountain-mode.el
index 70d5ddb..00fb749 100644
--- a/fountain-mode.el
+++ b/fountain-mode.el
@@ -1318,7 +1318,7 @@ characters from `fountain-completion-characters'."
(defun fountain-completion-at-point ()
"\\<fountain-mode-map>Return completion table for entity at point.
-Trigger completion with \\[completion-at-point].
+Trigger completion with \\[fountain-dwim].
Always delimits entity from beginning of line to point. If at a
scene heading, return `fountain-scene-heading-candidates'. If
@@ -4714,13 +4714,14 @@ keywords suitable for Font Lock."
(defvar fountain-mode-map
(let ((map (make-sparse-keymap)))
;; Editing commands:
- (define-key map (kbd "TAB") #'fountain-tab-action)
+ (define-key map (kbd "TAB") #'fountain-dwim)
(define-key map (kbd "C-c RET") #'fountain-upcase-line-and-newline)
(define-key map (kbd "<S-return>") #'fountain-upcase-line-and-newline)
(define-key map (kbd "C-c C-c") #'fountain-upcase-line)
(define-key map (kbd "C-c C-d") #'fountain-continued-dialog-refresh)
(define-key map (kbd "C-c C-z") #'fountain-insert-note)
(define-key map (kbd "C-c C-a") #'fountain-insert-synopsis)
+ (define-key map (kbd "C-c C-o") #'fountain-include-find-file)
(define-key map (kbd "C-c C-x i") #'auto-insert)
(define-key map (kbd "C-c C-x #") #'fountain-add-scene-numbers)
(define-key map (kbd "C-c C-x _") #'fountain-remove-scene-numbers)
@@ -4728,9 +4729,6 @@ keywords suitable for Font Lock."
(define-key map (kbd "C-c C-x RET") #'fountain-insert-page-break)
(define-key map (kbd "M-TAB") #'completion-at-point)
(define-key map (kbd "C-c C-x a") #'fountain-completion-update)
- ;; FIXME: `fountain-include-find-file' feels like it should be C-c C-c,
- ;; (currently mapped to `fountain-upcase-line').
- ;; (define-key map (kbd "C-c C-c") #'fountain-include-find-file)
;; Navigation commands:
(define-key map [remap beginning-of-defun] #'fountain-beginning-of-scene)
(define-key map [remap end-of-defun] #'fountain-end-of-scene)
- [elpa] externals/fountain-mode updated (7d92f6b -> eef014a), Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode eef014a 17/17: Update README/Commentary/code comments, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 349436a 16/17: Update fountain-dwim to toggle outline/completion-at-point, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 51d3e39 14/17: Fix scene heading regexp grouping for scene numbers, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode f12e7f0 13/17: Improve completion for scene headings, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode c1a01e3 12/17: Remove old page-count vars/options, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 735561a 15/17: Change scene heading completion to location/suffix completion, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode cb78fc0 11/17: Bind TAB to fountain-dwim, C-c C-o to fountain-include-find-file,
Paul Rankin <=
- [elpa] externals/fountain-mode a6a11f8 07/17: Remove fountain page count commands from menu, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 5fd879c 09/17: Neaten up fountain menu, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 6cdcb2d 10/17: Bump version number, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode e8a7ecd 08/17: Remove fountain-tab-command from menu, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode eb1ae47 06/17: Cleaned up obsolete variable warnings, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode d6c367e 05/17: Clean-ups, fixing fountain-scene-numbers group, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 459bd14 04/17: Remove --edit-line funcs, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 0a202b8 03/17: Remove fountain-auto-upcase-highlight face, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode 7ace331 02/17: Remove timer page count and mode-line alteration, Paul Rankin, 2019/05/19
- [elpa] externals/fountain-mode ea6f03b 01/17: Remove background functions & feature creep, Paul Rankin, 2019/05/19