~edwargix/emacs.d

17f1a6aff093859ff6fd3d1e3a9f1b0ed72a6005 — David Florness 7 years ago 857722a
Convert all tabs to spaces
5 files changed, 31 insertions(+), 31 deletions(-)

M init.el
M lisp/setup-dev.el
M lisp/setup-helm.el
M lisp/setup-keys.el
M lisp/setup-packages.el
M init.el => init.el +6 -6
@@ 33,8 33,8 @@
  :ensure t
  :commands (markdown-mode gfm-mode)
  :mode (("README\\.md\\'" . gfm-mode)
	 ("\\.md\\'" . markdown-mode)
	 ("\\.markdown\\'" . markdown-mode))
         ("\\.md\\'" . markdown-mode)
         ("\\.markdown\\'" . markdown-mode))
  :init (setq markdown-command "multimarkdown"))

(use-package smartparens


@@ 97,8 97,8 @@
    (unless (package-installed-p 'org-plus-contrib)
      (package-install 'org-plus-contrib))
    (setq org-default-notes-file "~/notes.org"
	  org-return-follows-link t
	  org-read-date-force-compatible-dates nil))
          org-return-follows-link t
          org-read-date-force-compatible-dates nil))
  :bind
  (("C-c a" . org-agenda)
   ("C-c c" . org-capture)


@@ 163,8 163,8 @@
  :ensure t
  :after python
  :config (progn
	    (add-hook 'python-mode-hook 'anaconda-mode)
	    (add-hook 'python-mode-hook 'anaconda-eldoc-mode)))
            (add-hook 'python-mode-hook 'anaconda-mode)
            (add-hook 'python-mode-hook 'anaconda-eldoc-mode)))

(use-package company-anaconda
  :ensure t

M lisp/setup-dev.el => lisp/setup-dev.el +12 -12
@@ 11,8 11,8 @@

;; show unnecessary whitespace that can mess up your diff
(add-hook 'prog-mode-hook
	  (lambda () (interactive)
	    (setq show-trailing-whitespace 1)))
          (lambda () (interactive)
            (setq show-trailing-whitespace 1)))


;; set appearance of a tab that is represented by 8 spaces


@@ 23,9 23,9 @@


(global-set-key (kbd "<f5>") (lambda ()
			       (interactive)
			       (setq-local compilation-read-command nil)
			       (call-interactively 'compile)))
                               (interactive)
                               (setq-local compilation-read-command nil)
                               (call-interactively 'compile)))


;; setup GDB


@@ 66,7 66,7 @@
  :ensure t
  :bind
  (:map mode-specific-map
  	("p" . projectile-command-map))
        ("p" . projectile-command-map))
  :config
  (progn
    (projectile-mode)))


@@ 121,7 121,7 @@
    (use-package flycheck-rtags :ensure t)
    (use-package helm-rtags :ensure t)
    (setq rtags-autostart-diagnostics t
	  rtags-completions-enabled t)
          rtags-completions-enabled t)
    (with-eval-after-load 'company
      ;; (push 'company-rtags company-backends)
      (add-to-list 'company-backends 'company-rtags))


@@ 143,8 143,8 @@
  :config
  (progn
    (dolist (map `(,emacs-lisp-mode-map
		   ;; ,ielm-map
		   ,lisp-interaction-mode-map))
                   ;; ,ielm-map
                   ,lisp-interaction-mode-map))
      (evil-define-key 'normal map (kbd "M-.") 'elisp-slime-nav-find-elisp-thing-at-point)
      (evil-define-key 'normal map (kbd "M-,") 'pop-tag-mark))))



@@ 156,9 156,9 @@


(use-package importmagic
    :ensure t
    :config
    (add-hook 'python-mode-hook 'importmagic-mode))
  :ensure t
  :config
  (add-hook 'python-mode-hook 'importmagic-mode))


(provide 'setup-dev)

M lisp/setup-helm.el => lisp/setup-helm.el +9 -9
@@ 42,10 42,10 @@
    (when (executable-find "curl")
      (setq helm-net-prefer-curl t))
    (add-hook 'helm-after-initialize-hook
	      ;; hide the cursor in helm buffers
	      (lambda ()
		(with-helm-buffer
		  (setq cursor-in-non-selected-windows nil))))
              ;; hide the cursor in helm buffers
              (lambda ()
                (with-helm-buffer
                  (setq cursor-in-non-selected-windows nil))))
    (helm-mode 1)))




@@ 68,11 68,11 @@
  :init
  (progn
    (setq helm-gtags-ignore-case t
	  helm-gtags-auto-update t
	  helm-gtags-use-input-at-cursor t
	  helm-gtags-pulse-at-cursor t
	  helm-gtags-prefix-key (kbd "C-c g")
	  helm-gtags-suggested-key-mapping t)
          helm-gtags-auto-update t
          helm-gtags-use-input-at-cursor t
          helm-gtags-pulse-at-cursor t
          helm-gtags-prefix-key (kbd "C-c g")
          helm-gtags-suggested-key-mapping t)
    (add-hook 'dired-mode-hook 'helm-gtags-mode)
    (add-hook 'eshell-mode-hook 'helm-gtags-mode)
    (add-hook 'asm-made-hook 'helm-gtags-mode))

M lisp/setup-keys.el => lisp/setup-keys.el +3 -3
@@ 13,7 13,7 @@
  :init
  (progn
    (setq evil-want-C-u-scroll t
	  evil-want-integration nil))
          evil-want-integration nil))
  :config
  (progn
    (require 'evil)


@@ 60,8 60,8 @@
  (progn
    (add-hook 'org-mode-hook 'evil-org-mode)
    (add-hook 'evil-org-mode-hook
	      (lambda ()
		(evil-org-set-key-theme)))))
              (lambda ()
                (evil-org-set-key-theme)))))


;;; I don't always know where my frames are, and I want a way to kill

M lisp/setup-packages.el => lisp/setup-packages.el +1 -1
@@ 15,7 15,7 @@

;;; Add melpa archive
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
		    (not (gnutls-available-p))))
                  (not (gnutls-available-p))))
       (url (concat (if no-ssl "http" "https") "://melpa.org/packages/")))
  (add-to-list 'package-archives (cons "melpa" url) t))