Emacs: Remove more annoying keybindings, add org-default-notes-file.
This commit is contained in:
parent
0935806207
commit
ecf97b0209
|
@ -1,6 +1,6 @@
|
|||
;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-03-27T18:05:06+0100>
|
||||
;; Time-stamp: <2020-04-16T14:52:38+0200>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -102,8 +102,9 @@
|
|||
;; Document editing, formatting, and organizing mode.
|
||||
(use-package org
|
||||
:commands (org-mode)
|
||||
:custom (org-support-shift-select t) ; Make shift behave normally on text.
|
||||
:bind (:map org-mode-map ; Remove some annoying keybindings.
|
||||
:custom ((org-support-shift-select t) ; Make shift behave normally on text.
|
||||
(org-default-notes-file "~/notes.org"))
|
||||
:bind ((:map org-mode-map ; Remove some annoying keybindings.
|
||||
("M-<left>" . nil)
|
||||
("M-<right>" . nil)
|
||||
("M-<up>" . nil)
|
||||
|
@ -111,7 +112,13 @@
|
|||
("M-S-<left>" . nil)
|
||||
("M-S-<right>" . nil)
|
||||
("M-S-<up>" . nil)
|
||||
("M-S-<down>" . nil)))
|
||||
("M-S-<down>" . nil)
|
||||
("S-<left>" . nil)
|
||||
("S-<right>" . nil)
|
||||
("S-<up>" . nil)
|
||||
("S-<down>" . nil))
|
||||
("C-c o" . (lambda () (interactive)
|
||||
(find-file org-default-notes-file)))))
|
||||
|
||||
(use-package sendmail
|
||||
:mode ("/.claws-mail/tmp/tmpmsg\\." . mail-mode) ; claws-mail messages.
|
||||
|
|
Loading…
Reference in New Issue
Block a user