diff options
Diffstat (limited to 'config.org')
| -rw-r--r-- | config.org | 19 |
1 files changed, 17 insertions, 2 deletions
| @@ -185,9 +185,21 @@ I use jweigly's [[https://github.com/jwiegley/use-package][use-package]] to mana | |||
| 185 | (package-install 'use-package)) | 185 | (package-install 'use-package)) |
| 186 | (eval-when-compile | 186 | (eval-when-compile |
| 187 | (require 'use-package)) | 187 | (require 'use-package)) |
| 188 | |||
| 188 | ;; slight optimization for use-package's :bind directive | 189 | ;; slight optimization for use-package's :bind directive |
| 189 | (require 'bind-key) | 190 | (require 'bind-key) |
| 190 | #+END_SRC | 191 | #+END_SRC |
| 192 | |||
| 193 | Emacs on *nix systems may use a different set of environment variables. This | ||
| 194 | package can be used to copy over variables from the shell | ||
| 195 | |||
| 196 | #+BEGIN_SRC emacs-lisp | ||
| 197 | (use-package exec-path-from-shell | ||
| 198 | :ensure t | ||
| 199 | :init | ||
| 200 | (exec-path-from-shell-copy-env "RUST_SRC_PATH") | ||
| 201 | (exec-path-from-shell-initialize)) | ||
| 202 | #+END_SRC | ||
| 191 | * Themes | 203 | * Themes |
| 192 | [[https://github.com/synic/jbeans-emacs][jbeans]] is a jellybeans.vim clone maintained by synic | 204 | [[https://github.com/synic/jbeans-emacs][jbeans]] is a jellybeans.vim clone maintained by synic |
| 193 | 205 | ||
| @@ -288,7 +300,7 @@ Features include: | |||
| 288 | - Dired current file and file at point commands (C-x C-j) | 300 | - Dired current file and file at point commands (C-x C-j) |
| 289 | 301 | ||
| 290 | #+BEGIN_SRC emacs-lisp | 302 | #+BEGIN_SRC emacs-lisp |
| 291 | (require 'dired-x) | 303 | ;; (require 'dired-x) |
| 292 | #+END_SRC | 304 | #+END_SRC |
| 293 | 305 | ||
| 294 | Emacs' philosophy is to create a new buffer for new content. This makes sense | 306 | Emacs' philosophy is to create a new buffer for new content. This makes sense |
| @@ -296,8 +308,11 @@ for an editor but a file manager usually reuses it's window as you browse the | |||
| 296 | file system. This reverts dired to that behavior, but doesn't fix it if you use | 308 | file system. This reverts dired to that behavior, but doesn't fix it if you use |
| 297 | the mouse to click a directory or filename. | 309 | the mouse to click a directory or filename. |
| 298 | 310 | ||
| 311 | - Downloaded dired+.el from https://www.emacswiki.org/emacs/DiredPlus | ||
| 312 | |||
| 299 | #+BEGIN_SRC emacs-lisp | 313 | #+BEGIN_SRC emacs-lisp |
| 300 | (put 'dired-find-alternate-file 'disabled nil) | 314 | (require 'dired+) |
| 315 | (toggle-diredp-find-file-reuse-dir 1) | ||
| 301 | #+END_SRC | 316 | #+END_SRC |
| 302 | ** avy | 317 | ** avy |
| 303 | [[https://github.com/abo-abo/avy][avy]] is a quick way to jump around buffers | 318 | [[https://github.com/abo-abo/avy][avy]] is a quick way to jump around buffers |