Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emacs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Hauspie
emacs
Commits
3da2fd45
Commit
3da2fd45
authored
4 years ago
by
Michael Hauspie
Browse files
Options
Downloads
Patches
Plain Diff
Add Fira Code and org-tree-slide
parent
fdc423a1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
configuration.org
+32
-2
32 additions, 2 deletions
configuration.org
with
32 additions
and
2 deletions
configuration.org
+
32
−
2
View file @
3da2fd45
...
...
@@ -262,6 +262,12 @@ Some of my configuration entries where borrowed from other people, see
)
#+END_SRC
Use Fira Code with ligature
#+begin_src emacs-lisp
(use-package fira-code-mode
:config (global-fira-code-mode))
#+end_src
** Modeline
...
...
@@ -347,6 +353,8 @@ Some of my configuration entries where borrowed from other people, see
(org-src-tab-acts-natively t)
;; IDO for completion when applicable
(org-completion-use-ido t)
;; hide emphasis markers
;; (org-hide-emphasis-markers t)
:config
;; (require 'org-tempo)
(add-hook 'org-mode-hook
...
...
@@ -359,9 +367,17 @@ Some of my configuration entries where borrowed from other people, see
)))))
#+END_SRC
#+RESULTS:
: t
Add a shortcut to toggle display of emphasis characters
#+begin_src emacs-lisp
(defun org-toggle-emphasis ()
"Toggle hiding/showing of org emphasize markers."
(interactive)
(if org-hide-emphasis-markers
(set-variable 'org-hide-emphasis-markers nil)
(set-variable 'org-hide-emphasis-markers t)))
(define-key org-mode-map (kbd "C-c e") 'org-toggle-emphasis)
#+end_src
Use =org-mode= for the initial scratch buffer
...
...
@@ -395,6 +411,10 @@ Some of my configuration entries where borrowed from other people, see
(add-hook 'org-mode-hook 'org-bullets-mode))
#+end_src
#+begin_src emacs-lisp
(set-face-foreground 'org-verbatim "orange1")
#+end_src
** Task management
Record when a todo item was marked as done and enforce marking
...
...
@@ -514,6 +534,16 @@ Some of my configuration entries where borrowed from other people, see
#+end_src
** Tree slide
#+begin_src emacs-lisp
(use-package org-tree-slide
:config
(define-key org-mode-map (kbd "<f8>") 'org-tree-slide-mode)
)
#+end_src
** Export configuration
I use =org-mode= to export to LaTeX, (beamer and article) markdown and to HTML
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment