diff options
| author | jason | 2017-08-07 09:41:48 -0600 |
|---|---|---|
| committer | jason | 2017-08-07 09:41:48 -0600 |
| commit | d5da257ad698d5bf86fbb6adf04a85d863debe08 (patch) | |
| tree | 4960394e92d208770ff486cf627cce5f466aeff8 /config.org | |
| parent | 6611db8bd017201c6509bd903940ecd87c32f84f (diff) | |
| download | dotemacs-d5da257ad698d5bf86fbb6adf04a85d863debe08.tar.gz dotemacs-d5da257ad698d5bf86fbb6adf04a85d863debe08.zip | |
config updates
Diffstat (limited to 'config.org')
| -rw-r--r-- | config.org | 49 |
1 files changed, 49 insertions, 0 deletions
| @@ -77,6 +77,14 @@ filetype that should include trailing whitespace I will whitelist it. | |||
| 77 | (delete-trailing-whitespace))) | 77 | (delete-trailing-whitespace))) |
| 78 | #+END_SRC | 78 | #+END_SRC |
| 79 | 79 | ||
| 80 | yasnippet's tab completion can conflict with term mode, so disable that | ||
| 81 | |||
| 82 | #+BEGIN_SRC emacs-lisp | ||
| 83 | (add-hook 'term-mode-hook (lambda() | ||
| 84 | (setq yas-dont-activate-functions t))) | ||
| 85 | |||
| 86 | #+END_SRC | ||
| 87 | |||
| 80 | ** Look and Feel | 88 | ** Look and Feel |
| 81 | #+BEGIN_SRC emacs-lisp | 89 | #+BEGIN_SRC emacs-lisp |
| 82 | ;; Hide the toolbar | 90 | ;; Hide the toolbar |
| @@ -217,6 +225,7 @@ I use [[https://company-mode.github.io/][company-mode]] for autocompletion. | |||
| 217 | (company-quickhelp-mode))))) | 225 | (company-quickhelp-mode))))) |
| 218 | #+END_SRC | 226 | #+END_SRC |
| 219 | * Version Control | 227 | * Version Control |
| 228 | ** Magit | ||
| 220 | Use [[https://magit.vc/][magit]] to supplement emacs built in version control system | 229 | Use [[https://magit.vc/][magit]] to supplement emacs built in version control system |
| 221 | 230 | ||
| 222 | #+BEGIN_SRC emacs-lisp | 231 | #+BEGIN_SRC emacs-lisp |
| @@ -227,6 +236,18 @@ Use [[https://magit.vc/][magit]] to supplement emacs built in version control sy | |||
| 227 | ("C-c v B" . magit-blame) | 236 | ("C-c v B" . magit-blame) |
| 228 | ("C-c v L" . magit-log-buffer-file))) | 237 | ("C-c v L" . magit-log-buffer-file))) |
| 229 | #+END_SRC | 238 | #+END_SRC |
| 239 | ** diff-hl | ||
| 240 | [[https://github.com/dgutov/diff-hl][diff-hl]] displays diff information in the margin | ||
| 241 | |||
| 242 | #+BEGIN_SRC emacs-lisp | ||
| 243 | (use-package diff-hl | ||
| 244 | :ensure t | ||
| 245 | :init | ||
| 246 | (setq diff-hl-margin-mode t | ||
| 247 | diff-hl-flydiff-mode t) | ||
| 248 | :config | ||
| 249 | (global-diff-hl-mode)) | ||
| 250 | #+END_SRC | ||
| 230 | 251 | ||
| 231 | * Packages | 252 | * Packages |
| 232 | ** Paradox | 253 | ** Paradox |
| @@ -428,7 +449,35 @@ configurations across everyone's editors | |||
| 428 | :config | 449 | :config |
| 429 | (editorconfig-mode 1)) | 450 | (editorconfig-mode 1)) |
| 430 | #+END_SRC | 451 | #+END_SRC |
| 452 | ** ag | ||
| 453 | ag is the silversearcher. It's faster than using grep | ||
| 454 | |||
| 455 | #+BEGIN_SRC emacs-lisp | ||
| 456 | (use-package ag | ||
| 457 | :ensure t) | ||
| 458 | #+END_SRC | ||
| 459 | ** restclient | ||
| 460 | [[https://github.com/pashky/restclient.el][restclient]] is a package that allows you to make raw HTTP queries to | ||
| 461 | websites and returns the response. It is much like the Postman chrome | ||
| 462 | plugin. | ||
| 463 | |||
| 464 | #+BEGIN_SRC emacs-lisp | ||
| 465 | (use-package restclient | ||
| 466 | :ensure t | ||
| 467 | :config | ||
| 468 | (add-to-list 'auto-mode-alist '("\\.restclient" . restclient-mode))) | ||
| 469 | #+END_SRC | ||
| 470 | |||
| 431 | * Languages | 471 | * Languages |
| 472 | ** flycheck | ||
| 473 | [[https://github.com/flycheck/flycheck][flycheck]] is an on-the-fly syntax checker for many languages | ||
| 474 | |||
| 475 | #+BEGIN_SRC emacs-lisp | ||
| 476 | (use-package flycheck | ||
| 477 | :ensure t | ||
| 478 | :config | ||
| 479 | (add-hook 'prog-mode-hook 'flycheck-mode)) | ||
| 480 | #+END_SRC | ||
| 432 | ** Python | 481 | ** Python |
| 433 | Elpy does a great job of supporting Python so I just use that. | 482 | Elpy does a great job of supporting Python so I just use that. |
| 434 | 483 | ||