From b82691c8a2fa6fa9283e5054b090ed21f8ce9d53 Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 22 Aug 2018 14:55:38 -0600 Subject: updates to config --- config.org | 48 +++++++++++++++++++++++++----------------------- 1 file 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 @@ #+TITLE: Emacs Configuration -#+HTML_HEAD: +#+HTML_HEAD: #+OPTIONS: html-style:nil * Startup @@ -162,18 +162,18 @@ up reformatting new lines and indents a lot (python doc strings). Define the package repositories #+BEGIN_SRC emacs-lisp -(setq package-archives '( - ("elpa" . "http://elpa.gnu.org/packages/") + (setq package-archives '( + ("elpa" . "http://elpa.gnu.org/packages/") - ;("org" . "http://orgmode.org/elpa/") - ;; melpa builds git repositories and can be unstable - ("melpa" . "http://melpa.org/packages/") - ;; marmalade has version uploaded by the maintainers - ;; ("marmalade" . "https://marmalade-repo.org/packages/") - ;; melpa-stable builds from git tags but may be missing dependencies - ;; ("melpa-stable" . "https://stable.melpa.org/packages/") - )) -(package-initialize) + ;("org" . "http://orgmode.org/elpa/") + ;; melpa builds git repositories and can be unstable + ("melpa" . "http://melpa.org/packages/") + ;; marmalade has version uploaded by the maintainers + ;; ("marmalade" . "https://marmalade-repo.org/packages/") + ;; melpa-stable builds from git tags but may be missing dependencies + ;; ("melpa-stable" . "https://stable.melpa.org/packages/") + )) + ;; (package-initialize) #+END_SRC I 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 persp-auto-resume-time 0) ;; Adding this so that capturing process is not interrupted with annoying ;; prompts "Kill and Close" etc. - (setq persp-kill-foreign-buffer-action nil + (setq persp-kill-foreign-buffer-behaviour nil ;; increase the default name length persp-lighter '(:eval (format (propertize " #%.10s" 'face (let ((persp (get-current-persp))) @@ -396,6 +396,8 @@ that are in the current project (defined by a .git directory). (use-package projectile :ensure t :diminish projectile-mode + :bind-keymap + ("C-c p" . projectile-command-map) :config (projectile-global-mode)) #+END_SRC @@ -424,14 +426,14 @@ FCI-mode draws a pretty little line on the right hand side indicating where the fill column is. #+BEGIN_SRC emacs-lisp -(use-package fill-column-indicator - :ensure t - :init - (setq - fci-rule-width 1 - fci-rule-color "#202020") - :config - (add-hook 'prog-mode-hook 'fci-mode)) + ;; (use-package fill-column-indicator + ;; :ensure t + ;; :init + ;; (setq + ;; fci-rule-width 1 + ;; fci-rule-color "#202020") + ;; :config + ;; (add-hook 'prog-mode-hook 'fci-mode)) #+END_SRC ** editorconfig Some 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. Styles source code blocks when exporting an org file to HTML #+BEGIN_SRC emacs-lisp -;(use-package htmlize -; :ensure t) +(use-package htmlize + :ensure t) #+END_SRC -- cgit v1.2.1