commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
a7a313470e0d5c0800c78b0edca8d93993a2881f | init-extension/init-solarized-theme.el | init-extension/init-solarized-theme.el | (require 'solarized)
(deftheme solarized-dark "The dark variant of the Solarized colour theme")
(create-solarized-theme 'dark 'solarized-dark)
(provide-theme 'solarized-dark)
(deftheme solarized-light "The light variant of the Solarized colour theme")
(create-solarized-theme 'light 'solarized-light)
(provide-theme 's... | (require 'solarized)
(deftheme solarized-dark "The dark variant of the Solarized colour theme")
(create-solarized-theme 'dark 'solarized-dark)
(provide-theme 'solarized-dark)
(deftheme solarized-light "The light variant of the Solarized colour theme")
(create-solarized-theme 'light 'solarized-light)
(provide-theme 's... | Add theme support for AA593 | Add theme support for AA593
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
b217dac895ccb5c32efb10f27e5f14415fcb802a | elisp/rest-client.el | elisp/rest-client.el | ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
(require 'url-vars)
(require 'url-dav)
(require 'json)
(with-current-buffer
(url-retrieve-synchronously "http://localhost... | ;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
(require 'url-vars)
(require 'url-dav)
(require 'json)
(with-current-buffer
(url-retrieve-synchronously "http://localhost... | Fix emacs client to call API | Fix emacs client to call API
| Emacs Lisp | epl-1.0 | nchapon/carambar |
9e86ac30a2198094bdbb1c3980425a224a14d379 | settings/setup-theme.el | settings/setup-theme.el | (use-package spacemacs-theme
:defer t
:ensure t
:init
(setq default-frame-alist (quote ((fullscreen . maximized))))
(load-theme 'spacemacs-dark t)
)
(use-package spaceline
:defer t
:init
(setq powerline-default-separator 'slant)
(setq ns-use-srgb-colorspace nil)
(setq powerline-height 15)
)
(u... | (use-package spacemacs-theme
:defer t
:ensure t
:init
(setq default-frame-alist (quote ((fullscreen . maximized))))
(load-theme 'spacemacs-dark t)
)
(use-package spaceline
:defer t
:init
(setq powerline-default-separator 'slant)
(setq ns-use-srgb-colorspace nil)
(setq powerline-height 18)
)
(u... | Increase powerline height to 18 | Increase powerline height to 18
| Emacs Lisp | mit | hsienchiaolee/aquamacs |
cfcf5f25f11237750e9ffa2cb42534d168b48b41 | custom/01-pdf-tools.el | custom/01-pdf-tools.el | ;; pdf-tools for viewing PDFs
(use-package pdf-tools
:init
(pdf-tools-install)
;; Setup a hook when we kill a pdf take a bookmark
(add-hook 'kill-buffer-hook 'kill-buffer-hook-setup)
:defer 5
:config
;; Set a bookmark on kill
(defun kill-buffer-hook-setup ()
;; Test that we have a filename and fi... | ;; pdf-tools for viewing PDFs
(use-package pdf-tools
:init
(pdf-tools-install)
;; Setup a hook when we kill a pdf take a bookmark
(add-hook 'kill-buffer-hook 'kill-buffer-hook-setup)
:config
;; Set a bookmark on kill
(defun kill-buffer-hook-setup ()
;; Test that we have a filename and file extensio... | Remove defer for pdf tools | Remove defer for pdf tools
| Emacs Lisp | mit | map7/emacs-config,map7/emacs-config,map7/emacs-config |
28699ab0264315ac3466da3094178fe347d1a5e3 | modules/private/lean/config.el | modules/private/lean/config.el | ;;; private/lean/config.el -*- lexical-binding: t; -*-
;; (load! +bindings)
(def-package! company-lean)
(def-package! lean-mode)
(def-package! helm-lean)
| ;;; private/lean/config.el -*- lexical-binding: t; -*-
;; (load! +bindings)
(def-package! company-lean)
(def-package! lean-mode)
(def-package! helm-lean)
(defun unlines (lns)
(mapconcat 'identity lns "\n"))
(defun keep-errors-only (proc string)
(interactive)
(let* ((lines (split-string string "\n"))
(ne... | Add Simon's helper functions for buliding lean files | Add Simon's helper functions for buliding lean files
Handy especially when upgrading Lean and refactoring.
TODO: find a nice key binding for lean-leanpkg-{build,test}-quiet
functions
| Emacs Lisp | mit | aminb/.emacs.d,aminb/.emacs.d,aminb/.emacs.d,aminb/.emacs.d,aminb/.emacs.d,aminb/.emacs.d,aminb/.emacs.d,aminb/.emacs.d |
efb35dcdce6a0aec37b0d58ad5e04e8c9e67ae79 | init-window-split.el | init-window-split.el | (defun split-window-func-with-other-buffer (split-function)
(lexical-let ((s-f split-function))
(lambda ()
(interactive)
(funcall s-f)
(set-window-buffer (next-window) (other-buffer)))))
(global-set-key "\C-x2" (split-window-func-with-other-buffer 'split-window-vertically))
(global-set-key "\C-... | (defun split-window-func-with-other-buffer (split-function)
(lexical-let ((s-f split-function))
(lambda ()
(interactive)
(funcall s-f)
(set-window-buffer (next-window) (other-buffer)))))
(global-set-key "\C-x2" (split-window-func-with-other-buffer 'split-window-vertically))
(global-set-key "\C-... | Add split-window-vertically-instead, bound to "C-x _" | Add split-window-vertically-instead, bound to "C-x _"
| Emacs Lisp | bsd-2-clause | Jadecity/PurcellEmacs.d,Enzo-Liu/emacs.d,zuoshifan/emacs.d,carlosliu/emacs.d,ruiyang/emacs.d,qianwan/emacs.d,kongfy/emacs.d,mpwang/emacs.d,dongdonghu/.emacs.d,cyjia/emacs.d,zuoshifan/emacs.d,arthurl/emacs.d,lujianmei/emacs.d,wegatron/emacs.d,cjqw/emacs.d,zuoshifan/emacs.d,sgarciac/emacs.d,ruiyang/emacs.d,blueseason/ema... |
a0f3326b4f3fda89431c76374b94e242a2326ab6 | gnus/gnus.d/sources.el | gnus/gnus.d/sources.el | ;;; Mail and News Servers
;; News via NNTP
(setq
nntp-authinfo-file pmade-authinfo
gnus-select-method '(nntp "news.gmane.org"))
;; Mail via IMAP and SMTP
(setq
pmade-mail-server "mail.pmade.com"
nnimap-authinfo-file pmade-authinfo
message-send-mail-function 'smtpmail-send-it
smtpmail-smtp-server pmade-mail-serv... | ;;; Mail and News Servers
;; News via NNTP
(setq nntp-authinfo-file pmade-authinfo
gnus-select-method '(nntp "news.gmane.org"))
;; IMAP (incoming mail)
(setq pmade-mail-server "mail.pmade.com"
nnimap-authinfo-file pmade-authinfo)
;; SMTP (outgoing mail)
(setq pmade-smtp-host pmade-mail-server
pmade... | Work around comcast blocking port 25 | Work around comcast blocking port 25
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
0647b3c07033b3df075f84ea27f0cc186301bc38 | layers/+chat/erc/funcs.el | layers/+chat/erc/funcs.el | ;;; funcs.el --- Spacemacs ERC Layer functions File
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defun erc//servers (server-list)
(doli... | ;;; funcs.el --- Spacemacs ERC Layer functions File
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defun erc//servers (server-list)
(doli... | Fix connecting to default servers with TLS more than once with ERC | Fix connecting to default servers with TLS more than once with ERC
The erc//servers function removes the :ssl variable from the list so it
can be passed directly to erc-tls, but this means that subsequent
connections will not use TLS. Thus, we should operate on a copy of the
list instead.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
fdc68759a52d3d76b352a773ba7f3edf76e40c39 | lib/eshell-hooks.el | lib/eshell-hooks.el | (add-hook 'eshell-mode-hook
(lambda ()
(defalias 'ff 'find-file)
))
| (defun toby/eshell-in-buffer-dir ()
"Open eshell in the current buffer's directory"
(interactive)
(let ((dir default-directory))
(let ((b (get-buffer eshell-buffer-name)))
(unless b (eshell))
)
(display-buffer eshell-buffer-name t)
(switch-to-buffer-other-window eshell-buffer-name)
(en... | Add a function to open eshell in current dir. | Add a function to open eshell in current dir.
| Emacs Lisp | mit | tobytripp/emacs.d,tobytripp/emacs.d,tobytripp/emacs.d,tobytripp/emacs.d |
2c74b0d500a5f7a57e19ae1c0b88b878072699b3 | setup-files/setup-which-key.el | setup-files/setup-which-key.el | ;; Time-stamp: <2015-07-15 11:35:12 kmodi>
;; Which Key
;; https://github.com/justbur/emacs-which-key
(use-package which-key
:defer 15
:config
(progn
(setq which-key-popup-type 'minibuffer) ; default
;; (setq which-key-popup-type 'side-window)
(setq which-key-key-replacement-alist
'(("<\\... | ;; Time-stamp: <2015-07-15 12:09:48 kmodi>
;; Which Key
;; https://github.com/justbur/emacs-which-key
(use-package which-key
:defer 15
:config
(progn
(setq which-key-popup-type 'minibuffer) ; default
;; (setq which-key-popup-type 'side-window)
(setq which-key-key-replacement-alist
'(("<\\... | Make the arrows in which-key less garish | Make the arrows in which-key less garish
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
e195e03ee6303e57d76d14c7619123404b3bcf35 | setup-clojure-mode.el | setup-clojure-mode.el | (require 'clojure-mode)
(define-key clojure-mode-map (kbd "C-c RET jo") 'clj-jump-to-other-file)
(define-key clojure-mode-map (kbd "C-c RET oo") 'clj-jump-to-other-file-other-window)
(provide 'setup-clojure-mode)
| (require 'clojure-mode)
(define-key clojure-mode-map (kbd "C-c C-j") 'clj-jump-to-other-file)
(define-key clojure-mode-map (kbd "C-c M-j") 'clj-jump-to-other-file-other-window)
(provide 'setup-clojure-mode)
| Change clj keybindings for jumping between tests and source. | Change clj keybindings for jumping between tests and source.
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
3d9338adfafd760b1960da21fc97f214b59fea1e | setup-files/setup-gtags.el | setup-files/setup-gtags.el | ;; Time-stamp: <2014-08-19 12:15:30 kmodi>
;; gtags, GNU global
(req-package ggtags
:require (verilog-mode key-chord)
:init
(progn
(dolist (hook '(verilog-mode-hook
matlab-mode-hook))
(add-hook hook 'ggtags-mode))
(key-chord-define-global "??" 'ggtags-show-definition)))
(prov... | ;; Time-stamp: <2014-11-19 10:19:17 kmodi>
;; gtags, GNU global
(req-package ggtags
:require (verilog-mode key-chord)
:init
(progn
(setq ggtags-navigation-mode-lighter nil)
(dolist (hook '(verilog-mode-hook
matlab-mode-hook
c-mode-hook))
(add-hook hook 'ggta... | Enable ggtags-mode in C files too | Enable ggtags-mode in C files too
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
8258623072763da8173b2a605c9a2d62c0f7f49a | Emacs/init.el | Emacs/init.el | ;; add ELPA and MELPA package repos
(setq package-archives
'(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")))
;; user solarized dark color theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/solarized_theme")
(set-terminal-parameter nil 'background-mode 'dark)
(set-frame-p... | ;; add ELPA and MELPA package repos
(setq package-archives
'(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")))
;; user solarized dark color theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/solarized_theme")
(set-terminal-parameter nil 'background-mode 'dark)
(set-frame-p... | Sort apropos result by relavence in Emacs | Sort apropos result by relavence in Emacs
| Emacs Lisp | mit | Gosin/Vim4Gosin |
845fc78b5508f1d9239edb4bec12c6155b17d3ad | lisp/init-osx-keys.el | lisp/init-osx-keys.el | (when *is-a-mac*
(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'none)
(setq default-input-method "MacOSX")
;; Make mouse wheel / trackpad scrolling less jerky
(setq mouse-wheel-scroll-amount '(1
((shift) . 5)
((control))))
... | (when *is-a-mac*
(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'none)
(setq default-input-method "MacOSX")
;; Make mouse wheel / trackpad scrolling less jerky
(setq mouse-wheel-scroll-amount '(1
((shift) . 5)
((control))))
... | Make standard OS X "Hide Others" keystroke work | Make standard OS X "Hide Others" keystroke work
| Emacs Lisp | bsd-2-clause | zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d |
9fb4875c18306b9a36a1418bd25ffa6eea2b01b2 | gnus/gnus.d/sources.el | gnus/gnus.d/sources.el | ;;; Mail and News Servers
;; News via NNTP
(setq
nntp-authinfo-file pmade-authinfo
gnus-select-method '(nntp "nntp.aioe.org"))
;; Mail via IMAP and SMTP
(setq
pmade-mail-server "mail.pmade.com"
gnus-secondary-select-methods `((nnimap ,pmade-mail-server (nnimap-stream ssl)))
nnimap-authinfo-file pmade-authinfo
m... | ;;; Mail and News Servers
;; News via NNTP
(setq
nntp-authinfo-file pmade-authinfo
gnus-select-method '(nntp "nntp.aioe.org"))
;; Mail via IMAP and SMTP
(setq
pmade-mail-server "mail.pmade.com"
nnimap-authinfo-file pmade-authinfo
message-send-mail-function 'smtpmail-send-it
smtpmail-smtp-server pmade-mail-serve... | Add gmane as a source | Add gmane as a source
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
2b4e37c637d87eb6562b227000d84898fe450453 | test/yaml-tomato-test.el | test/yaml-tomato-test.el | (ert-deftest count-white-spaces/test ()
(should (eq (count-white-spaces "a") 0))
(should (eq (count-white-spaces " a") 1))
(should (eq (count-white-spaces " a ") 1))
(should (eq (count-white-spaces " a") 2)))
(ert-deftest get-yaml-key/test ()
(should (s-equals? (get-yaml-key " abc:") "abc"))
(should (s-e... | (ert-deftest yaml-tomato--get-yaml-key/test ()
(should (s-equals? (yaml-tomato--get-yaml-key " abc:") "abc"))
(should (s-equals? (yaml-tomato--get-yaml-key "hello_world:") "hello_world"))
(should (s-equals? (yaml-tomato--get-yaml-key " hello1: abc") "hello1")))
| Use preffered community standard way of naming | Use preffered community standard way of naming
| Emacs Lisp | mit | RadekMolenda/yaml-tomato |
aecd60cfab68e43faf03ad4db107ef7faee85d15 | modules/lang/gdscript/config.el | modules/lang/gdscript/config.el | ;;; lang/gdscript/config.el -*- lexical-binding: t; -*-
(after! projectile
(add-to-list 'projectile-project-root-files "project.godot"))
;;
;;; Packages
(use-package! gdscript-mode
:defer t
:config
(set-lookup-handlers! 'gdscript-mode
:documentation #'gdscript-docs-browse-symbol-at-point)
(when (feat... | ;;; lang/gdscript/config.el -*- lexical-binding: t; -*-
(after! projectile
(add-to-list 'projectile-project-root-files "project.godot"))
;;
;;; Packages
(use-package! gdscript-mode
:defer t
:config
(set-lookup-handlers! 'gdscript-mode
:documentation #'gdscript-docs-browse-symbol-at-point)
(when (feat... | Add shortcuts and descriptions for GDScript module | Add shortcuts and descriptions for GDScript module
| Emacs Lisp | mit | hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs |
a2246d82c17821f4bdde316acf0523ca79b62e52 | radian-emacs/radian-yank.el | radian-emacs/radian-yank.el | ;;; radian-yank.el --- Killing and yanking
;; If you start typing when you have something selected, then the
;; selection will be deleted. If you press DEL while you have
;; something selected, it will be deleted rather than
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of... | ;;; radian-yank.el --- Killing and yanking
;; If you start typing when you have something selected, then the
;; selection will be deleted. If you press DEL while you have
;; something selected, it will be deleted rather than
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of... | Make delete-selection-mode work with AUCTeX | Make delete-selection-mode work with AUCTeX
| Emacs Lisp | mit | raxod502/radian,raxod502/radian |
41efd16a62a2f91478749455c8c4a174e39ada60 | core/core-workgroups.el | core/core-workgroups.el | ;;; core-workgroups.el
;; see lib/workgroup-defuns.el
(use-package workgroups2
:init
(setq wg-session-file (! (expand-file-name "wg-default" narf-temp-dir))
wg-workgroup-directory (! (expand-file-name "workgroups" narf-temp-dir))
wg-first-wg-name "main"
wg-session-load-on... | ;;; core-workgroups.el
;; see lib/workgroup-defuns.el
(use-package workgroups2
:when window-system
:init
(setq wg-session-file (! (expand-file-name "wg-default" narf-temp-dir))
wg-workgroup-directory (! (expand-file-name "workgroups" narf-temp-dir))
wg-first-wg-name "main"
... | Disable workgroups2 in terminal emacs | Disable workgroups2 in terminal emacs
| Emacs Lisp | mit | keoko/.emacs.d,aminb/.emacs.d,aminb/.emacs.d,UndeadKernel/emacs_doom,aminb/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,UndeadKernel/emacs_doom,aminb/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,keoko/.emacs.d,UndeadKernel/emacs_doom,aminb/.emacs.d,keoko/.emacs.d,hlissner/doom-emacs,keoko/.ema... |
815d8f11dfd790e0b1e2b8cdfaba063810b57737 | exercises/hello-world/hello-world-test.el | exercises/hello-world/hello-world-test.el | ;;; hello-world-test.el --- Tests for Hello World (exercism)
;;; Commentary:
;; Common test data version: 1.1.0 be3ae66
;;; Code:
(load-file "hello-world.el")
(ert-deftest hello-world-test ()
(should (equal (hello) "Hello, World!")))
(provide 'hello-world-test)
;;; hello-world-test.el ends here
| ;;; hello-world-test.el --- Tests for Hello World (exercism)
;;; Commentary:
;; Common test data version: 1.1.0 be3ae66
;;; Code:
(load-file "hello-world.el")
(ert-deftest hello-world-test ()
(should (string= (hello) "Hello, World!")))
(provide 'hello-world-test)
;;; hello-world-test.el ends here
| Use proper string equality test for 'Hello, World' | Use proper string equality test for 'Hello, World'
| Emacs Lisp | mit | exercism/xelisp |
b0b57f59d02d490e3a7d4f75efe55b5fe4ee428d | site-lisp/clgc-prodigy.el | site-lisp/clgc-prodigy.el | (require 'prodigy)
(prodigy-define-tag :name 'rails
:ready-message "Listening on 0\\.0\\.0\\.0:[0-9]+, CTRL\\+C to stop")
(prodigy-define-tag
:name 'zeus
:on-output
(prodigy-callback (service)
(let ((poll-zeus "ps aux | grep -c 'zeus slave:'"))
(when (>= (string-to-number (shell-command-to-string po... | (require 'prodigy)
(prodigy-define-tag :name 'rails
:ready-message "Listening on 0\\.0\\.0\\.0:[0-9]+, CTRL\\+C to stop")
(prodigy-define-tag
:name 'zeus
:on-output
(prodigy-callback (service)
(let ((poll-zeus "ps aux | grep -c 'zeus slave:'"))
(when (>= (string-to-number (shell-command-to-string po... | Add ready message for resque scheduler loaded | Add ready message for resque scheduler loaded
| Emacs Lisp | bsd-3-clause | dgtized/dotfiles,dgtized/dotfiles,dgtized/dotfiles |
33ed1ef007f77b23cba72c1758b8123b131f4925 | emacs.d/package-list.el | emacs.d/package-list.el | (require 'my-functions)
;browse-kill-ring
(let ((my-package-list '(color-theme
color-theme-approximate
color-theme-buffer-local
color-theme-solarized
demangle-mode
elpy
... | (require 'my-functions)
;browse-kill-ring
(let ((my-package-list '(color-theme
color-theme-approximate
color-theme-buffer-local
color-theme-solarized
demangle-mode
elpy
... | Remove flycheck haskell and unused flycheck-cask | Remove flycheck haskell and unused flycheck-cask
| Emacs Lisp | bsd-3-clause | shaleh/dot-files |
486dcbbe70cf5d77da40b191658d11a53ce37620 | lisp/init-purescript.el | lisp/init-purescript.el | (when (maybe-require-package 'purescript-mode)
(when (maybe-require-package 'psc-ide)
(add-hook 'purescript-mode-hook
(lambda ()
(psc-ide-mode)
(company-mode)
(flycheck-mode)
(turn-on-purescript-indentation))))
(when (maybe-require-pa... | (when (maybe-require-package 'purescript-mode)
(when (maybe-require-package 'psc-ide)
(add-hook 'purescript-mode-hook
(lambda ()
(psc-ide-mode)
(company-mode)
(flycheck-mode)
(turn-on-purescript-indentation))))
(when (maybe-require-p... | Add psci support for purescript | Add psci support for purescript
| Emacs Lisp | bsd-2-clause | purcell/emacs.d,sgarciac/emacs.d,arthurl/emacs.d,blueseason/emacs.d,gsmlg/emacs.d,svenyurgensson/emacs.d,blueabysm/emacs.d,mmqmzk/emacs.d,wegatron/emacs.d,cjqw/emacs.d,lust4life/emacs.d,braveoyster/emacs.d,kongfy/emacs.d,emuio/emacs.d,qianwan/emacs.d,dcorking/emacs.d,baohaojun/emacs.d,krzysz00/emacs.d,me020523/emacs.d,... |
81d17814a17d32ad7afa0d0a596133f9ebf64c07 | linked_files/.emacs.d/init.el | linked_files/.emacs.d/init.el | (keyboard-translate ?\C-h ?\C-?)
(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))
| ;; C-H delete
(keyboard-translate ?\C-h ?\C-?)
;; use system tempdir for auto save files
(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))
| Add comment for emacs config | Add comment for emacs config
| Emacs Lisp | mit | blockgiven/dotfiles,blockgiven/dotfiles |
49fd555ed9e25e437916166783c7d5a1778c1372 | lisp/init-projectile.el | lisp/init-projectile.el | (when (maybe-require-package 'projectile)
(add-hook 'after-init-hook 'projectile-mode)
(after-load 'projectile
(define-key projectile-mode-map (kbd "C-c C-p") 'projectile-command-map)
;; Shorter modeline
(setq-default projectile-mode-line-lighter " Proj"))
(maybe-require-package 'ibuffer-projectile... | (when (maybe-require-package 'projectile)
(add-hook 'after-init-hook 'projectile-mode)
;; Shorter modeline
(setq-default projectile-mode-line-lighter " Proj")
(after-load 'projectile
(define-key projectile-mode-map (kbd "C-c C-p") 'projectile-command-map))
(maybe-require-package 'ibuffer-projectile))
... | Set shorter projectile modeline correctly | Set shorter projectile modeline correctly
| Emacs Lisp | bsd-2-clause | benkha/emacs.d,cjqw/emacs.d,blueabysm/emacs.d,qianwan/emacs.d,emuio/emacs.d,krzysz00/emacs.d,purcell/emacs.d,braveoyster/emacs.d,me020523/emacs.d,baohaojun/emacs.d,kindoblue/emacs.d,gsmlg/emacs.d,svenyurgensson/emacs.d,blueseason/emacs.d,kongfy/emacs.d,dcorking/emacs.d,arthurl/emacs.d,wegatron/emacs.d,mmqmzk/emacs.d,lu... |
c1937397f3cc123ab117635b1e0a4859a748e056 | modules/ui/minimap/config.el | modules/ui/minimap/config.el | ;;; ui/minimap/config.el -*- lexical-binding: t; -*-
(use-package! minimap
:hook doom-load-theme-hook
:config
(setq minimap-window-location 'right
minimap-update-delay 0
minimap-width-fraction 0.09
minimap-minimum-width 15)
(custom-set-faces!
`(minimap-current-line-face
:backg... | ;;; ui/minimap/config.el -*- lexical-binding: t; -*-
(use-package! minimap
:hook doom-load-theme-hook
:config
(setq minimap-window-location 'right
minimap-update-delay 0
minimap-width-fraction 0.09
minimap-minimum-width 15))
| Remove custom faces from module | Remove custom faces from module
Removed the custom faces from the module in favor of setting them in
doom-themes itself
https://github.com/hlissner/emacs-doom-themes/pull/467
| Emacs Lisp | mit | hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/.em... |
78f2b9e9fa30f0bf3d5562fe27eef066371e04a9 | lisp/init-ledger.el | lisp/init-ledger.el | (require-package 'ledger-mode)
(add-to-list 'auto-mode-alist '("\\.ledger$" . ledger-mode))
(when (> emacs-major-version 23)
(require-package 'flycheck-ledger))
(after-load 'flycheck
(require 'flycheck-ledger))
(after-load 'ledger-mode
(define-key ledger-mode-map (kbd "RET") 'newline)
(define-key ledger-mode-... | (require-package 'ledger-mode)
(add-to-list 'auto-mode-alist '("\\.ledger$" . ledger-mode))
(when (> emacs-major-version 23)
(require-package 'flycheck-ledger))
(after-load 'flycheck
(require 'flycheck-ledger))
(after-load 'ledger-mode
(define-key ledger-mode-map (kbd "RET") 'newline)
(define-key ledger-mode-... | Check OS before using exec-path-from-shell for $LEDGER_FILE | Check OS before using exec-path-from-shell for $LEDGER_FILE
See #174
| Emacs Lisp | bsd-2-clause | Jadecity/PurcellEmacs.d,ruiyang/emacs.d,svenyurgensson/emacs.d,pairyo/emacs.d,lust4life/emacs.d,farzadbekran/emacs.d,baohaojun/emacs.d,me020523/emacs.d,wegatron/emacs.d,caoyuanqi/emacs.d,whizzzkid/emacs.d,LKI/emacs.d,scorpionis/emacs.d,hophacker/emacs.d,wenpincui/emacs.d,bibaijin/emacs.d,ilove0518/emacs.d,LittleLmp/ema... |
d121ccacf324ffc0b9e2d26fb7d90f99d6ceec3c | lisp/init-benchmarking.el | lisp/init-benchmarking.el | (defun sanityinc/time-subtract-millis (b a)
(* 1000.0 (float-time (time-subtract b a))))
(defvar sanityinc/require-times nil
"A list of (FEATURE . LOAD-DURATION).
LOAD-DURATION is the time taken in milliseconds to load FEATURE.")
(defadvice require
(around build-require-times (feature &optional filename noerro... | (defun sanityinc/time-subtract-millis (b a)
(* 1000.0 (float-time (time-subtract b a))))
(defvar sanityinc/require-times nil
"A list of (FEATURE . LOAD-DURATION).
LOAD-DURATION is the time taken in milliseconds to load FEATURE.")
(defadvice require (around sanityinc/build-require-times (feature &optional filenam... | Tidy up the require-times benchmarking advice | Tidy up the require-times benchmarking advice
| Emacs Lisp | bsd-2-clause | mmqmzk/emacs.d,benkha/emacs.d,baohaojun/emacs.d,emuio/emacs.d,jkaessens/emacs.d,cyjia/emacs.d,Werewolflsp/emacs.d,svenyurgensson/emacs.d,cjqw/emacs.d,arthurl/emacs.d,ernest-dzf/emacs.d,LKI/emacs.d,kindoblue/emacs.d,blueabysm/emacs.d,Shanicky/emacs.d,qinshulei/emacs.d,dcorking/emacs.d,qianwan/emacs.d,blueseason/emacs.d,... |
4fb4065e9ec03b19aed06e2da44317d722875060 | modules/my-markdown.el | modules/my-markdown.el | ;;; -*- lexical-binding: t -*-
;;; my-markdown.el --- Markdown settings.
;; Copyright (C) 2016 Sergey Timanin
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.apache.org... | ;;; -*- lexical-binding: t -*-
;;; my-markdown.el --- Markdown settings.
;; Copyright (C) 2016 Sergey Timanin
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.apache.org... | Tidy up the markdown config as per official docs. | Tidy up the markdown config as per official docs.
| Emacs Lisp | apache-2.0 | timanin/emacs.d |
b6e80b7409eab008be87cb46e8f3c8c7d5f9ba76 | layers/+lang/nim/config.el | layers/+lang/nim/config.el | ;;; packages.el --- Nim Configuration Layer for Spacemacs
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Max Gonzih
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; Variables
(spacemacs|defvar-company-backends nim-mode)
(spacem... | ;;; packages.el --- Nim Configuration Layer for Spacemacs
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Max Gonzih
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; Variables
(spacemacs|defvar-company-backends nim-mode)
(spacem... | Fix whoopsie from previous commit | Fix whoopsie from previous commit
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
c41ef0c802e653f53ed2472b4139a917e76dff46 | .mc-lists.el | .mc-lists.el | ;; This file is automatically generated by the multiple-cursors extension.
;; It keeps track of your preferences for running commands with multiple cursors.
(setq mc/cmds-to-run-for-all
'(
beginning-of-line-dwim
forward-sexp
sp--self-insert-command
yas-expand
zap-up-to-cha... | ;; This file is automatically generated by the multiple-cursors extension.
;; It keeps track of your preferences for running commands with multiple cursors.
(setq mc/cmds-to-run-for-all
'(
backward-sexp
beginning-of-line-dwim
forward-sexp
sp--self-insert-command
yas-expand... | Mark backward-sexp as safe for multiple cursors. | Mark backward-sexp as safe for multiple cursors.
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
a110b6ab5f9f1eecb5923e2abaea72ffe0092435 | modules/lang/nix/config.el | modules/lang/nix/config.el | ;;; lang/nix/config.el -*- lexical-binding: t; -*-
(after! tramp
(add-to-list 'tramp-remote-path "/run/current-system/sw/bin"))
;;
;;; Plugins
(use-package! nix-mode
:interpreter ("\\(?:cached-\\)?nix-shell" . +nix-shell-init-mode)
:mode "\\.nix\\'"
:config
(set-repl-handler! 'nix-mode #'+nix/open-repl)
... | ;;; lang/nix/config.el -*- lexical-binding: t; -*-
(after! tramp
(add-to-list 'tramp-remote-path "/run/current-system/sw/bin"))
;;
;;; Plugins
(use-package! nix-mode
:interpreter ("\\(?:cached-\\)?nix-shell" . +nix-shell-init-mode)
:mode "\\.nix\\'"
:config
(set-repl-handler! 'nix-mode #'+nix/open-repl)
... | Disable idle completion in nix-mode | Disable idle completion in nix-mode
company-nixos-options is dreadfully slow, so we make code completion
manual in nix-mode.
Closes #3927
| Emacs Lisp | mit | hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d |
f530a2c26dc732a70e52016cce1e9961296d23e0 | modules/app/twitter/autoload.el | modules/app/twitter/autoload.el | ;;; app/twitter/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun =twitter ()
(interactive)
(+workspace-switch "Twitter" t)
(delete-other-windows)
(condition-case ex
(progn
(call-interactively #'twit)
(unless (get-buffer (car twittering-initial-timeline-spec-string))
... | ;;; app/twitter/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun =twitter ()
(interactive)
(+workspace-switch "*Twitter*" t)
(delete-other-windows)
(condition-case ex
(progn
(call-interactively #'twit)
(unless (get-buffer (car twittering-initial-timeline-spec-string))
... | Fix app/twitter workspace name: *Twitter* | Fix app/twitter workspace name: *Twitter*
| Emacs Lisp | mit | hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,aminb/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,aminb/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,aminb/.emacs.d,aminb/.... |
95ac48e557503ccc49405acbcda4af76960e2e13 | setup-files/setup-latex.el | setup-files/setup-latex.el | ;; Time-stamp: <2014-11-07 12:45:03 kmodi>
;; LaTeX
(prepend-path (concat user-emacs-directory "/auctex"))
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
(setq LaTeX-command "latex -shell-escape")
;; Source: http://www.sigmafield.org/2009/10/03/using-doc-view-with-auto-revert-to-view-latex-pdf-output... | ;; Time-stamp: <2014-11-07 13:52:39 kmodi>
;;
;; LaTeX
;;
;; NOTE: auctex has to be installed from outside emacs for the below `load's
;; to work.
;;
;; 1. Download the latest auctex from http://www.gnu.org/software/auctex/download-for-unix.html
;; 2. tar xvzf auctex-VERSION.tar.gz
;; 3. ./configure --prefix=/home/kmod... | Add information on how to install auctex | Add information on how to install auctex
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
8839bf6cad282a1813aaa0dd04f050949dd891bc | biosite/boron-dir-locals.el | biosite/boron-dir-locals.el | (
(nil . ((projectile-project-compilation-dir . "./build")
(projectile-project-compilation-cmd . "ninja")
;; Include common in file listings
(projectile-hg-command . "hg locate -f -0 -I . && hg locate -R common -f -0 -I common/")
)
)
)
| (
(nil . ((projectile-project-compilation-dir . "./build")
(projectile-project-compilation-cmd . "ninja")
;; Include common in file listings
(projectile-hg-command . "hg files -0 -S")
)
)
)
| Use hg files not hg locate | Use hg files not hg locate
| Emacs Lisp | cc0-1.0 | davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles |
a4bdeeae95ca7cdf7452f3dcf4c4e7fb1f8d9a3a | init-haml.el | init-haml.el | (add-auto-mode 'haml-mode "\.haml$")
(add-auto-mode 'sass-mode "\.sass$")
(autoload 'haml-mode "haml-mode" "Mode for editing haml files" t)
(autoload 'sass-mode "sass-mode" "Mode for editing sass files" t)
(require 'flymake-haml)
(add-hook 'haml-mode-hook 'flymake-haml-load)
(add-hook 'sass-mode-hook 'flymake-sass-loa... | (add-auto-mode 'haml-mode "\.haml$")
(add-auto-mode 'sass-mode "\.sass$" "\.scss$")
(autoload 'haml-mode "haml-mode" "Mode for editing haml files" t)
(autoload 'sass-mode "sass-mode" "Mode for editing sass files" t)
(require 'flymake-haml)
(add-hook 'haml-mode-hook 'flymake-haml-load)
(add-hook 'sass-mode-hook 'flymak... | Use sass-mode in .scss files too | Use sass-mode in .scss files too
| Emacs Lisp | bsd-2-clause | jhpx/emacs.d,lujianmei/emacs.d,fengxl/emacs.d,ernest-dzf/emacs.d,LittleLmp/emacs.d,boblannon/emacs.d,DarkThrone/emacs.d,zuoshifan/emacs.d,wegatron/emacs.d,zuoshifan/emacs.d,mmqmzk/emacs.d,exclamaforte/emacs.d,lust4life/emacs.d,ruiyang/emacs.d,jachinpy/emacs.d,zuoshifan/emacs.d,wenpincui/emacs.d,alant/emacs.d,me020523/e... |
ab80b51751d89caa2f8bcd76df41394342cfc0a2 | setup-wrap-region.el | setup-wrap-region.el | (require 'wrap-region)
;; Active in all modes
(wrap-region-global-mode t)
;; Only wrap region if trigger key is given a negative prefix argument
(setq wrap-region-only-with-negative-prefix t)
;; Custom wrappers
(wrap-region-add-wrapper "{ value: " " }" "v" 'js2-mode)
(wrap-region-add-wrapper "$(" ")" "$" 'js2-mode)... | (require 'wrap-region)
;; Active in all modes
(wrap-region-global-mode t)
;; Only wrap region if trigger key is given a negative prefix argument
(setq wrap-region-only-with-negative-prefix t)
;; Don't screw up key bindings in magit-mode
(add-to-list 'wrap-region-except-modes 'magit-mode)
;; Custom wrappers
(wrap-r... | Fix problem in magit with staging/reverting chunks in region. | Fix problem in magit with staging/reverting chunks in region.
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
281185719e7f554067ffa6cc34304f1e4ea4b35d | contrib/lang/scala/packages.el | contrib/lang/scala/packages.el | (defvar scala-packages
'(
ensime
sbt-mode
scala-mode2
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defun spacemacs/init-ensime ()
(use-package ensime
:defer t
:config
(progn
(evi... | (defvar scala-packages
'(
ensime
sbt-mode
scala-mode2
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defun spacemacs/init-ensime ()
(use-package ensime
:commands (ensime-mode)
:init
(add... | Enable ensime in all scala buffers | Enable ensime in all scala buffers
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
381b86360f936c59c177f65faf494a08217c334f | init-org.el | init-org.el | (setq load-path (cons "~/.emacs.d/site-lisp/org-mode/lisp" load-path))
(setq load-path (cons "~/.emacs.d/site-lisp/org-mode/contrib/lisp" load-path))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(setq org-log-done t)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
... | (setq load-path (cons "~/.emacs.d/site-lisp/org-mode/lisp" load-path))
(setq load-path (cons "~/.emacs.d/site-lisp/org-mode/contrib/lisp" load-path))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(setq org-log-done t)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
... | Add "STARTED" to my default org TODO keywords | Add "STARTED" to my default org TODO keywords
| Emacs Lisp | bsd-2-clause | zuoshifan/emacs.d,hophacker/emacs.d,Werewolflsp/emacs.d,me020523/emacs.d,krzysz00/emacs.d,shafayetkhan/emacs.d,zuoshifan/emacs.d,farzadbekran/emacs.d,lujianmei/emacs.d,cyjia/emacs.d,arthurl/emacs.d,LKI/emacs.d,gsmlg/emacs.d,braveoyster/emacs.d,zuoshifan/emacs.d,hkcqr/emacs.d,Togal/emacs.d,emuio/emacs.d,haodaivshen/emac... |
2e9aac4d4a090bf05895484397913b7ca79ef841 | custom/44-flyspell.el | custom/44-flyspell.el | (require 'flyspell)
(setq flyspell-issue-message-flg nil)
(add-hook 'enh-ruby-mode-hook
(lambda () (flyspell-prog-mode)))
(add-hook 'web-mode-hook
(lambda () (flyspell-prog-mode)))
(add-hook 'org-mode-hook
(lambda () (flyspell-prog-mode)))
(add-hook 'haml-mode-hook
(lambda () ('flymake-ham... | (require 'flyspell)
(setq flyspell-issue-message-flg nil)
(setq ispell-dictionary "british")
(add-hook 'enh-ruby-mode-hook
(lambda () (flyspell-prog-mode)))
(add-hook 'web-mode-hook
(lambda () (flyspell-prog-mode)))
(add-hook 'coffee-mode-hook
(lambda () (flyspell-prog-mode)))
(add-hook 'org-... | Set my spell checker to british | Set my spell checker to british
| Emacs Lisp | mit | map7/emacs-config,map7/emacs-config,map7/emacs-config |
151d64dd5d2604ef5c9bed6c21df1fbc9315d261 | doom_emacs/init.el | doom_emacs/init.el | ;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
(ivy +icons +prescient +fuzzy)
(company +childframe)
:ui
doom
doom-dashboard
modeline
ophints
hl-todo
nav-flash
treemacs
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
windo... | ;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
(ivy +icons +prescient +fuzzy)
(company +childframe)
:ui
doom
doom-dashboard
modeline
ophints
hl-todo
nav-flash
treemacs
(popup +all +defaults)
(ligatures +fira)
vc-gutter
vi-tilde-fringe
window-... | Change pretty-code module to ligatures | [emacs] Change pretty-code module to ligatures
| Emacs Lisp | mit | mpardalos/dotfiles,mpardalos/dotfiles |
87b00ccf3b6e8960352b2ebc88570ae5a61da879 | layers/mfa-pass/packages.el | layers/mfa-pass/packages.el | (defconst mfa-pass-packages '(helm-pass))
(defun mfa-pass/init-helm-pass ()
(use-package helm-pass
:defer t
:init
(spacemacs/set-leader-keys "op" #'helm-pass)))
| (defconst mfa-pass-packages '(helm-pass))
(defun mfa-pass/init-helm-pass ()
(use-package helm-pass
:defer t
:init
(spacemacs/set-leader-keys "ou" #'helm-pass)))
| Change keybinding of helm-pass to not conflict with projectile term | Change keybinding of helm-pass to not conflict with projectile term
| Emacs Lisp | mit | amfranz/spacemacs.d |
4fc148c96011bb44a8c8a3d5e2bf7fd4a4fd0cb4 | .emacs.d/prelude-modules.el | .emacs.d/prelude-modules.el | ;;; Uncomment the modules you'd like to use and restart Prelude afterwards
;; Emacs IRC client
(require 'prelude-erc)
(require 'prelude-ido) ;; Super charges Emacs completion for C-x C-f and more
(require 'prelude-helm) ;; Interface for narrowing and search
(require 'prelude-helm-everywhere) ;; Enable Helm everywhere
... | ;;; Uncomment the modules you'd like to use and restart Prelude afterwards
;; Emacs IRC client
(require 'prelude-erc)
(require 'prelude-ido) ;; Super charges Emacs completion for C-x C-f and more
(require 'prelude-helm) ;; Interface for narrowing and search
(require 'prelude-helm-everywhere) ;; Enable Helm everywhere
... | Add some more modules to Emacs | Add some more modules to Emacs
Signed-off-by: Rafael Campos Nunes <42f0a9af43f2538fd3153aecc7c3ff958e89d724@engineer.com>
| Emacs Lisp | mit | rafaelcn/Linux-setup,rafaelcn/dotfiles |
6d5f34756031d2aedd9abd8985b8ab20810966f7 | emacs/emacs.d.symlink/osx.el | emacs/emacs.d.symlink/osx.el | ;;; osx.el --- Handles configuration specifc to OS X
;;; Commentary:
;; All configuration only relevant when running Emacs on OS X.
;;; Code:
;; Use command as meta key, leave option alone
(setq mac-command-modifier 'meta)
(setq mac-option-modifier nil)
;; Menu bar is not annoying in OSX
(menu-bar-mode 1)
;; Make... | ;;; osx.el --- Handles configuration specifc to OS X
;;; Commentary:
;; All configuration only relevant when running Emacs on OS X.
;;; Code:
;; Use command as meta key, leave option alone
(setq mac-command-modifier 'meta)
(setq mac-option-modifier nil)
;; Menu bar is not annoying in OSX
(menu-bar-mode 1)
;; Make... | Fix Emacs font on OS X | Fix Emacs font on OS X
| Emacs Lisp | mit | jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles |
e7e10a02ef74b529e1c9044073692628d64d410b | modes/projectile-conf.el | modes/projectile-conf.el | ;;; projectile-conf.el -- Settings for projectile.
(eval-when-compile
(require 'projectile))
(custom-set-variables
'(projectile-switch-project-action 'projectile-dired)
'(projectile-mode-line
'(:eval (format " [%s]" (projectile-project-name)))))
(add-to-list 'projectile-globally-ignored-modes "mu4e-.*-mode")
(... | ;;; projectile-conf.el -- Settings for projectile.
(eval-when-compile
(require 'projectile))
(custom-set-variables
'(projectile-switch-project-action 'projectile-dired)
'(projectile-mode-line
'(:eval (format " [%s]" (projectile-project-name)))))
(add-to-list 'projectile-globally-ignored-modes "mu4e-.*-mode")
(... | Update to latest version of projectile | Update to latest version of projectile
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
c4535faadae97c2119e4d1766d6f28d39f28c470 | setup-clojure-mode.el | setup-clojure-mode.el | (require 'clojure-mode)
(define-key clojure-mode-map (kbd "C-c C-j") 'clj-jump-to-other-file)
(define-key clojure-mode-map (kbd "C-c M-j") 'clj-jump-to-other-file-other-window)
(provide 'setup-clojure-mode)
| (require 'clojure-mode)
(define-key clojure-mode-map (kbd "C-c C-j") 'clj-jump-to-other-file)
(define-key clojure-mode-map (kbd "C-c M-j") 'clj-jump-to-other-file-other-window)
(defadvice clojure-test-run-tests (before save-first activate)
(save-buffer))
(autoload 'clojure-test-mode "clojure-test-mode")
(provide ... | Save buffer before running tests in clojure-test-mode | Save buffer before running tests in clojure-test-mode
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
c6fa3b4cbce7fefba8fa7e198144e6118bff7f93 | setup-files/setup-number.el | setup-files/setup-number.el | ;; Time-stamp: <2014-08-13 11:24:24 kmodi>
;; Number
;; https://github.com/chrisdone/chrisdone-emacs/blob/master/packages/number/number.el
(req-package number)
(provide 'setup-number)
| ;; Time-stamp: <2015-01-21 14:19:14 kmodi>
;; Number
;; https://github.com/chrisdone/number
(req-package number)
(provide 'setup-number)
| Fix the package source link in comment | Fix the package source link in comment
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
2d67303d473550d65df65af6cc4b35656a3712b8 | custom.el | custom.el | (custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (brin)))
'(custom-safe-themes
(quote
... | (custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (brin base16-default-dark)))
'(custom-safe... | Change order of loading themes | Change order of loading themes
| Emacs Lisp | bsd-2-clause | shafayetkhan/emacs.d |
268489d690e6191c7e6f76f6d0683fbab47b929f | key-chords.el | key-chords.el | (require 'key-chord)
(key-chord-mode 1)
;; Move to char similar to "f" in vim, f+j forward, f+h backward
(key-chord-define-global "fj" 'iy-go-to-char)
(key-chord-define-global "fh" 'iy-go-to-char-backward)
;; Indent entire buffer and fix whitespace
(key-chord-define-global "i0" 'indent-buffer)
(key-chord-define-globa... | (require 'key-chord)
(key-chord-mode 1)
;; Move to char similar to "f" in vim, f+j forward, f+h backward
(key-chord-define-global "fj" 'iy-go-to-char)
(key-chord-define-global "fh" 'iy-go-to-char-backward)
(provide 'key-chords) | Remove unneccessary chords - already have C-c n (cleanup-buffer) | Remove unneccessary chords
- already have C-c n (cleanup-buffer)
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
60298939568499586ebf7660ab1ebba79c82041a | config/newemacs/settings/evil-nerd-commenter-settings.el | config/newemacs/settings/evil-nerd-commenter-settings.el | (use-package evil-nerd-commenter
:config
(evil-leader/set-key
";" 'evilnc-comment-or-uncomment-lines
"ci" 'evilnc-comment-or-uncomment-lines
"cl" 'evilnc-quick-comment-or-uncomment-to-the-line
"cc" 'evilnc-copy-and-comment-lines
"cp" 'evilnc-comment-or-uncomment-paragraphs
"cr" 'comment-or-... | (use-package evil-nerd-commenter
:config
(evil-leader/set-key
";" 'evilnc-comment-or-uncomment-lines
"ci" 'evilnc-comment-or-uncomment-lines
"cl" 'evilnc-quick-comment-or-uncomment-to-the-line
"cc" 'evilnc-copy-and-comment-lines
"cp" 'evilnc-comment-or-uncomment-paragraphs
"cr" 'comment-or-... | Change default c-mode comment style to single line comments | Change default c-mode comment style to single line comments
| Emacs Lisp | mit | rogerzanoni/dotfiles |
04bb36e0ae1430262b048d400102b0fed43377ac | hw/ip/uart/dv/cov/uart_cov_excl.el | hw/ip/uart/dv/cov/uart_cov_excl.el | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Coverage exclusion file for uart
CHECKSUM: "1115183444 4229339"
INSTANCE: tb.dut.uart_core
// this is unreachable condition
Condition 16 "7100374" "(break_err && (bre... | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Coverage exclusion file for uart
ANNOTATION: "[UNR] default branch"
CHECKSUM: "2856317324 3065048585"
INSTANCE: tb.dut.uart_core
Branch 7 "2483258407" "(!rst_ni)" (5)... | Update coverage exclusion file as design change | [uart/dv] Update coverage exclusion file as design change
| Emacs Lisp | apache-2.0 | lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan |
cbcd52fb24fe4bcd83f29732bb2bd872122911ea | emacs/lisp/packages.el | emacs/lisp/packages.el | ;;; packages.el -- Emacs package management
(require 'package)
(defvar pjones:package-archives
'(("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/"))
"List of package archives to use with Emacs.")
(defvar pjones:packages
'(magit flymake-ruby ruby-end inf-ru... | ;;; packages.el -- Emacs package management
(require 'package)
(defvar pjones:package-archives
'(("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/"))
"List of package archives to use with Emacs.")
(defvar pjones:packages
'(magit flymake-ruby ruby-end inf-ru... | Add a package for switching windows easily | Add a package for switching windows easily
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
6a2db8478364554c343dc4d96ef73e5d6e40919b | .emacs.d/personal/personal.el | .emacs.d/personal/personal.el | ;; show line numbers
(global-linum-mode t)
;; enable arrow keys
(setq prelude-guru nil)
;; disable standard theme
(disable-theme 'zenburn)
;; disable spellchecking
(setq prelude-flyspell nil)
;; hide scrollbar
(scroll-bar-mode -1)
;; Highlight current line
(global-hl-line-mode 0)
;; Install Intero
(require 'inte... | ;; show line numbers
(global-linum-mode t)
;; enable arrow keys
(setq prelude-guru nil)
;; disable standard theme
(disable-theme 'zenburn)
;; disable spellchecking
(setq prelude-flyspell nil)
;; hide scrollbar
(scroll-bar-mode -1)
;; Highlight current line
(global-hl-line-mode 0)
;; Install Intero
(package-instal... | Fix installation of needed packages | Fix installation of needed packages
| Emacs Lisp | mit | sectore/dotfiles,sectore/dotfiles |
30cfbc19b43b7db2851ebee93428a5637b575030 | setup-dired.el | setup-dired.el | ;; Make dired less verbose
(require 'dired-details)
(setq-default dired-details-hidden-string " ")
(dired-details-install)
(provide 'setup-dired) | ;; Make dired less verbose
(require 'dired-details)
(setq-default dired-details-hidden-string "")
(dired-details-install)
(provide 'setup-dired) | Remove more whitespace from dired listings. | Remove more whitespace from dired listings.
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
3f414d2a7f57d96c319aca978d4b586378590282 | setup-files/setup-hardcore.el | setup-files/setup-hardcore.el | ;; Time-stamp: <2013-12-02 17:07:21 kmodi>
;; Hardcore mode
(setq too-hardcore-backspace t)
(setq too-hardcore-return t)
(require 'hardcore-mode)
(global-hardcore-mode)
(provide 'setup-hardcore)
| ;; Time-stamp: <2014-07-13 23:57:23 kmodi>
;; Hardcore mode
(setq too-hardcore-backspace t)
(setq too-hardcore-return t)
(require 'hardcore-mode)
(global-hardcore-mode)
(setq setup-hardcore-loaded t)
(provide 'setup-hardcore)
| Set a var when loading this setup file | Set a var when loading this setup file
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
ea620ad4e88f57a28f61c214fbb5c13fe5afd204 | custom/theme.el | custom/theme.el | ;;; package --- Summary
;;; Commentary:
;;; Code:
;; in default Emacs, themes can be kind of stacked.
;; Dissable this behavior.
(defadvice load-theme
(before theme-dont-propagate activate)
(mapcar #'disable-theme custom-enabled-themes))
| ;;; package --- Summary
;;; Commentary:
;;; Code:
;; in default Emacs, themes can be kind of stacked.
;; Dissable this behavior.
(defadvice load-theme
(before theme-dont-propagate activate)
(mapc #'disable-theme custom-enabled-themes))
| Change deprecated "mapcar" to "mapc" | Change deprecated "mapcar" to "mapc"
| Emacs Lisp | unlicense | schanur/emacs.d |
dda396e5c2433a7122b8dbbc73f40c9d40115f45 | emacs.d/base.el | emacs.d/base.el | (setq ad-redefinition-action 'accept)
(setq-default truncate-lines t)
(setq-default indent-tabs-mode nil)
(setq-default tab-width 2)
(setq-default tab-stop-list (number-sequence 2 120 2))
(defalias 'yes-or-no-p 'y-or-n-p)
(add-hook 'before-save-hook 'delete-trailing-whitespace)
(setq prettify-symbols-unprettify-at-... | (setq ad-redefinition-action 'accept)
(setq-default truncate-lines t)
(setq-default indent-tabs-mode nil)
(setq-default tab-width 2)
(setq-default tab-stop-list (number-sequence 2 120 2))
(defalias 'yes-or-no-p 'y-or-n-p)
(add-hook 'before-save-hook 'delete-trailing-whitespace)
(setq prettify-symbols-unprettify-at-... | Set clipboard copying with newer vars | emacs: Set clipboard copying with newer vars
| Emacs Lisp | mit | bbenne10/dotfiles,bbenne10/dotfiles |
1bc2cd67a184f6953b57b65c5df10756f64b4258 | .emacs.d/w-packages/markdown-mode.el | .emacs.d/w-packages/markdown-mode.el | ;; -*- coding: utf-8 -*-
(use-package markdown-mode
:mode ("\\.text\\'" "\\.markdown\\'" "\\.md\\'")) | ;; -*- coding: utf-8 -*-
(use-package markdown-mode
:commands (markdown-mode gfm-mode)
:mode (("README\\.md\\'" . gfm-mode)
("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:init (setq markdown-command "multimarkdown"))
| Update config for mark down mode | Update config for mark down mode
| Emacs Lisp | mit | winterTTr/emacs-winterTTr |
4ab1f8d147ef7f1517afb0974a7f9996e9780209 | init-flymake.el | init-flymake.el | (require-package 'flymake-cursor)
(setq flymake-gui-warnings-enabled nil)
;; Stop flymake from breaking when ruby-mode is invoked by mmm-mode,
;; at which point buffer-file-name is nil
(eval-after-load 'flymake
'(progn
(global-set-key (kbd "C-`") 'flymake-goto-next-error)
(defun flymake-can-syntax-check-... | (require-package 'flymake-cursor)
(setq flymake-gui-warnings-enabled nil)
;; Stop flymake from breaking when ruby-mode is invoked by mmm-mode,
;; at which point buffer-file-name is nil
(eval-after-load 'flymake
'(progn
(defun flymake-can-syntax-check-file (file-name)
"Determine whether we can syntax che... | Remove binding of C-` for flymake-goto-next-error | Remove binding of C-` for flymake-goto-next-error
| Emacs Lisp | bsd-2-clause | DarkThrone/emacs.d,wenpincui/emacs.d,roxolan/emacs.d,qinshulei/emacs.d,Shanicky/emacs.d,dhanunjaya/emacs.d,farzadbekran/emacs.d,jachinpy/emacs.d,farzadbekran/emacs.d,benkha/emacs.d,caoyuanqi/emacs.d,zenith-john/emacs.d,farzadbekran/emacs.d,emuio/emacs.d,braveoyster/emacs.d,jkaessens/emacs.d,haodaivshen/emacs.d,farzadbe... |
ff3248d0222ff6e4adce42adcc4d4b13e4164d98 | modules/lang/scala/config.el | modules/lang/scala/config.el | ;;; lang/scala/config.el -*- lexical-binding: t; -*-
(after! projectile
(add-to-list 'projectile-project-root-files "build.sbt"))
;;
;;; Packages
(after! scala-mode
(setq scala-indent:align-parameters t
;; indent block comments to first asterix, not second
scala-indent:use-javadoc-style t)
(s... | ;;; lang/scala/config.el -*- lexical-binding: t; -*-
(after! projectile
(add-to-list 'projectile-project-root-files "build.sbt"))
;;
;;; Packages
(after! scala-mode
(setq scala-indent:align-parameters t
;; indent block comments to first asterix, not second
scala-indent:use-javadoc-style t)
(s... | Disable lsp indentation in scala mode | Disable lsp indentation in scala mode
| Emacs Lisp | mit | hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d |
8e1d1b951eb405ce5d289b48aed6121d025763ca | lisp/init-exec-path.el | lisp/init-exec-path.el | (require-package 'exec-path-from-shell)
(after-load 'exec-path-from-shell
(dolist (var '("SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" "LANG" "LC_CTYPE"))
(add-to-list 'exec-path-from-shell-variables var)))
(when (memq window-system '(mac ns x))
(setq-default exec-path-from-shell-arguments nil)
(exec-pa... | (require-package 'exec-path-from-shell)
(after-load 'exec-path-from-shell
(dolist (var '("SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" "LANG" "LC_CTYPE"))
(add-to-list 'exec-path-from-shell-variables var)))
(when (memq window-system '(mac ns x))
(exec-path-from-shell-initialize))
(provide 'init-exec-path... | Revert "Run exec-path-from-shell in strict mode, requiring optimal shell config" | Revert "Run exec-path-from-shell in strict mode, requiring optimal shell config"
This reverts commit c01ca45ff5a3c4d6312e7d85e5c1fea2f42f95c2.
| Emacs Lisp | bsd-2-clause | emuio/emacs.d |
41b2466be798d5487d59ed5b61248adc39cc73f0 | setup-skewer.el | setup-skewer.el |
;; Bookmarklet to load skewer:
;;
;; javascript:(function(){var d=document ;var s=d.createElement('script');s.src='http://localhost:8023/skewer';d.body.appendChild(s);})()
;;
(require 'skewer-mode)
(require 'skewer-repl)
(defun skewer-start ()
(interactive)
(let ((httpd-port 8023))
(httpd-start)
(mes... |
;; Bookmarklet to load skewer:
;;
;; javascript:(function(){var d=document ;var s=d.createElement('script');s.src='http://localhost:8023/skewer';d.body.appendChild(s);})()
;;
(require 'skewer-mode)
(require 'skewer-repl)
(require 'skewer-html)
(require 'skewer-css)
(defun skewer-start ()
(interactive)
(let (... | Add html and css support for skewer | Add html and css support for skewer
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
90d0369b2cc581745054acbbaa8e6c7e4a129150 | layers/my-compile/keybindings.el | layers/my-compile/keybindings.el | ;; -*- lexical-binding: t -*-
(spacemacs/safe-set-leader-keys
"je" #'spacemacs/goto-error-transient-state/body
"jm" #'display-compilation-buffer)
| ;; -*- lexical-binding: t -*-
(spacemacs/safe-set-leader-keys
"cb" #'display-compilation-buffer
"je" #'spacemacs/goto-error-transient-state/body)
| Change display-compilation-buffer key binding to 'SPC c b' | Change display-compilation-buffer key binding to 'SPC c b'
The ideal binding 'SPC j c' is already taken. As second-best option, let's move
the binding closer to 'SPC c d' which closes the compilation window.
| Emacs Lisp | mit | amfranz/spacemacs.d |
6524fb00f484af31a831a474064b96dcdc8ed513 | configs/emacs.d/pkgs/pkg-ui.el | configs/emacs.d/pkgs/pkg-ui.el | (use-package gruvbox-theme
:ensure t
:defer t
:init
(load-theme 'gruvbox t)
)
(provide 'pkg-ui)
| (use-package gruvbox-theme
:ensure t
:defer t
:init
(setq gruvbox-contrast 'medium)
(load-theme 'gruvbox t)
)
(provide 'pkg-ui)
| Set Gruvbox contrast to medium | Set Gruvbox contrast to medium
| Emacs Lisp | mit | noraesae/dotfiles,noraesae/dotfiles,noraesae/dotfiles |
66a29cc4e8b0524f36a2855a99a2806c17325504 | init-clojure.el | init-clojure.el | (add-hook 'clojure-mode-hook 'pretty-lambdas)
(add-hook 'clojure-mode-hook (lambda () (enable-paredit clojure-mode-map)))
(setq clojure-src-root (expand-file-name "~/Projects/External"))
(setq swank-clojure-jar-path (concat clojure-src-root "/clojure/clojure.jar")
swank-clojure-extra-classpaths (list (concat c... | (add-hook 'clojure-mode-hook 'pretty-lambdas)
(add-hook 'clojure-mode-hook (lambda () (enable-paredit clojure-mode-map)))
(setq clojure-src-root (expand-file-name "~/Projects/External"))
(setq swank-clojure-jar-path (concat clojure-src-root "/clojure/clojure.jar")
swank-clojure-extra-classpaths (list (concat c... | Remove broken initialization call for swank clojure | Remove broken initialization call for swank clojure
| Emacs Lisp | bsd-2-clause | farzadbekran/emacs.d,krzysz00/emacs.d,jhpx/emacs.d,danfengcao/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,jthetzel/emacs.d,jachinpy/emacs.d,arthurl/emacs.d,renatoriccio/emacs.d,shafayetkhan/emacs.d,qinshulei/emacs.d,gsmlg/emacs.d,Werewolflsp/emacs.d,caoyuanqi/emacs.d,zuoshifan/emacs.d,cyjia/emacs.d,qianwan/emacs.d,feng... |
67ef1165d47ddeafbccb5d3c3579986c8f60d1be | .emacs.d/lisp/pjs/pjs-reset.el | .emacs.d/lisp/pjs/pjs-reset.el | ;;; pjs-reset.el --- Reset after changing configuration -*- lexical-binding: t; -*-
;;
;;; Commentary:
;;
;;; Code:
(require 'pjs-system)
(require 'pjs-exwm)
(defun pjs-reset ()
"Recompile and reload all Emacs Lisp. If EXWM is configured, also reset that."
(interactive)
(byte-recompile-file (concat user-emacs-d... | ;;; pjs-reset.el --- Reset after changing configuration -*- lexical-binding: t; -*-
;;
;;; Commentary:
;;
;;; Code:
(require 'pjs-system)
(require 'pjs-exwm)
(defun pjs-reset ()
"Recompile and reload all Emacs Lisp. If EXWM is configured, also reset that."
(interactive)
(byte-recompile-file (concat user-emacs-d... | Load compiled init file, not source | Load compiled init file, not source
| Emacs Lisp | apache-2.0 | pjstadig/dotfiles,pjstadig/dotfiles |
1177067cef5fb4040b7fda2836d5e9449cc64fb9 | init-elpa.el | init-elpa.el | (eval-after-load "package"
'(progn
(when (> emacs-major-version 23)
(add-to-list 'package-archives '("tromey" . "http://tromey.com/elpa/")))
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
))
(defun require-package (package &optional min-version)
"Ask elpa to ... | (eval-after-load "package"
'(progn
(when (> emacs-major-version 23)
(add-to-list 'package-archives '("tromey" . "http://tromey.com/elpa/")))
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
))
(defun require-package (package &optional min-version)
"Ask elpa to ... | Adjust list of required elpa packages | Adjust list of required elpa packages
| Emacs Lisp | bsd-2-clause | zhaotai/.emacs.d,alant/emacs.d,purcell/emacs.d,baohaojun/emacs.d,farzadbekran/emacs.d,Guoozz/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,atreeyang/emacs.d,ilove0518/emacs.d,benkha/emacs.d,emuio/emacs.d,zhuoyikang/emacs.d,Werewolflsp/emacs.d,Togal/emacs.d,shafayetkhan/emacs.d,farzadbekran/emacs.d,mpwang/emacs.d,DarkThro... |
a2bfef3c4955f2a489d159b8c2b9cf4ecfc2789e | custom/33-ivy.el | custom/33-ivy.el | (use-package ivy
:init
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
:defer 5)
(use-package counsel
:defer 5
:bind (
("M-x" . counsel-M-x)
("C-x C-f" . counsel-find-file)
("s-f" . counsel-git)
("s-g" . counsel-git-grep)
("s-&" . counsel-shell-command)
(... | (use-package ivy
:init
(ido-mode 0)
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
:defer 5)
(use-package counsel
:defer 5
:bind (
("M-x" . counsel-M-x)
("C-x C-f" . counsel-find-file)
("s-f" . counsel-git)
("s-g" . counsel-git-grep)
("s-&" . counsel-shell-comm... | Disable ido-mode as we now use ivy | Disable ido-mode as we now use ivy
| Emacs Lisp | mit | map7/emacs-config,map7/emacs-config,map7/emacs-config |
864e15f19de4e316de5799dd7fba18c30181493c | modules/lang/haskell/config.el | modules/lang/haskell/config.el | ;;; lang/haskell/config.el -*- lexical-binding: t; -*-
(cond ((featurep! +intero) (load! "+intero"))
((featurep! +dante) (load! "+dante")))
;;
;; Common plugins
;;
(def-package! hindent
:hook (haskell-mode . hindent-mode))
(after! haskell-mode
(add-hook 'haskell-mode-hook 'subword-mode)
(add-hook 'hask... | ;;; lang/haskell/config.el -*- lexical-binding: t; -*-
(cond ((featurep! +intero) (load! "+intero"))
((featurep! +dante) (load! "+dante")))
;;
;; Common plugins
;;
(def-package! hindent
:hook (haskell-mode . hindent-mode))
(after! haskell-mode
(add-hook 'haskell-mode-hook 'subword-mode) ;; improves text ... | Add support for folding haskell code blocks | Add support for folding haskell code blocks
| Emacs Lisp | mit | hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/d... |
b48cc563f9c048f9317c2f1830627ffc0631c080 | modes/sh-script-conf.el | modes/sh-script-conf.el | ;;; sh-script-conf.el -- Settings for sh-mode.
(eval-when-compile (require 'sh-script))
(setq-default sh-basic-offset 2)
| ;;; sh-script-conf.el -- Settings for sh-mode.
(eval-when-compile (require 'sh-script))
(setq-default sh-basic-offset 2)
(setq sh-indentation 2)
| Fix indentation for shell scripts in Emacs 24.4 | Fix indentation for shell scripts in Emacs 24.4
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
9636a42c2a87783961ddfc8b432ff1f4bad4ac90 | home/.emacs.d/.dir-locals.el | home/.emacs.d/.dir-locals.el | ((emacs-lisp-mode . (eval .
(progn (setq-default flycheck-emacs-lisp-load-path 'inherit)))))
| ((emacs-lisp-mode . ((flycheck-emacs-lisp-load-path . inherit))))
| Fix project local Flycheck setup | Fix project local Flycheck setup
| Emacs Lisp | mit | cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles |
b505f1b973b7712084df850a3e40fddc0ea767fb | emacs/init.el | emacs/init.el | ;; Initialize package sources
(require 'package)
(setq package-archives '(("melpa" . "http://melpa.milkbox.net/packages/")
("org" . "http://orgmode.org/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")))
(unless package-archive-contents
(package-refresh-contents))
... | ;; Initialize package sources
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("melpa-stable" . "https://stable.melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")
("gnu" . "https://elpa.gnu.org/pac... | Use https for package archives, add MELPA Stable | Use https for package archives, add MELPA Stable
| Emacs Lisp | mit | daviwil/dotfiles,daviwil/dotfiles,daviwil/dotfiles,daviwil/dotfiles |
c9b97d0bc2d46b8912a0b655b55a3a4adc8b21ec | init-flycheck.el | init-flycheck.el | (when (eval-when-compile (>= emacs-major-version 24))
(require-package 'flycheck)
(add-hook 'after-init-hook 'global-flycheck-mode))
(provide 'init-flycheck)
| (when (eval-when-compile (>= emacs-major-version 24))
(require-package 'flycheck)
(add-hook 'after-init-hook 'global-flycheck-mode))
;; Override default flycheck triggers
(setq flycheck-check-syntax-automatically '(save idle-change mode-enabled)
flycheck-idle-change-delay 0.8)
(provide 'init-flycheck)
| Make flycheck execution defaults less aggressive | Make flycheck execution defaults less aggressive
| Emacs Lisp | bsd-2-clause | wenpincui/emacs.d,hkcqr/emacs.d,lujianmei/emacs.d,lromang/emacs.d,farzadbekran/emacs.d,alant/emacs.d,bibaijin/emacs.d,blueabysm/emacs.d,ernest-dzf/emacs.d,zenith-john/emacs.d,me020523/emacs.d,jachinpy/emacs.d,ilove0518/emacs.d,pairyo/emacs.d,Enzo-Liu/emacs.d,zhuoyikang/emacs.d,dongdonghu/.emacs.d,purcell/emacs.d,LKI/em... |
657fd42d9fe9f4a55f67b19016f6afe492062956 | lisp/init-html.el | lisp/init-html.el | (require-package 'tidy)
(add-hook 'html-mode-hook (lambda () (tidy-build-menu html-mode-map)))
(require-package 'tagedit)
(after-load 'sgml-mode
(tagedit-add-paredit-like-keybindings)
(add-hook 'sgml-mode-hook (lambda () (tagedit-mode 1))))
(add-auto-mode 'html-mode "\\.(jsp|tmpl)\\'")
;; Note: ERB is configured... | (require-package 'tidy)
(add-hook 'html-mode-hook (lambda () (tidy-build-menu html-mode-map)))
(require-package 'tagedit)
(after-load 'sgml-mode
(tagedit-add-paredit-like-keybindings)
(add-hook 'sgml-mode-hook (lambda () (tagedit-mode 1))))
(add-auto-mode 'html-mode "\\.\\(jsp\\|tmpl\\)\\'")
;; Note: ERB is conf... | Fix regexp for jsp auto-mode-alist entry (thanks @liuchunhua) | Fix regexp for jsp auto-mode-alist entry (thanks @liuchunhua)
Closes #298
| Emacs Lisp | bsd-2-clause | jachinpy/emacs.d,zhuoyikang/emacs.d,jhpx/emacs.d,jkaessens/emacs.d,atreeyang/emacs.d,roxolan/emacs.d,me020523/emacs.d,qianwan/emacs.d,cyjia/emacs.d,ernest-dzf/emacs.d,blueabysm/emacs.d,fengxl/emacs.d,Shanicky/emacs.d,purcell/emacs.d,baohaojun/emacs.d,emuio/emacs.d,Enzo-Liu/emacs.d,LittleLmp/emacs.d,shafayetkhan/emacs.d... |
cb81a88f1d57f99bb7079ee00e11402d2b530607 | emp.el | emp.el | (defun pipe (filename buffer-name)
"Open FILENAME and append its content to buffer BUFFER-NAME.
If a buffer with that name does not exist, it's created."
(find-file filename)
(append-to-buffer (get-buffer-create buffer-name) (point-min) (point-max))
(kill-buffer)
(switch-to-buffer buffer-name))
| (defun pipe (filename buffer-name)
"Open FILENAME and insert its content to buffer BUFFER-NAME.
If the buffer BUFFER-NAME does not exist, it's created.
If narrowing is taking place in buffer BUFFER-NAME only the narrowed region is
replaced by the piped content."
(find-file filename)
(let ((stdin (get-buffer-crea... | Support for replacing buffer contents and respect narrowing | Support for replacing buffer contents and respect narrowing | Emacs Lisp | mit | Emacs-Madrid/emacs-terminal |
bd3398b86271d5acc590c7b73f22f477a834a898 | settings/setup-magit.el | settings/setup-magit.el | ;; full screen magit-status
(defun magit-status-fullscreen (prefix)
(interactive "P")
(magit-status)
(unless prefix
(delete-other-windows)))
;; don't prompt me
(set-default 'magit-unstage-all-confirm nil)
(set-default 'magit-stage-all-confirm nil)
(set-default 'magit-revert-buffers 'silent)
;; full screen... | ;; full screen magit-status
(defun magit-status-fullscreen (prefix)
(interactive "P")
(magit-status)
(unless prefix
(delete-other-windows)))
;; don't prompt me
(set-default 'magit-unstage-all-confirm nil)
(set-default 'magit-stage-all-confirm nil)
(set-default 'magit-push-always-verify nil)
(set-default 'm... | Stop magit always verifing when pushing | Stop magit always verifing when pushing
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
ef4cc9c245b9398bff7e6b6e6bcabed6ac77f3b9 | rc/undo-redo.el | rc/undo-redo.el | ;; ==============================================================================
;; Undo/redo extensions
;; ------------------------------------------------------------------------------
;; (use-package "redo+"
;; :load-path "site-lisp/redo+")
(use-package "undo-tree"
:config
(global-undo-tree-mode)
(global... | ;; ==============================================================================
;; Undo/redo extensions
;; ------------------------------------------------------------------------------
;; (use-package "redo+"
;; :load-path "site-lisp/redo+")
(use-package "undo-tree"
:config
(global-undo-tree-mode)
;; (glo... | Disable custom undo-tree-mode key bindings as they do not work on Mac | Disable custom undo-tree-mode key bindings as they do not work on Mac
| Emacs Lisp | bsd-3-clause | peterhil/emacs-config |
c922a85131e9a94abf9af0333ccdeee18c6a363d | .emacs.d/config/packages/tern.el | .emacs.d/config/packages/tern.el | ;;; tern.el --- Configuration for tern
;;; Commentary:
;;; Code:
(use-package tern
:ensure t
:load-path "~/.emacs.d/lib/tern/emacs/"
:init
(add-hook 'js2-mode-hook (lambda () (tern-mode t)))
(autoload 'tern-mode "tern.el" nil t)
:config
(eval-after-load 'tern
'(progn
(use-package tern-aut... | ;;; tern.el --- Configuration for tern
;;; Commentary:
;;; Code:
(use-package tern
:ensure t
:load-path
("~/.emacs.d/lib/tern/emacs/")
:init
(add-hook 'js2-mode-hook (lambda () (tern-mode t)))
(autoload 'tern-mode "tern.el" nil t)
:config
(eval-after-load 'tern
'(progn
(use-package tern... | Make Tern's load-path a list | Make Tern's load-path a list
| Emacs Lisp | mit | madintist/emacs-config |
db39b44352b2e593a430ab30c372659ae3c760f4 | Packages/settings/setup-magit.el | Packages/settings/setup-magit.el | (define-key osx-key-mode-map [(alt m)] nil)
(use-package magit
:ensure t
:demand
:init
(setq magit-auto-revert-mode nil)
:config
(defhydra hydra-magit (:color teal :hint nil)
"
Magit
Status Changes Rebase Cherry Pick Merge
-----------------------------... | (define-key osx-key-mode-map [(alt m)] nil)
(use-package magit
:ensure t
:demand
:init
(setq magit-auto-revert-mode nil)
:config
(defhydra hydra-magit (:color teal :hint nil)
"
Magit
Status Changes Rebase Cherry Pick Merge
-----------------------------... | Update magit commit/rebase hydra bindings | Update magit commit/rebase hydra bindings
| Emacs Lisp | mit | hsienchiaolee/aquamacs |
b0725e4f49bf54651b0dcfae5c4b9aa19bdd7e3d | lisp/init-fonts.el | lisp/init-fonts.el | ;;; Character sets
(defcustom sanityinc/force-default-font-for-symbols nil
"When non-nil, force Emacs to use your default font for symbols."
:type 'boolean)
(defun sanityinc/maybe-use-default-font-for-symbols ()
"Force Emacs to render symbols using the default font, if so configured."
(when sanityinc/force-de... | ;;; Character sets
(defcustom sanityinc/force-default-font-for-symbols nil
"When non-nil, force Emacs to use your default font for symbols."
:type 'boolean)
(defun sanityinc/maybe-use-default-font-for-symbols ()
"Force Emacs to render symbols using the default font, if so configured."
(when sanityinc/force-de... | Change font to Source Code Pro | Change font to Source Code Pro
| Emacs Lisp | bsd-2-clause | shafayetkhan/emacs.d |
70c51521a23d222305af2a59d25c0b42ef0fe1d4 | lisp/init-local.el | lisp/init-local.el | (require-package 'j-mode)
(require-package 'android-mode)
(require-package 'fuel)
(require-package 'idris-mode)
(require-package 'auctex)
(require-package 'reftex)
(require-package 'auto-complete-auctex)
(require 'auto-complete-auctex)
(setq slime-path (file-name-directory (locate-library "slime")))
(setq slime-backe... | (require-package 'j-mode)
(require-package 'android-mode)
(require-package 'fuel)
(require-package 'idris-mode)
(require-package 'auctex)
(require-package 'reftex)
(setq slime-path (file-name-directory (locate-library "slime")))
(setq slime-backend (expand-file-name "swank-loader.lisp" slime-path))
(setq slime-lisp-i... | Remove Auctex autocomplete. Didn't work anyway | Remove Auctex autocomplete. Didn't work anyway
| Emacs Lisp | bsd-2-clause | krzysz00/emacs.d |
af32b48cdcff2f7a94ea2777f86e265d47429f6f | layers/mfa-treemacs/packages.el | layers/mfa-treemacs/packages.el | (defconst mfa-treemacs-packages '(treemacs treemacs-evil))
(defun mfa-treemacs/init-treemacs ()
(use-package treemacs
:defer t
:init
(progn
(setq treemacs-header-function #'treemacs--create-header-projectile)
(spacemacs/set-leader-keys
"fT" #'treemacs
"ft" #'treemacs-toggle
... | (defconst mfa-treemacs-packages '(treemacs treemacs-evil))
(defun mfa-treemacs/init-treemacs ()
(use-package treemacs
:defer t
:init
(spacemacs/set-leader-keys
"fT" #'treemacs
"ft" #'treemacs-toggle
"pt" #'treemacs-projectile)
:config
(require 'treemacs-evil)))
(defun mfa-treem... | Reset treemacs header back to default | Reset treemacs header back to default
| Emacs Lisp | mit | amfranz/spacemacs.d |
10aa81809479f815c7040734e2c06771866f8503 | init-package/init-evil-leader.el | init-package/init-evil-leader.el | (setq evil-leader/in-all-states t
evil-leader/leader "SPC"
evil-leader/non-normal-prefix "s-")
(require 'evil-leader)
;; Unset shortcuts which shadow evil leader
(eval-after-load "compile"
(define-key compilation-mode-map (kbd "SPC") nil))
;; make leader available in visual mode
(define-key evil-visual-st... | (setq evil-leader/in-all-states t
evil-leader/leader "SPC"
evil-leader/non-normal-prefix "s-")
(require 'evil-leader)
;; Unset shortcuts which shadow evil leader
(eval-after-load "compile"
(define-key compilation-mode-map (kbd "SPC") nil))
;; make leader available in visual mode
(define-key evil-visual-st... | Update code to match recent breaking changes in evil-leader. | Update code to match recent breaking changes in evil-leader.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
fd1da47d13eb171687709148d0022b3cb60c643d | .emacs.d/custom.el | .emacs.d/custom.el | (custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(xterm-extra-capabilities (quote modifyOtherKeys)))
| (custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
(quote
(go-mode magit yari yaml-mode vo... | Add Emacs `Custom` selected packages | Add Emacs `Custom` selected packages
This subsumes a lot of what `.emacs.d/lisp/early-packages.el` was trying
to do. I'm not sure I like using `Custom` for this, but it captures the
current state of my main laptop, so pushing it in order to share config.
| Emacs Lisp | mit | benizi/dotfiles,benizi/dotfiles,benizi/dotfiles,benizi/dotfiles,benizi/dotfiles,benizi/dotfiles,benizi/dotfiles,benizi/dotfiles |
33e8e3fb2ea2c84afc885cacc7ba12a8716b0097 | dot.emacs | dot.emacs | ;; -*- coding: utf-8; mode: emacs-lisp -*-
;; Emacs customization file by Peter Hillerström
;; ____________________________________________________________________________
;; Aquamacs custom-file warning:
;; Warning: After loading this .emacs file, Aquamacs will also load
;; customizations from `custom-file' (customiza... | ;; -*- coding: utf-8; mode: emacs-lisp -*-
;; Emacs customization file by Peter Hillerström
;; ____________________________________________________________________________
;; Aquamacs custom-file warning:
;; Warning: After loading this .emacs file, Aquamacs will also load
;; customizations from `custom-file' (customiza... | Remove unneeded require of cl-lib inside eval-when-compile | Remove unneeded require of cl-lib inside eval-when-compile
| Emacs Lisp | bsd-3-clause | peterhil/emacs-config |
96ba4b0b38f31ed9fdc40e7bcde93aacf9d50c8d | modules/editor/parinfer/doctor.el | modules/editor/parinfer/doctor.el | ;;; editor/parinfer/doctor.el -*- lexical-binding: t; -*-
(when (featurep! +rust)
(unless (fboundp 'module-load)
(warn! "Your emacs wasn't built with dynamic modules support. `parinfer-rust-mode' won't work"))
(when (and (eq system-type 'berkeley-unix)
(not (file-readable-p
(con... | ;;; editor/parinfer/doctor.el -*- lexical-binding: t; -*-
(when (featurep! +rust)
(unless (fboundp 'module-load)
(warn! "Your emacs wasn't built with dynamic modules support. `parinfer-rust-mode' won't work"))
(when (and (eq system-type 'berkeley-unix)
(not (file-readable-p (concat user-emacs-dire... | Use easier to read line break. | Use easier to read line break.
Signed-off-by: Johan Thoren <759412786bc533369b22377bf83fb9056c5b25b2@thoren.xyz>
| Emacs Lisp | mit | hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs |
bc53a62f55d56033f961779da30547b305f9ec1f | .emacs.d/config/packages/js-doc.el | .emacs.d/config/packages/js-doc.el | ;;; js-doc.el --- Configuration for js-doc
;;; Commentary:
;; Load js-doc
;; - Hook into js2-mode
;;; Code:
(use-package js-doc
:ensure t
:init
(add-hook 'js2-mode-hook
#'(lambda ()
(define-key js2-mode-map "\C-ci" 'js-doc-insert-function-doc)
(define-key js2-mode... | ;;; js-doc.el --- Configuration for js-doc
;;; Commentary:
;; Load js-doc
;; - Hook into js2-mode
;;; Code:
(use-package js-doc
:ensure t
:init
(add-hook 'js2-mode-hook
#'(lambda ()
(define-key js2-mode-map "\C-ci" 'js-doc-insert-function-doc)
(define-key js2-mode... | Remove binding for '@' symbol in jsdoc comments | Remove binding for '@' symbol in jsdoc comments
| Emacs Lisp | mit | madintist/emacs-config |
dda1ff6bbf44506f6276a17fe89dbe7369330226 | dot_doom.d/init.el | dot_doom.d/init.el | (doom! :completion
(company
+auto +tng)
(ivy +fuzzy)
:ui
deft
doom
doom-quit
fill-column
hl-todo
modeline
nav-flash
ophints
(popup
+all
+defaults)
vc-gutter
vi-tilde-fringe
window-select
... | (doom! :completion
(company
+auto +tng)
(ivy +fuzzy)
:ui
deft
doom
doom-quit
fill-column
hl-todo
modeline
nav-flash
ophints
(popup
+all
+defaults)
vc-gutter
vi-tilde-fringe
window-select
... | Enable eglot for Rust mode | Emacs: Enable eglot for Rust mode
| Emacs Lisp | mit | benmezger/dotfiles,benmezger/dotfiles,benmezger/dotfiles,benmezger/dotfiles |
b40c2bb1240d1debce3451c632931b5d5d8b33e5 | lisp/.dir-locals.el | lisp/.dir-locals.el | ((emacs-lisp-mode . ((no-byte-compile t))))
| ;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((emacs-lisp-mode
(no-byte-compile . t)))
| Make Directory Local Variables conform to standard specifications | Make Directory Local Variables conform to standard specifications
| Emacs Lisp | bsd-2-clause | roxolan/emacs.d,purcell/emacs.d,qianwan/emacs.d,cjqw/emacs.d,kindoblue/emacs.d,kongfy/emacs.d,gsmlg/emacs.d,dcorking/emacs.d,wegatron/emacs.d,sgarciac/emacs.d,krzysz00/emacs.d,mmqmzk/emacs.d,blueseason/emacs.d,me020523/emacs.d,baohaojun/emacs.d,braveoyster/emacs.d,svenyurgensson/emacs.d,blueabysm/emacs.d,lust4life/emac... |
88ba4b3e64629e79d1e271c9ba2de3333015610e | layers/my-pass/packages.el | layers/my-pass/packages.el | ;; -*- lexical-binding: t -*-
(defconst my-pass-packages '(auth-source-pass password-store))
(defun my-pass/init-auth-source-pass ()
(use-package auth-source-pass
:after (auth-source)
:config (auth-source-pass-enable)))
(defun my-pass/post-init-password-store ()
(advice-add 'password-store--save-field-in... | ;; -*- lexical-binding: t -*-
(defconst my-pass-packages '(password-store))
(defun my-pass/post-init-password-store ()
(advice-add 'password-store--save-field-in-kill-ring :around
#'my-pass//no-copy-to-clipboard))
| Remove redundant configuration of auth-source-pass | Remove redundant configuration of auth-source-pass
Spacemacs implements this now, we don't need to do it ourselves any more.
| Emacs Lisp | mit | amfranz/spacemacs.d |
8d460b6c71762f9a147f7b2f3656e342e319502a | lisp/init-elm.el | lisp/init-elm.el | ;;; init-elm.el --- Support for the Elm language -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(when (maybe-require-package 'elm-mode)
(after-load 'elm-mode
(diminish 'elm-indent-mode)
(after-load 'company
(push 'company-elm company-backends))
(when (executable-find "elm-format")
(setq... | ;;; init-elm.el --- Support for the Elm language -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(when (maybe-require-package 'elm-mode)
(after-load 'elm-mode
(diminish 'elm-indent-mode)
(after-load 'company
(push 'company-elm company-backends))
(when (executable-find "elm-format")
(setq... | Use add-node-modules-path in Elm, for tooling installed with npm | Use add-node-modules-path in Elm, for tooling installed with npm
| Emacs Lisp | bsd-2-clause | blueseason/emacs.d,braveoyster/emacs.d,purcell/emacs.d,arthurl/emacs.d,qianwan/emacs.d,lust4life/emacs.d,emuio/emacs.d,krzysz00/emacs.d,baohaojun/emacs.d,gsmlg/emacs.d,dcorking/emacs.d,svenyurgensson/emacs.d,blueabysm/emacs.d,sgarciac/emacs.d |
6589ee2c0e02bdfe8740fbbe5391cbeb113f8976 | settings/lk/ruby.el | settings/lk/ruby.el | ;;; lk/ruby --- ruby related customizations
;;;; Commentary:
;;; Code:
(add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Vagrantfile" . ruby-mode))
(add-to-list 'auto-mode-alist '("Gemfile" . ruby-mode))
(add-to-list 'auto-mo... | ;;; lk/ruby --- ruby related customizations
;;;; Commentary:
;;; Code:
(add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Vagrantfile" . ruby-mode))
(add-to-list 'auto-mode-alist '("Gemfile" . ruby-mode))
(add-to-list 'auto-mo... | Add a shortcut for rubocop's autocorrect | Add a shortcut for rubocop's autocorrect
| Emacs Lisp | mit | lukaszkorecki/cult-leader |
583da7615076f452a24009033b3e3a5825567d70 | modes/project-conf.el | modes/project-conf.el | ;;; project-conf.el -- Settings for `project' -*- lexical-binding: t -*-
;;
;;; Commentary:
;;
;;; Code:
(require 'project)
(require 'projectile)
;; Port this function to project.el:
(declare-function pjones:projectile-compile-project "./projectile-conf")
(defun pjones:project-shell-command nil
"Run a shell comman... | ;;; project-conf.el -- Settings for `project' -*- lexical-binding: t -*-
;;
;;; Commentary:
;;
;;; Code:
(require 'project)
(require 'projectile)
;; Port this function to project.el:
(declare-function pjones:projectile-compile-project "./projectile-conf")
(let ((map project-prefix-map))
(define-key map (kbd "c") #... | Update bindings, remove workaround code that exists upstream | project: Update bindings, remove workaround code that exists upstream
Upstream project.el now includes the functions I had written, so they
can be removed. However, upstream changed the `C-x p d` binding so
I'm changing it back.
Also added bindings to start a terminal, and to run the project.
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
f4471034d200da69d2befd9789feac8bd382b157 | lisp/init-python.el | lisp/init-python.el | ;;; init-python.el --- Python editing -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
;; See the following note about how I set up python + virtualenv to
;; work seamlessly with Emacs:
;; https://gist.github.com/purcell/81f76c50a42eee710dcfc9a14bfc7240
(setq auto-mode-alist
(append '(("SConstruct\\'" . p... | ;;; init-python.el --- Python editing -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
;; See the following note about how I set up python + virtualenv to
;; work seamlessly with Emacs:
;; https://gist.github.com/purcell/81f76c50a42eee710dcfc9a14bfc7240
(setq auto-mode-alist
(append '(("SConstruct\\'" . p... | Add toml-mode for poetry lockfiles | Add toml-mode for poetry lockfiles
| Emacs Lisp | bsd-2-clause | blueabysm/emacs.d,lust4life/emacs.d,blueseason/emacs.d,qianwan/emacs.d,arthurl/emacs.d,baohaojun/emacs.d,emuio/emacs.d,dcorking/emacs.d,sgarciac/emacs.d,purcell/emacs.d,gsmlg/emacs.d,braveoyster/emacs.d,krzysz00/emacs.d,svenyurgensson/emacs.d |
0a21a2816576237773438361b01169d98dd1cab8 | contrib/osx/packages.el | contrib/osx/packages.el | (setq osx-packages
'(
pbcopy
))
(defun osx/init-pbcopy ()
(use-package pbcopy
:if (not (display-graphic-p))
:init (turn-on-pbcopy)))
| (setq osx-packages
'(
pbcopy
))
(if (executable-find "gls")
; maybe absolute or relative name of the `ls' program used by `insert-directory'.
; brew info coreutils
(setq insert-directory-program "gls"
dired-listing-switches "-aBhl --group-directories-first")
(setq dired-use-ls-dired n... | Make dired use coreutils' gls, if installed | Make dired use coreutils' gls, if installed
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
fb40bf5aa3fbdcbdd93cfa9d0bbc6d24d46340e7 | init-package/init-popwin.el | init-package/init-popwin.el | (use-package popwin
:init
(progn
(popwin-mode 1)
(push '("*grep*" :dedicated t :position bottom :stick t :noselect t) popwin:special-display-config)
(push '("^\*Flycheck.+\*$" :regexp t :dedicated t :position bottom :stick t :noselect t) popwin:special-display-config)
(push '("^\... | (use-package popwin
:init
(progn
(popwin-mode 1)
(push '("*grep*" :dedicated t :position bottom :stick t :noselect t) popwin:special-display-config)
(push '("*nosetests*" :dedicated t :position bottom :stick t :noselect t) popwin:special-display-config)
(push '("^\... | Add popwin properties for nosetests window | Add popwin properties for nosetests window
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
d7a8ab639c40e71dfbf7f62ac1c303540664f4e4 | layers/mfa-lisp/packages.el | layers/mfa-lisp/packages.el | ;; -*- lexical-binding: t -*-
(defconst mfa-lisp-packages '(expand-region))
(defun mfa-lisp/post-init-expand-region ()
(with-eval-after-load 'expand-region
(er/enable-mode-expansions 'emacs-lisp-mode
#'mfa-lisp//add-emacs-lisp-mode-expansions)))
| ;; -*- lexical-binding: t -*-
(defconst mfa-lisp-packages '((emacs-lisp :location built-in)
expand-region))
(defun mfa-lisp/post-init-emacs-lisp ()
(when (configuration-layer/package-used-p 'aggressive-indent)
(add-hook 'emacs-lisp-mode-hook #'aggressive-indent-mode)))
(defun mfa-... | Enable `aggressive-indent-mode` in Emacs lisp buffers | Enable `aggressive-indent-mode` in Emacs lisp buffers
| Emacs Lisp | mit | amfranz/spacemacs.d |
9b3d8dc1bd310b1a631f7021a829247661ec4552 | modules/emacs/undo/packages.el | modules/emacs/undo/packages.el | ;; -*- no-byte-compile: t; -*-
;;; emacs/undo/packages.el
(if (not (featurep! +tree))
(package! undo-tree :pin "5b6df03781")
(package! undo-fu :pin "0c34b6747e")
(package! undo-fu-session :pin "b808ef0cdc"))
| ;; -*- no-byte-compile: t; -*-
;;; emacs/undo/packages.el
(if (featurep! +tree)
(package! undo-tree :pin "5b6df03781")
(package! undo-fu :pin "0c34b6747e")
(package! undo-fu-session :pin "b808ef0cdc"))
| Fix inverted condition on +tree for undo module | Fix inverted condition on +tree for undo module
| Emacs Lisp | mit | hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doo... |
aee1b084e3136063edb91e618bb4b5527c479dea | init-package/init-cc-mode.el | init-package/init-cc-mode.el | (require 'cc-mode)
(add-hook 'c-mode-hook '(lambda () (c-toggle-auto-state t)))
(add-hook 'c++-mode-hook '(lambda () (c-toggle-auto-state t)))
;; From http://xugx2007.blogspot.ca/2007/06/benjamin-rutts-emacs-c-development-tips.html
(setq compilation-finish-function
(lambda (buf str)
(if (string-match "exited ... | (require 'cc-mode)
(add-hook 'c-mode-hook '(lambda () (c-toggle-auto-state t)))
(add-hook 'c++-mode-hook '(lambda () (c-toggle-auto-state t)))
;; From http://xugx2007.blogspot.ca/2007/06/benjamin-rutts-emacs-c-development-tips.html
(setq compilation-finish-function
(lambda (buf str)
(if (or (string-match "exi... | Tweak auto-closing of compilation window | Tweak auto-closing of compilation window
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
3cdb31e612bec1c52c618d01889f9a4e44b8c30d | lisp/init-recentf.el | lisp/init-recentf.el | ;;; init-recentf.el --- Settings for tracking recent files -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(add-hook 'after-init-hook 'recentf-mode)
(setq-default
recentf-max-saved-items 1000
recentf-exclude '("/tmp/" "/ssh:"))
(provide 'init-recentf)
;;; init-recentf.el ends here
| ;;; init-recentf.el --- Settings for tracking recent files -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(add-hook 'after-init-hook 'recentf-mode)
(setq-default
recentf-max-saved-items 1000
recentf-exclude `("/tmp/" "/ssh:" ,(concat package-user-dir "/.*-autoloads\\.el\\'")))
(provide 'init-recentf)
;;; ini... | Exclude elpa package autoloads in recentf | Exclude elpa package autoloads in recentf
| Emacs Lisp | bsd-2-clause | sgarciac/emacs.d,lust4life/emacs.d,emuio/emacs.d,purcell/emacs.d,arthurl/emacs.d,qianwan/emacs.d,blueabysm/emacs.d,gsmlg/emacs.d,baohaojun/emacs.d,krzysz00/emacs.d,svenyurgensson/emacs.d,dcorking/emacs.d,blueseason/emacs.d,braveoyster/emacs.d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.