Browse Source

moved bookmark config after setting of some variables

master
marc 4 years ago
parent
commit
cb03a4d02e
1 changed files with 18 additions and 18 deletions
  1. 36
      init.org

36
init.org

@ -126,24 +126,6 @@ This function updates init.el whenever changes in init.org are made. The update
"Is emacs running at work on the remote system?") "Is emacs running at work on the remote system?")
#+END_SRC #+END_SRC
Bookmarks
Usage:
- C-x r m (bookmark-set): add bookmark
- C-x r l (list-bookmark): list bookmarks
- C-x r b (bookmark-jump): open bookmark
Edit bookmarks (while in bookmark file):
- d: mark current item
- x: delete marked items
- r: rename current item
- s: save changes
#+begin_src emacs-lisp
(use-package bookmark
:custom
(bookmark-default-file (concat MY--PATH_USER_LOCAL "bookmarks")))
#+end_src
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defvar MY--PATH_USER_LOCAL (expand-file-name "~/.emacs.d/user-local/")) (defvar MY--PATH_USER_LOCAL (expand-file-name "~/.emacs.d/user-local/"))
(defvar MY--PATH_USER_GLOBAL (expand-file-name "~/.emacs.d/user-global/")) (defvar MY--PATH_USER_GLOBAL (expand-file-name "~/.emacs.d/user-global/"))
@ -195,6 +177,24 @@ Edit bookmarks (while in bookmark file):
(scroll-bar-mode 0) ;; disable scroll bar (scroll-bar-mode 0) ;; disable scroll bar
#+END_SRC #+END_SRC
Bookmarks
Usage:
- C-x r m (bookmark-set): add bookmark
- C-x r l (list-bookmark): list bookmarks
- C-x r b (bookmark-jump): open bookmark
Edit bookmarks (while in bookmark file):
- d: mark current item
- x: delete marked items
- r: rename current item
- s: save changes
#+begin_src emacs-lisp
(use-package bookmark
:custom
(bookmark-default-file (concat MY--PATH_USER_LOCAL "bookmarks")))
#+end_src
Some windows specific stuff Some windows specific stuff
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(when *sys/windows* (when *sys/windows*

Loading…
Cancel
Save