aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.org48
1 files changed, 25 insertions, 23 deletions
diff --git a/config.org b/config.org
index fc05145..7b76f43 100644
--- a/config.org
+++ b/config.org
@@ -1,5 +1,5 @@
1#+TITLE: Emacs Configuration 1#+TITLE: Emacs Configuration
2#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="file:///home/jason/.emacs.d/contrib/org-export.css" /> 2#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="org-export.css" />
3#+OPTIONS: html-style:nil 3#+OPTIONS: html-style:nil
4 4
5* Startup 5* Startup
@@ -162,18 +162,18 @@ up reformatting new lines and indents a lot (python doc strings).
162Define the package repositories 162Define the package repositories
163 163
164#+BEGIN_SRC emacs-lisp 164#+BEGIN_SRC emacs-lisp
165(setq package-archives '( 165 (setq package-archives '(
166 ("elpa" . "http://elpa.gnu.org/packages/") 166 ("elpa" . "http://elpa.gnu.org/packages/")
167 167
168 ;("org" . "http://orgmode.org/elpa/") 168 ;("org" . "http://orgmode.org/elpa/")
169 ;; melpa builds git repositories and can be unstable 169 ;; melpa builds git repositories and can be unstable
170 ("melpa" . "http://melpa.org/packages/") 170 ("melpa" . "http://melpa.org/packages/")
171 ;; marmalade has version uploaded by the maintainers 171 ;; marmalade has version uploaded by the maintainers
172 ;; ("marmalade" . "https://marmalade-repo.org/packages/") 172 ;; ("marmalade" . "https://marmalade-repo.org/packages/")
173 ;; melpa-stable builds from git tags but may be missing dependencies 173 ;; melpa-stable builds from git tags but may be missing dependencies
174 ;; ("melpa-stable" . "https://stable.melpa.org/packages/") 174 ;; ("melpa-stable" . "https://stable.melpa.org/packages/")
175 )) 175 ))
176(package-initialize) 176 ;; (package-initialize)
177#+END_SRC 177#+END_SRC
178 178
179I use jweigly's [[https://github.com/jwiegley/use-package][use-package]] to manage packages so it needs to be installed. 179I use jweigly's [[https://github.com/jwiegley/use-package][use-package]] to manage packages so it needs to be installed.
@@ -361,7 +361,7 @@ manager might have several desktops
361 persp-auto-resume-time 0) 361 persp-auto-resume-time 0)
362 ;; Adding this so that capturing process is not interrupted with annoying 362 ;; Adding this so that capturing process is not interrupted with annoying
363 ;; prompts "Kill and Close" etc. 363 ;; prompts "Kill and Close" etc.
364 (setq persp-kill-foreign-buffer-action nil 364 (setq persp-kill-foreign-buffer-behaviour nil
365 ;; increase the default name length 365 ;; increase the default name length
366 persp-lighter '(:eval (format (propertize " #%.10s" 366 persp-lighter '(:eval (format (propertize " #%.10s"
367 'face (let ((persp (get-current-persp))) 367 'face (let ((persp (get-current-persp)))
@@ -396,6 +396,8 @@ that are in the current project (defined by a .git directory).
396(use-package projectile 396(use-package projectile
397 :ensure t 397 :ensure t
398 :diminish projectile-mode 398 :diminish projectile-mode
399 :bind-keymap
400 ("C-c p" . projectile-command-map)
399 :config 401 :config
400 (projectile-global-mode)) 402 (projectile-global-mode))
401#+END_SRC 403#+END_SRC
@@ -424,14 +426,14 @@ FCI-mode draws a pretty little line on the right hand side indicating where the
424fill column is. 426fill column is.
425 427
426#+BEGIN_SRC emacs-lisp 428#+BEGIN_SRC emacs-lisp
427(use-package fill-column-indicator 429 ;; (use-package fill-column-indicator
428 :ensure t 430 ;; :ensure t
429 :init 431 ;; :init
430 (setq 432 ;; (setq
431 fci-rule-width 1 433 ;; fci-rule-width 1
432 fci-rule-color "#202020") 434 ;; fci-rule-color "#202020")
433 :config 435 ;; :config
434 (add-hook 'prog-mode-hook 'fci-mode)) 436 ;; (add-hook 'prog-mode-hook 'fci-mode))
435#+END_SRC 437#+END_SRC
436** editorconfig 438** editorconfig
437Some of the project I work on use editorconfig to sync style guide 439Some of the project I work on use editorconfig to sync style guide
@@ -811,6 +813,6 @@ org-mode has a built in time tracking system that I like to use.
811Styles source code blocks when exporting an org file to HTML 813Styles source code blocks when exporting an org file to HTML
812 814
813#+BEGIN_SRC emacs-lisp 815#+BEGIN_SRC emacs-lisp
814;(use-package htmlize 816(use-package htmlize
815; :ensure t) 817 :ensure t)
816#+END_SRC 818#+END_SRC