projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[emacs/company] allow abort with esc
[~bandali/configs]
/
init.org
diff --git
a/init.org
b/init.org
index
13a3c8f
..
e4c7a1e
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-646,7
+646,10
@@
Enable =winner-mode=.
("C-c b s" . save-buffer)
("C-c S" . save-buffer)
("C-c o" . other-window)
("C-c b s" . save-buffer)
("C-c S" . save-buffer)
("C-c o" . other-window)
- ("C-c q q" . save-buffers-kill-terminal))
+ ("C-c q q" . save-buffers-kill-terminal)
+ ("C-c F m" . make-frame-command)
+ ("C-c F d" . delete-frame)
+ ("C-c F D" . delete-other-frames))
#+end_src
** Packages
#+end_src
** Packages
@@
-690,7
+693,9
@@
In short, my favourite way of life.
org-src-preserve-indentation nil
org-edit-src-content-indentation 0
org-log-done 'time)
org-src-preserve-indentation nil
org-edit-src-content-indentation 0
org-log-done 'time)
- :hook (org-mode . org-indent-mode)
+ :hook ((org-mode . org-indent-mode)
+ (org-mode . auto-fill-mode)
+ (org-mode . flyspell-mode))
:custom
(org-latex-packages-alist '(("" "listings") ("" "color"))))
:custom
(org-latex-packages-alist '(("" "listings") ("" "color"))))
@@
-1060,7
+1065,8
@@
TODO: break this giant source block down into individual org sections.
:defer 5
:bind
(:map company-active-map
:defer 5
:bind
(:map company-active-map
- ([tab] . company-complete-common-or-cycle))
+ ([tab] . company-complete-common-or-cycle)
+ ([escape] . company-abort))
:custom
(company-idle-delay 0.3)
(company-minimum-prefix-length 1)
:custom
(company-idle-delay 0.3)
(company-minimum-prefix-length 1)
@@
-1129,9
+1135,13
@@
TODO: break this giant source block down into individual org sections.
#+begin_src emacs-lisp
(eval-when-compile (defvar lean-mode-map))
(use-package lean-mode
#+begin_src emacs-lisp
(eval-when-compile (defvar lean-mode-map))
(use-package lean-mode
+ :defer 2
:bind (:map lean-mode-map
:bind (:map lean-mode-map
- ("S-SPC" . company-complete)))
-#+end_src
+ ("S-SPC" . company-complete))
+ :config
+ (require 'lean-input)
+ (setq default-input-method "Lean"))
+ #+end_src
** Haskell
** Haskell
@@
-1520,7
+1530,8
@@
Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
(use-package highlight-indent-guides
:demand t
:hook ((prog-mode . highlight-indent-guides-mode)
(use-package highlight-indent-guides
:demand t
:hook ((prog-mode . highlight-indent-guides-mode)
- (org-mode . highlight-indent-guides-mode))
+ ;; (org-mode . highlight-indent-guides-mode)
+ )
:config
(setq highlight-indent-guides-character ?\|)
(setq highlight-indent-guides-auto-enabled nil)
:config
(setq highlight-indent-guides-character ?\|)
(setq highlight-indent-guides-auto-enabled nil)