Emacs: add fancy org shit
This commit is contained in:
@@ -47,4 +47,5 @@ set render-loading-fg "#3c3836" # fg
|
||||
# Recolor book content's color
|
||||
set recolor-lightcolor "#f2e5bc" # bg
|
||||
set recolor-darkcolor "#3c3836" # fg
|
||||
set recolor "false"
|
||||
set recolor "true"
|
||||
set recolor-keephue "true"
|
||||
|
||||
@@ -13,13 +13,9 @@ let mapleader = "\<Space>"
|
||||
call plug#begin()
|
||||
|
||||
Plug 'morhetz/gruvbox' " color scheme
|
||||
|
||||
Plug 'tpope/vim-sleuth' " heuristic file indendation
|
||||
|
||||
Plug 'jiangmiao/auto-pairs' " pair completion
|
||||
|
||||
Plug 'airblade/vim-gitgutter' " show git changes
|
||||
|
||||
call plug#end()
|
||||
|
||||
" ============================== Colors
|
||||
@@ -27,7 +23,6 @@ syntax on
|
||||
set background=light
|
||||
colorscheme gruvbox
|
||||
hi Normal ctermbg=NONE guibg=NONE
|
||||
set termguicolors
|
||||
|
||||
" ============================== General
|
||||
filetype indent plugin on
|
||||
@@ -52,7 +47,7 @@ set wildmenu " autocomplete :e
|
||||
set scrolloff=5 " min lines above or below the cursor
|
||||
|
||||
" ============================== Statusline
|
||||
set laststatus=2
|
||||
set laststatus=0
|
||||
set showtabline=0
|
||||
|
||||
" ============================== Indents and Whitespaces
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
;; this is the default
|
||||
display-line-numbers-current-absolute t)
|
||||
|
||||
|
||||
(defun noct:relative ()
|
||||
(setq-local display-line-numbers 'visual))
|
||||
|
||||
@@ -86,7 +87,6 @@
|
||||
(setq ispell-dictionary "de_DE,en_GB,en_US")
|
||||
(ispell-set-spellchecker-params)
|
||||
(ispell-hunspell-add-multi-dic "de_DE,en_GB,en_US")
|
||||
(setq )
|
||||
:hook
|
||||
(org-mode . flyspell-mode)
|
||||
(markdown-mode . flyspell-mode)
|
||||
@@ -237,8 +237,8 @@
|
||||
"oco" 'org-clock-out
|
||||
"oa" 'org-agenda
|
||||
"oca" 'org-capture)
|
||||
;;:hook
|
||||
;;(org-mode . (lambda () (electric-indent-local-mode -1)))
|
||||
:hook
|
||||
(org-mode . (lambda () (electric-indent-local-mode -1)))
|
||||
:config
|
||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
|
||||
(setq org-agenda-files (quote ("~/org")))
|
||||
@@ -257,6 +257,13 @@
|
||||
("u" "University" entry (file "~/org/uni.org") "* TODO %?\n")
|
||||
("p" "Personal" entry (file "~/org/personal.org") "* TODO %?\n")))))
|
||||
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages '((python . t)
|
||||
(haskell . t)
|
||||
(shell . t)
|
||||
(perl . t)
|
||||
(C . t)))
|
||||
|
||||
(use-package org-bullets
|
||||
:ensure t
|
||||
:after org
|
||||
|
||||
Reference in New Issue
Block a user