Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from dysmento/master
use dysmento's updatees
- Loading branch information
Showing
198 changed files
with
336 additions
and
92,305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
;; Automatically load paredit when editing a lisp file | ||
;; More at http://www.emacswiki.org/emacs/ParEdit | ||
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t) | ||
(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode) | ||
(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode) | ||
(add-hook 'ielm-mode-hook #'enable-paredit-mode) | ||
(add-hook 'lisp-mode-hook #'enable-paredit-mode) | ||
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode) | ||
(add-hook 'scheme-mode-hook #'enable-paredit-mode) | ||
;; paredit enables structural editing of just about any lisp | ||
;; https://www.emacswiki.org/emacs/ParEdit | ||
(setup (:package paredit) | ||
(:hook-into emacs-lisp-mode | ||
eval-expression-minibuffer-setup | ||
ielm-mode | ||
lisp-mode | ||
lisp-interaction-mode | ||
scheme-mode)) | ||
|
||
;; eldoc-mode shows documentation in the minibuffer when writing code | ||
;; http://www.emacswiki.org/emacs/ElDoc | ||
(add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) | ||
(add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode) | ||
(add-hook 'ielm-mode-hook 'turn-on-eldoc-mode) | ||
(setup turn-on-eldoc-mode | ||
(:hook-into emacs-lisp-mode | ||
lisp-interaction-mode | ||
iel-mode)) | ||
|
||
;; rainbow-delimiters makes nested parentheses easier to | ||
;; follow by showing each pair in its own color. | ||
;; Depending on your theme, the colors might be very subtle, | ||
;; and not very rainbow! | ||
;; https://github.com/Fanael/rainbow-delimiters | ||
(setup (:package rainbow-delimiters) | ||
(:hook-into prog-mode)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
;; treemacs is a tree layout file explorer | ||
;; https://github.com/Alexander-Miller/treemacs | ||
(setup (:package treemacs treemacs-projectile treemacs-magit) | ||
(:global "M-0" treemacs-select-window | ||
"M-o" ace-window ;; treemacs brings ace-window as a dependency | ||
"s-b" treemacs)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
;; magit is a full-fledged interface for git | ||
;; https://magit.vc/manual/magit/ | ||
(add-to-list 'package-pinned-packages '(magit . "melpa-stable") t) | ||
(setup (:package magit) | ||
(:global "C-M-;" magit-status)) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,33 @@ | ||
;; These customizations make it easier for you to navigate files, | ||
;; switch buffers, and choose options from the minibuffer. | ||
|
||
|
||
;; "When several buffers visit identically-named files, | ||
;; Emacs must give the buffers distinct names. The usual method | ||
;; for making buffer names unique adds ‘<2>’, ‘<3>’, etc. to the end | ||
;; of the buffer names (all but one of them). | ||
;; The forward naming method includes part of the file's directory | ||
;; name at the beginning of the buffer name | ||
;; https://www.gnu.org/software/emacs/manual/html_node/emacs/Uniquify.html | ||
(require 'uniquify) | ||
(setq uniquify-buffer-name-style 'forward) | ||
|
||
;; Turn on recent file mode so that you can more easily switch to | ||
;; recently edited files when you first start emacs | ||
(setq recentf-save-file (concat user-emacs-directory ".recentf")) | ||
(require 'recentf) | ||
(recentf-mode 1) | ||
(setq recentf-max-menu-items 40) | ||
|
||
|
||
;; ido-mode allows you to more easily navigate choices. For example, | ||
;; when you want to switch buffers, ido presents you with a list | ||
;; of buffers in the the mini-buffer. As you start to type a buffer's | ||
;; name, ido will narrow down the list of buffers to match the text | ||
;; you've typed in | ||
;; http://www.emacswiki.org/emacs/InteractivelyDoThings | ||
(ido-mode t) | ||
|
||
;; This allows partial matches, e.g. "tl" will match "Tyrion Lannister" | ||
(setq ido-enable-flex-matching t) | ||
|
||
;; Turn this behavior off because it's annoying | ||
(setq ido-use-filename-at-point nil) | ||
|
||
;; Don't try to match file across all "work" directories; only match files | ||
;; in the current directory displayed in the minibuffer | ||
(setq ido-auto-merge-work-directories-length -1) | ||
|
||
;; Includes buffer names of recently open files, even if they're not | ||
;; open now | ||
(setq ido-use-virtual-buffers t) | ||
|
||
;; This enables ido in all contexts where it could be useful, not just | ||
;; for selecting buffer and file names | ||
(ido-ubiquitous-mode t) | ||
(ido-everywhere t) | ||
|
||
;; Shows a list of buffers | ||
(global-set-key (kbd "C-x C-b") 'ibuffer) | ||
|
||
|
||
;; Enhances M-x to allow easier execution of commands. Provides | ||
;; a filterable list of possible commands in the minibuffer | ||
;; http://www.emacswiki.org/emacs/Smex | ||
(setq smex-save-file (concat user-emacs-directory ".smex-items")) | ||
(smex-initialize) | ||
(global-set-key (kbd "M-x") 'smex) | ||
|
||
;; projectile everywhere! | ||
(projectile-global-mode) | ||
;; which-key is the best feature for the discoverability and | ||
;; usability of Emacs. When you start a key sequence, e.g. C-x, | ||
;; a menu opens up that shows you what all your next options | ||
;; are. It's a great way to find out what's in Emacs, and it | ||
;; helps transfer commands from your short-term memory to | ||
;; your long-term memory and (finally) your muscle memory. | ||
(setup (:package which-key) | ||
(which-key-mode) | ||
(:option which-key-idle-delay 0.3)) | ||
|
||
;; ivy is the completion framework. This makes M-x much more usable. | ||
;; Installing counsel brings ivy and swiper as dependencies | ||
;; swiper is a powerful search-within-a-buffer capability. | ||
;; https://github.com/abo-abo/swiper | ||
(setup (:package counsel) | ||
(ivy-mode) | ||
(:option ivy-use-virtual-buffers t | ||
ivy-re-builders-alist '((t . ivy--regex-ignore-order)) | ||
ivy-count-format "%d/%d ") | ||
(:global "C-s" swiper | ||
"s-f" swiper | ||
"C-x C-f" counsel-find-file | ||
"C-x C-b" counsel-switch-buffer | ||
"M-x" counsel-M-x)) | ||
|
||
;; ivy-rich-mode adds docstrings and additional metadata | ||
;; in the ivy picker minibuffer | ||
;; see screenshots: https://github.com/Yevgnen/ivy-rich/blob/master/screenshots.org | ||
(setup (:package ivy-rich) | ||
(ivy-rich-mode)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
;; projectile is another amazing package from the | ||
;; creator of CIDER. It's got lots of commands | ||
;; for searching and managing files in a project. | ||
;; https://projectile.mx/ | ||
(setup (:package projectile) | ||
(projectile-mode +1) | ||
(:bind "s-p" projectile-command-map | ||
"C-c p" projectile-command-map)) | ||
|
||
;; counsel-projectile integrates projectile with | ||
;; counsel's browse-and-select UI | ||
(setup (:package counsel-projectile)) |
Oops, something went wrong.