mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
removed duplicate key bindings, added via comment
This commit is contained in:
15
.emacs
15
.emacs
@@ -1,4 +1,4 @@
|
|||||||
;; Toms Emacs Config - portable - version ("20181220.01") -*-emacs-lisp-*-
|
;; Toms Emacs Config - portable - version ("20181222.01") -*-emacs-lisp-*-
|
||||||
;; * Introduction
|
;; * Introduction
|
||||||
|
|
||||||
;; This is my emacs config, it is more than twenty years old. It
|
;; This is my emacs config, it is more than twenty years old. It
|
||||||
@@ -745,6 +745,9 @@
|
|||||||
;; 20181220.01
|
;; 20181220.01
|
||||||
;; - added org table move cells functions
|
;; - added org table move cells functions
|
||||||
|
|
||||||
|
;; 20181222.01
|
||||||
|
;; - removed duplicate key bindings, added via comment
|
||||||
|
|
||||||
;; ** TODO
|
;; ** TODO
|
||||||
|
|
||||||
;; - check helpful https://github.com/wilfred/helpful
|
;; - check helpful https://github.com/wilfred/helpful
|
||||||
@@ -772,7 +775,7 @@
|
|||||||
;; My emacs config has a version (consisting of a timestamp with a
|
;; My emacs config has a version (consisting of a timestamp with a
|
||||||
;; serial), which I display in the mode line. So I can clearly see, if
|
;; serial), which I display in the mode line. So I can clearly see, if
|
||||||
;; I'm using an outdated config somewhere.
|
;; I'm using an outdated config somewhere.
|
||||||
(defvar tvd-emacs-version "20181220.01")
|
(defvar tvd-emacs-version "20181222.01")
|
||||||
|
|
||||||
;; --------------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -4284,13 +4287,7 @@ intended to be #'> to support reverse sorting."
|
|||||||
(copy-region-as-kill (point-min) (point-max))))
|
(copy-region-as-kill (point-min) (point-max))))
|
||||||
|
|
||||||
;; Move single cells using C-M-up C-M-down C-M-left C-M-right
|
;; Move single cells using C-M-up C-M-down C-M-left C-M-right
|
||||||
(add-hook 'org-mode-hook
|
;; [[https://cs.gmu.edu/~kauffman/software/org-table-move-single-cell.el][via Kauffmann]]
|
||||||
'(lambda ()
|
|
||||||
(local-set-key [C-M-up] (quote org-table-move-single-cell-up))
|
|
||||||
(local-set-key [C-M-down] (quote org-table-move-single-cell-down))
|
|
||||||
(local-set-key [C-M-left] (quote org-table-move-single-cell-left))
|
|
||||||
(local-set-key [C-M-right] (quote org-table-move-single-cell-right))))
|
|
||||||
|
|
||||||
(defun org-table-swap-cells (i1 j1 i2 j2)
|
(defun org-table-swap-cells (i1 j1 i2 j2)
|
||||||
"Swap two cells"
|
"Swap two cells"
|
||||||
(let ((c1 (org-table-get i1 j1))
|
(let ((c1 (org-table-get i1 j1))
|
||||||
|
|||||||
1095
emacs.html
1095
emacs.html
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user