commit 90fcb62501de9076fd50ed655da6f249470e9298 parent dceeba81fb6d1f19192c62b1ad9e0e39118e3eef Author: Yuval Langer <yuval.langer@gmail.com> Date: Wed, 23 Aug 2017 20:04:10 +0300 Add global key and answer myself Diffstat:
M | myinit.org | | | 9 | +++++---- |
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/myinit.org b/myinit.org @@ -20,8 +20,6 @@ #+END_SRC ** User Interface tweaks - - [ ] What is revert-buffer? - #+BEGIN_SRC emacs-lisp (setq column-number-mode t) (setq display-battery-mode t) @@ -49,9 +47,12 @@ *** Customize keys +- [X] What is revert-buffer? + - Reload buffer from its file. + #+BEGIN_SRC emacs-lisp - (global-set-key (kbd "<f5>") 'revert-buffer - ) + (global-set-key (kbd "<f5>") 'revert-buffer) + (global-set-key (kbd "C-c o") (lambda () (iteractive) (find-file "~/foo/my-org-mode-notes/main.org"))) #+END_SRC *** Customize buffer list