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 |
|---|---|---|---|---|---|---|---|---|---|
2fa4574a1148e287ee99ca6db6518475f168f3de | emacs.el | emacs.el | (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
;; from http://stackoverflow.com/questions/10092322/how-to-automatically-install-emacs-packages-by-specifying-a-list-of-package-name (Nicolas Dudebout)
;; {{{
(setq package-lis... | (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
;; from http://stackoverflow.com/questions/10092322/how-to-automatically-install-emacs-packages-by-specifying-a-list-of-package-name (Nicolas Dudebout)
;; {{{
(setq package-lis... | Add 'muse' and 'htmlize' packages to default install | Add 'muse' and 'htmlize' packages to default install
| Emacs Lisp | mit | Plambir/emacs-bootstrap |
c7ebbfb5dae843ccbad75a613ac5c9f8e339f0c0 | emacs/emacs.d.symlink/config/evil-config.el | emacs/emacs.d.symlink/config/evil-config.el | ;;;; Evil mode--Vim-like stuff
(require 'evil)
(require 'key-chord)
(require 'evil-search-highlight-persist)
(require 'evil-surround)
(key-chord-mode t)
(global-evil-leader-mode t)
(global-evil-surround-mode t)
(evil-set-toggle-key "C-M-z") ; because f clobbering my C-z...
(evil-leader/set-leader "<SPC>")
(global-ev... | ;;;; Evil mode--Vim-like stuff
(require 'evil)
(require 'key-chord)
(require 'evil-search-highlight-persist)
(require 'evil-surround)
(setq evil-shift-width 2)
(key-chord-mode t)
(global-evil-leader-mode t)
(global-evil-surround-mode t)
(evil-set-toggle-key "C-M-z") ; because f clobbering my C-z...
(evil-leader/set... | Set evil shift width before activating evil-mode, oops | Set evil shift width before activating evil-mode, oops
| Emacs Lisp | mit | alexkuang/dotfiles,alexkuang/dotfiles |
fc96d29b9101c946289e8158287cf9e11397332c | init-python-mode.el | init-python-mode.el | (autoload 'python-mode "python-mode" "Python editing mode." t)
(autoload 'doctest-mode "doctest-mode" "Python doctest editing mode." t)
(setq auto-mode-alist
(append '(("\\.py$" . python-mode)
("SConstruct$" . python-mode)
("SConscript$" . python-mode))
auto-mode-alist))
(setq interpreter-mode... | (autoload 'python-mode "python-mode" "Python editing mode." t)
(autoload 'doctest-mode "doctest-mode" "Python doctest editing mode." t)
(setq auto-mode-alist
(append '(("\\.py$" . python-mode)
("SConstruct$" . python-mode)
("SConscript$" . python-mode))
auto-mode-alist))
(setq interpreter-mode... | Remove overridden executable name for pyflakes | Remove overridden executable name for pyflakes
| Emacs Lisp | bsd-2-clause | cjqw/emacs.d,zuoshifan/emacs.d,jachinpy/emacs.d,ruiyang/emacs.d,mmqmzk/emacs.d,modkzs/emcs.d,fengxl/emacs.d,haodaivshen/emacs.d,farzadbekran/emacs.d,krzysz00/emacs.d,Enzo-Liu/emacs.d,hkcqr/emacs.d,scorpionis/emacs.d,Guoozz/emacs.d,svenyurgensson/emacs.d,zuoshifan/emacs.d,YangXin/emacs.d,qinshulei/emacs.d,baohaojun/emac... |
cd31671c1b3f4f9b55edcd5c0ff7ec1c7a22317b | emacs/fsharp-mode-pkg.el | emacs/fsharp-mode-pkg.el | (define-package
"fsharp-mode"
"0.6"
"F# mode for Emacs"
'((pos-tip "0.4.5"))
| (define-package
"fsharp-mode"
"0.6"
"F# mode for Emacs"
'((pos-tip "0.4.5")))
| Fix missing parenthesis in package defn | Fix missing parenthesis in package defn
| Emacs Lisp | apache-2.0 | fsharp/fsharpbinding,nosami/xamarin-monodevelop-fsharp-addin,fsharp/xamarin-monodevelop-fsharp-addin,nosami/xamarin-monodevelop-fsharp-addin,Ming-Tang/fsharpbinding,Ming-Tang/fsharpbinding,fsharp/xamarin-monodevelop-fsharp-addin,Ming-Tang/fsharpbinding,fsharp/fsharpbinding,fsharp/fsharpbinding |
f91b98f0bea85295e3684402cd6ad1a9537545ef | emacs.d/core/jl-base.el | emacs.d/core/jl-base.el | ;; store backups in temp dir
(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))
;; store auto-saves in temp dir
(setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))
auto-save-list-file-prefix (concat temporary-file-directory ".auto-saves-"))
;; do not create lockfile... | ;; store backups in temp dir
(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))
;; store auto-saves in temp dir
(setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))
auto-save-list-file-prefix (concat temporary-file-directory ".auto-saves-"))
;; do not create lockfile... | Create new lines on movement at EOF | emacs: Create new lines on movement at EOF
| Emacs Lisp | mit | jdlehman/dotfiles,jdlehman/dotfiles |
4d102873bd6af120c2fcf1896c822fa725268c49 | setup-files/setup-elisp.el | setup-files/setup-elisp.el | ;; Time-stamp: <2014-07-01 14:16:05 kmodi>
;; Emacs Lisp Mode
(defun my-emacs-lisp-mode-customizations()
(when (boundp 'setup-linum-loaded)
(nlinum-mode 1))
)
(add-hook 'emacs-lisp-mode-hook 'my-emacs-lisp-mode-customizations)
(provide 'setup-elisp)
| ;; Time-stamp: <2015-01-13 19:55:03 kmodi>
;; Emacs Lisp Mode
(defun my/edebug-defun ()
(interactive)
(eval-defun :edebug))
;; edebug
(bind-keys
:map modi-mode-map
("<f7>" . my/edebug-defun) ; add edebug instrumentation
("<S-f7>" . eval-defun)) ; remove edebug instrumentation
(provide 'setup-elisp)
| Add bindings to quickly add and remove edebug instrumentation | Add bindings to quickly add and remove edebug instrumentation
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
641d9b66da90eccb4d5d3293b8477dc092948df5 | lisp/init-github.el | lisp/init-github.el | ;;; init-github.el --- Github integration -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(require 'init-git)
(maybe-require-package 'yagist)
(require-package 'bug-reference-github)
(add-hook 'prog-mode-hook 'bug-reference-prog-mode)
(maybe-require-package 'github-clone)
(maybe-require-package 'magithub)
(prov... | ;;; init-github.el --- Github integration -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(require 'init-git)
(maybe-require-package 'yagist)
(require-package 'bug-reference-github)
(add-hook 'prog-mode-hook 'bug-reference-prog-mode)
(maybe-require-package 'github-clone)
(maybe-require-package 'forge)
(provide... | Switch from magithub to forge | Switch from magithub to forge
| Emacs Lisp | bsd-2-clause | baohaojun/emacs.d,sgarciac/emacs.d,benkha/emacs.d,lust4life/emacs.d,emuio/emacs.d,purcell/emacs.d,arthurl/emacs.d,svenyurgensson/emacs.d,blueabysm/emacs.d,cjqw/emacs.d,krzysz00/emacs.d,dcorking/emacs.d,blueseason/emacs.d,wegatron/emacs.d,gsmlg/emacs.d,qianwan/emacs.d,braveoyster/emacs.d |
4b8ac0ad3d6a8c1809d1d3694e33c892d87c7481 | modules/ui/fci/config.el | modules/ui/fci/config.el | ;;; ui/fci/config.el -*- lexical-binding: t; -*-
(defvar +fci-rule-color-function
(lambda () (face-foreground 'line-number))
"Color used to draw the fill-column rule.
Accepts a color string or a function that returns a color.
Changes to this variable do not take effect until `fci-mode' is restarted.")
;;
;; Pl... | ;;; ui/fci/config.el -*- lexical-binding: t; -*-
(defvar +fci-rule-color-function
(lambda () (face-foreground 'line-number))
"Color used to draw the fill-column rule.
Accepts a color string or a function that returns a color.
Changes to this variable do not take effect until `fci-mode' is restarted.")
;;
;; Pl... | Disable fci-mode in org-mode by default | Disable fci-mode in org-mode by default
Too many issues caused by variable font and icon sizes in org-mode (see
| Emacs Lisp | mit | hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,UndeadKernel/ema... |
fe1c8d8e4b16dd4bfe5b324911fd306f85003d20 | init-clojure.el | init-clojure.el | (add-hook 'clojure-mode-hook (lambda () (enable-paredit clojure-mode-map)))
(setq clojure-src-root (expand-file-name "~/Projects/External"))
(setq swank-clojure-extra-vm-args (list "-server"
"-Xmx1024m"
"-XX:+UseConcMarkSweepGC"
... | (add-hook 'clojure-mode-hook (lambda () (enable-paredit clojure-mode-map)))
(setq clojure-src-root (expand-file-name "~/Projects/External"))
(setq swank-clojure-extra-vm-args (list "-server"
"-Xmx1024m"
"-XX:+UseConcMarkSweepGC"
... | Add clojure to list of supported languages in gist.el | Add clojure to list of supported languages in gist.el
| Emacs Lisp | bsd-2-clause | braveoyster/emacs.d,zuoshifan/emacs.d,46do14/emacs.d,zuoshifan/emacs.d,pairyo/emacs.d,dongdonghu/.emacs.d,modkzs/emcs.d,YangXin/emacs.d,hophacker/emacs.d,carlosliu/emacs.d,Guoozz/emacs.d,jachinpy/emacs.d,jachinpy/emacs.d,cjqw/emacs.d,whizzzkid/emacs.d,exclamaforte/emacs.d,zuoshifan/emacs.d,zhuoyikang/emacs.d,sgarciac/e... |
0b4716822f6aa77075919b9b31956751d8fd8523 | .emacs.d/lisp/pjs-stardica.el | .emacs.d/lisp/pjs-stardica.el | ;;; pjs-stardica.el --- Stardica code and config -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
(require 'pjs)
(setq pjs-inhibit-clojure-align-on-save 't)
(setq pjs-inhibit-cleanup-on-save 't)
(setq default-directory "~/")
(require 'org)
(require 'projectile)
(setq projectile-project-root-files nil)
(add-to-li... | ;;; pjs-stardica.el --- Stardica code and config -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
(require 'pjs)
(setq pjs-inhibit-clojure-align-on-save 't)
(setq pjs-inhibit-cleanup-on-save 't)
(setq default-directory "~/")
(require 'org)
(require 'projectile)
(setq projectile-project-root-files nil)
(add-to-li... | Add dev-system jack-in as command | Add dev-system jack-in as command
| Emacs Lisp | apache-2.0 | pjstadig/dotfiles,pjstadig/dotfiles |
102c6d2ad4b7ffa3a70813586d0363704309894f | lisp/init-xterm.el | lisp/init-xterm.el | (require 'init-frame-hooks)
(global-set-key [mouse-4] (lambda () (interactive) (scroll-down 1)))
(global-set-key [mouse-5] (lambda () (interactive) (scroll-up 1)))
(autoload 'mwheel-install "mwheel")
(defun sanityinc/console-frame-setup ()
(xterm-mouse-mode 1) ; Mouse in a terminal (Use shift to paste with middle ... | (require 'init-frame-hooks)
(global-set-key [mouse-4] (lambda () (interactive) (scroll-down 1)))
(global-set-key [mouse-5] (lambda () (interactive) (scroll-up 1)))
(defun sanityinc/console-frame-setup ()
(xterm-mouse-mode 1) ; Mouse in a terminal (Use shift to paste with middle button)
(mwheel-install))
(add-h... | Remove defunct autoload for mwheel-install | Remove defunct autoload for mwheel-install
| Emacs Lisp | bsd-2-clause | lust4life/emacs.d,cjqw/emacs.d,dcorking/emacs.d,purcell/emacs.d,kongfy/emacs.d,gsmlg/emacs.d,emuio/emacs.d,blueseason/emacs.d,baohaojun/emacs.d,sgarciac/emacs.d,qianwan/emacs.d,me020523/emacs.d,arthurl/emacs.d,svenyurgensson/emacs.d,roxolan/emacs.d,kindoblue/emacs.d,wegatron/emacs.d,braveoyster/emacs.d,krzysz00/emacs.d... |
78aa98e1f2b9fb279743ef061315f9426db2c7c9 | init-package/init-yasnippet.el | init-package/init-yasnippet.el | (require 'yasnippet)
(require 'helm-c-yasnippet)
(setq helm-c-yas-space-match-any-greedy t)
(setq yas-snippet-dirs '((concat user-emacs-directory "/snippets")))
(yas-global-mode 1)
| (require 'yasnippet)
(require 'helm-c-yasnippet)
(setq helm-c-yas-space-match-any-greedy t)
(setq yas-snippet-dirs '("~/.emacs.d/snippets"))
(yas-global-mode 1)
| Fix path to new yas yasnippet | Fix path to new yas yasnippet
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
a5df5cea11523be8183d1088523ad35d16da341d | lisp/init-dired.el | lisp/init-dired.el | ;;; init-dired.el --- Dired customisations -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(setq-default dired-dwim-target t)
;; Prefer g-prefixed coreutils version of standard utilities when available
(let ((gls (executable-find "gls")))
(when gls (setq insert-directory-program gls)))
(when (maybe-require-pa... | ;;; init-dired.el --- Dired customisations -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(setq-default dired-dwim-target t)
;; Prefer g-prefixed coreutils version of standard utilities when available
(let ((gls (executable-find "gls")))
(when gls (setq insert-directory-program gls)))
(when (maybe-require-pa... | Add dired-jump bindings (C-x C-j, C-x 4 C-j) | Add dired-jump bindings (C-x C-j, C-x 4 C-j)
| Emacs Lisp | bsd-2-clause | gsmlg/emacs.d,purcell/emacs.d,braveoyster/emacs.d,lust4life/emacs.d,svenyurgensson/emacs.d,krzysz00/emacs.d,wegatron/emacs.d,qianwan/emacs.d,blueabysm/emacs.d,benkha/emacs.d,dcorking/emacs.d,cjqw/emacs.d,arthurl/emacs.d,emuio/emacs.d,sgarciac/emacs.d,blueseason/emacs.d,baohaojun/emacs.d |
a6b2f312901ee177e48b7ebf6ee57bd95d7e37b2 | layers/markdown/markdown-init.el | layers/markdown/markdown-init.el | (use-package markdown-mode
:ensure t
:commands (markdown-mode gfm-mode)
:mode (("README\\.md\\'" . gfm-mode)
("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:init (setq markdown-command "multimarkdown"))
(provide 'markdown-init)
| (use-package markdown-mode
:ensure t
:commands (markdown-mode gfm-mode)
:mode (("README\\.md\\'" . gfm-mode)
("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:init (setq markdown-command "pandoc"))
(provide 'markdown-init)
| Change markdown converter to pandoc | Change markdown converter to pandoc
| Emacs Lisp | mit | timotheosh/dotemacs |
1d99ee5017d325fd1e665ae5e1dd260984cfb9fa | core/packages.el | core/packages.el | ;; -*- no-byte-compile: t; -*-
;;; core/packages.el
;; core-os.el
(package! exec-path-from-shell :ignore (not IS-MAC))
(package! osx-clipboard :ignore (not IS-MAC))
;; core-ui.el
(package! all-the-icons)
(package! hide-mode-line)
(package! highlight-indentation)
(package! highlight-numbers)
(unless (boundp 'di... | ;; -*- no-byte-compile: t; -*-
;;; core/packages.el
;; core-os.el
(package! exec-path-from-shell :ignore (not IS-MAC))
(package! osx-clipboard :ignore (not IS-MAC))
;; core-ui.el
(package! all-the-icons)
(package! hide-mode-line)
(package! highlight-indentation)
(package! highlight-numbers)
(unless (boundp 'di... | Add esup back to core package list | Add esup back to core package list
| Emacs Lisp | mit | hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doo... |
f20fd012681b5bfbb18eaf210047412747544590 | user-lisp/lisp-customisations.el | user-lisp/lisp-customisations.el | ;; paredit for both clojure and elisp
(defun turn-on-paredit () (paredit-mode 1))
(add-hook 'clojure-mode-hook 'turn-on-paredit)
(add-hook 'emacs-lisp-mode-hook 'turn-on-paredit)
(add-hook 'emacs-lisp-mode-hook
(lambda ()
(setq use-hl-line nil)
(hl-sexp-mode)))
(add-hook 'clojure-mode... | ;; paredit for both clojure and elisp
(defun turn-on-paredit () (paredit-mode 1))
(add-hook 'clojure-mode-hook 'turn-on-paredit)
(add-hook 'emacs-lisp-mode-hook 'turn-on-paredit)
(add-hook 'scheme-mode-hook 'turn-on-paredit)
(add-hook 'emacs-lisp-mode-hook
(lambda ()
(setq use-hl-line nil)
... | Use paredit and rainbow-delimiters when coding scheme | Use paredit and rainbow-delimiters when coding scheme
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
2e5064a9e3229976ed2febe840fa38098796c9ef | init-exec-path.el | init-exec-path.el | (defun set-exec-path-from-shell-PATH ()
(let ((path-from-shell (shell-command-to-string "$SHELL --login -c 'echo $PATH'")))
(setenv "PATH" path-from-shell)
(setq exec-path (split-string path-from-shell path-separator))))
(when *is-a-mac*
(eval-after-load "woman"
'(setq woman-manpath (append (list "/opt... | (defun set-exec-path-from-shell-PATH ()
(let ((path-from-shell (shell-command-to-string "$SHELL --login -i -c 'echo $PATH'")))
(setenv "PATH" path-from-shell)
(setq exec-path (split-string path-from-shell path-separator))))
(when *is-a-mac*
(eval-after-load "woman"
'(setq woman-manpath (append (list "/... | Use -i in subshell to ensure default rvm paths get set up | Use -i in subshell to ensure default rvm paths get set up
| Emacs Lisp | bsd-2-clause | Enzo-Liu/emacs.d,zuoshifan/emacs.d,wegatron/emacs.d,alant/emacs.d,scorpionis/emacs.d,cyjia/emacs.d,renatoriccio/emacs.d,lujianmei/emacs.d,svenyurgensson/emacs.d,lromang/emacs.d,farzadbekran/emacs.d,bibaijin/emacs.d,LittleLmp/emacs.d,qianwan/emacs.d,farzadbekran/emacs.d,baohaojun/emacs.d,blueabysm/emacs.d,jthetzel/emacs... |
c59e622be243950a5cb2ea1e15c800085f5d2eaa | .emacs.d/lisp/danylo-common-font-lock.el | .emacs.d/lisp/danylo-common-font-lock.el | ;;; danylo-common-font-lock.el --- Font locking commong code
;;
;; Author: Danylo Malyuta
;;
;; Keywords: font lock
;;
;; This file is not part of GNU Emacs
;;
;;; Commentary:
;;
;; Font locking common functions.
;;
;;; Code:
(defun danylo/font-lock-extend-region ()
"Extend the search region to include an entire bl... | ;;; danylo-common-font-lock.el --- Font locking commong code
;;
;; Author: Danylo Malyuta
;;
;; Keywords: font lock
;;
;; This file is not part of GNU Emacs
;;
;;; Commentary:
;;
;; Font locking common functions.
;;
;;; Code:
(defun danylo/font-lock-extend-region ()
"Extend the search region to include an entire bl... | Update font lock region extend to better version that fixes some bugs in Org | Update font lock region extend to better version that fixes some bugs in Org
| Emacs Lisp | mit | dmalyuta/dotfiles,dmalyuta/dotfiles |
d5762c257b0f6c62c87166247dddb4e1e03d614c | emacs.d/config/config-server.el | emacs.d/config/config-server.el | (server-start)
;; make C-x k work for emacsclient sessions too.
(add-hook 'server-switch-hook
(lambda ()
(when server-buffer-clients
(local-set-key (kbd "C-x k") 'server-edit)
)
)
)
| (server-start)
(defun my/kill-buffer-or-server-edit ()
(interactive)
(if server-buffer-clients
(server-edit)
(kill-buffer)
)
)
;; make C-x k work for emacsclient sessions too.
(add-hook 'server-switch-hook
(lambda ()
(local-set-key (kbd "C-x k") 'my/kill-buffer-or-server-edit)
)
)
| Fix handling of C-x k. | Fix handling of C-x k.
| Emacs Lisp | bsd-3-clause | shaleh/dot-files |
9bc1ac8206a3ed2323f22898c4a0223fde37025d | emacs.d/scala-conf.el | emacs.d/scala-conf.el | ;; Configuration for Scala
;; ENSIME
(use-package ensime
:ensure t
:defer t
:config (progn (add-hook 'scala-mode-hook 'ensime-scala-mode-hook)))
| ;; Configuration for Scala
(defun scala/enable-eldoc ()
"Show the type of the symbol under the cursor"
(setq-local eldoc-documentation-function
(lambda ()
(when (ensime-connected-p)
(ensime-print-type-at-point))))
(eldoc-mode +1))
;; ENSIME
(use-package ensime
:... | Add function in Scala IDE configuration | [EMACS] Add function in Scala IDE configuration
The function 'scala/enable-eldoc' show the type of the symbol under the
cursor using ENSIME and ElDoc.
| Emacs Lisp | mit | JesusMtnez/dotfiles,JesusMtnez/dotfiles |
b3594196893d84b9ed792b5d7c4346f4836e8958 | layers/my-lisp/packages.el | layers/my-lisp/packages.el | ;; -*- lexical-binding: t -*-
(defconst my-lisp-packages '((emacs-lisp :location built-in)
evil-lisp-state
expand-region))
(defun my-lisp/post-init-emacs-lisp ()
(when (configuration-layer/package-used-p 'aggressive-indent)
(add-hook 'emacs-lisp-mode-hoo... | ;; -*- lexical-binding: t -*-
(defconst my-lisp-packages '((emacs-lisp :location built-in)
evil-lisp-state
expand-region
faceup
font-lock-studio))
(defun my-lisp/post-init-emacs-lisp ()
(when (configu... | Install tools to debug syntax highlighting | Install tools to debug syntax highlighting
| Emacs Lisp | mit | amfranz/spacemacs.d |
0d9836a79d247202a0fc1da9f1406b330e95095e | lisp/init-themes.el | lisp/init-themes.el | (require-package 'color-theme-sanityinc-solarized)
(require-package 'color-theme-sanityinc-tomorrow)
;; If you don't customize it, this is the theme you get.
(setq-default custom-enabled-themes '(sanityinc-tomorrow-bright))
;; Ensure that themes will be applied even if they have not been customized
(defun reapply-the... | (require-package 'color-theme-sanityinc-solarized)
(require-package 'color-theme-sanityinc-tomorrow)
;; If you don't customize it, this is the theme you get.
(setq-default custom-enabled-themes '(sanityinc-tomorrow-bright))
;; Ensure that themes will be applied even if they have not been customized
(defun reapply-the... | Refresh "dimmer" state when the frame background mode changes | Refresh "dimmer" state when the frame background mode changes
| Emacs Lisp | bsd-2-clause | blueabysm/emacs.d,lust4life/emacs.d,benkha/emacs.d,kongfy/emacs.d,arthurl/emacs.d,sgarciac/emacs.d,me020523/emacs.d,wegatron/emacs.d,blueseason/emacs.d,braveoyster/emacs.d,mmqmzk/emacs.d,emuio/emacs.d,purcell/emacs.d,qianwan/emacs.d,dcorking/emacs.d,kindoblue/emacs.d,gsmlg/emacs.d,krzysz00/emacs.d,cjqw/emacs.d,baohaoju... |
02952baf579ffafbad010fd8bae466044b6d276b | init-elpa.el | init-elpa.el | (eval-after-load "package"
'(when (> emacs-major-version 23)
(setq package-archives (cons '("tromey" . "http://tromey.com/elpa/") package-archives))))
(provide 'init-elpa)
| (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/"))
(add-to-list 'package-archives '("technomancy" . "http://repo.techn... | Add marmalade to package archives list | Add marmalade to package archives list
| Emacs Lisp | bsd-2-clause | alant/emacs.d,carlosliu/emacs.d,Jadecity/PurcellEmacs.d,zhuoyikang/emacs.d,mpwang/emacs.d,LittleLmp/emacs.d,haodaivshen/emacs.d,boblannon/emacs.d,kindoblue/emacs.d,blueabysm/emacs.d,YangXin/emacs.d,lust4life/emacs.d,YangXin/emacs.d,lujianmei/emacs.d,sgarciac/emacs.d,cyjia/emacs.d,Enzo-Liu/emacs.d,zenith-john/emacs.d,zh... |
d5593775341a4ffe57a9706b1b5d7335844ee397 | core/packages.el | core/packages.el | ;; -*- no-byte-compile: t; -*-
;;; core/packages.el
;; core.el
(package! dotenv-mode)
(package! auto-minor-mode)
;; core-ui.el
(package! all-the-icons)
(package! hide-mode-line)
(package! highlight-numbers)
(unless (locate-library "display-line-numbers")
(package! nlinum)
(package! nlinum-hl)
(package! nlinum-r... | ;; -*- no-byte-compile: t; -*-
;;; core/packages.el
;; core.el
(package! dotenv-mode)
(package! auto-minor-mode)
;; core-ui.el
(package! all-the-icons)
(package! hide-mode-line)
(package! highlight-numbers)
(unless (locate-library "display-line-numbers")
(package! nlinum)
(package! nlinum-hl)
(package! nlinum-r... | Fix xclip exclusion on linux | Fix xclip exclusion on linux
Due to unintentionally inverted condition
| Emacs Lisp | mit | hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlis... |
2e10f51890a5137ee14e83cb5c6ffaafef8c7e1f | setup-files/setup-which-key.el | setup-files/setup-which-key.el | ;; 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
'(("<\\... | ;; Time-stamp: <2015-07-15 14:30:33 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
'(("<\\... | Customize prefix map strings in which-key popups | Customize prefix map strings in which-key popups
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
b8000bb33056605be3ff24c621e399e2404c7f03 | home/.emacs.d/lisp/init-lisp.el | home/.emacs.d/lisp/init-lisp.el | ;;; init-lisp.el -- Lisp and like setup
;;; Commentary:
;;; Lisp editing setup for Emacs
;;; Code:
(defvar my-lisp-modes
'(cider-repl-mode clojure-mode emacs-lisp-mode lisp-mode))
(use-package aggressive-indent
:commands (aggressive-indent-mode)
:init
(dolist (lisp my-lisp-modes)
(add-hook (make-symbol (co... | ;;; init-lisp.el -- Lisp and like setup
;;; Commentary:
;;; Lisp editing setup for Emacs
;;; Code:
(use-package aggressive-indent
:commands (aggressive-indent-mode)
:init
(add-hook 'cider-repl-mode-hook 'aggressive-indent-mode)
(add-hook 'clojure-mode-hook 'aggressive-indent-mode)
(add-hook 'emacs-lisp-mode-... | Fix paredit and aggressive-indent hooks in Lisps | Fix paredit and aggressive-indent hooks in Lisps
| Emacs Lisp | mit | cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles |
09e2a66b8b59f03f0ab5fce5339ea2b0b89d60c5 | lisp/init-python.el | lisp/init-python.el | ;;; init-python.el --- Python editing -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(setq auto-mode-alist
(append '(("SConstruct\\'" . python-mode)
("SConscript\\'" . python-mode))
auto-mode-alist))
(require-package 'pip-requirements)
(when (maybe-require-package 'anaconda-... | ;;; 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 note about python and virtualenvs | Add note about python and virtualenvs
| Emacs Lisp | bsd-2-clause | arthurl/emacs.d,wegatron/emacs.d,qianwan/emacs.d,gsmlg/emacs.d,cjqw/emacs.d,lust4life/emacs.d,baohaojun/emacs.d,krzysz00/emacs.d,svenyurgensson/emacs.d,braveoyster/emacs.d,emuio/emacs.d,sgarciac/emacs.d,blueseason/emacs.d,blueabysm/emacs.d,dcorking/emacs.d,purcell/emacs.d |
7cf8301ea9d471e03c5d284518fa84d41fb5822a | prelude/prelude-osx.el | prelude/prelude-osx.el | ;; On OS X Emacs doesn't use the shell PATH if it's not started from
;; the shell. If you're using homebrew modifying the PATH is essential.
(push "/usr/local/bin" exec-path)
(setenv "PATH" (concat "/usr/local/bin:" (getenv "PATH")))
;; Emacs users obviously have little need for Command and Option keys,
;; but they do... | ;; On OS X Emacs doesn't use the shell PATH if it's not started from
;; the shell.
;; If you're using homebrew or port, modifying the PATH is essential.
(let (osx-paths)
(dolist (path '("/usr/local/bin" "/opt/local/bin" "/opt/local/sbin") (setenv "PATH" (concat osx-paths (getenv "PATH"))))
(push path exec-path)
... | Add path support for macports binaries | OSX: Add path support for macports binaries
macports binaries are located at /opt/local/bin and sbin
| Emacs Lisp | mit | oldfartdeveloper/emacsd,pramukta/emacs.d,pramukta/emacs.d,gihankarunarathne/Nunoboko,blowery/dot-emacs,pramukta/emacs.d |
d2b24975c8ec24a2faf0c864d21cb8ad50160189 | after-init.el | after-init.el | ;; -*- Mode: Emacs-Lisp -*-
;; -*- lisp -*-
;; ~/.emacs.d/after-init.el
;; Load extra packages installed with elpa
;; Jaseem Abid <jaseemabid@gmail.com>
;; centered cursor mode
(require 'centered-cursor-mode)
(global-centered-cursor-mode t)
;; Snippets
(require 'yasnippet)
(yas-global-mode 1)
;; Explain an HTTP status... | ;; -*- Mode: Emacs-Lisp -*-
;; -*- lisp -*-
;; ~/.emacs.d/after-init.el
;; Load extra packages installed with elpa
;; Jaseem Abid <jaseemabid@gmail.com>
;; centered cursor mode
(require 'centered-cursor-mode)
(global-centered-cursor-mode t)
;; Snippets
(require 'yasnippet)
(yas-global-mode 1)
;; Explain an HTTP status... | Enable rinari global mode, not minor mode | Enable rinari global mode, not minor mode
| Emacs Lisp | mit | jaseemabid/emacs.d,arajparaj/emacs.d |
2711067d099a3e31e18c35286433a80841c39f04 | emacs.d/lisp/personal/settings.el | emacs.d/lisp/personal/settings.el | (setf inhibit-startup-screen t) ; disable welcome screen
(setf ring-bell-function 'ignore) ; disable alarm bell
(when (not (display-graphic-p))
(menu-bar-mode -1)) ; disable menu bar in CLI
;; improve scrolling
(setf scroll-margin 5
scroll-step 1
scroll-conservatively 10000
scroll-up-aggressively... | (setf inhibit-startup-screen t) ; disable welcome screen
(setf ring-bell-function 'ignore) ; disable alarm bell
(when (not (display-graphic-p))
(menu-bar-mode -1)) ; disable menu bar in CLI
;; improve scrolling
(setf scroll-margin 5
scroll-step 1
scroll-conservatively 10000
scroll-up-aggressively... | Enable mouse support for terminal Emacs | Enable mouse support for terminal Emacs
| Emacs Lisp | mit | anishathalye/dotfiles,anishathalye/dotfiles,anishathalye/dotfiles |
8bdf7bd22259ea80dad89b4c3123f91c273f46fe | config/config-org.el | config/config-org.el | ;; config-org.el ---
(require 'org-exp)
(require 'org-install)
(org-remember-insinuate)
(set-face-foreground 'org-hide (face-background 'default))
(setq org-directory (concat emacs-config-dir "/jerry/org")
org-agenda-files (list (concat org-directory "/gtd.org")
(concat org-directory "/notes.org"))
... | ;; config-org.el ---
(require 'org-exp)
(require 'org-install)
(org-remember-insinuate)
(set-face-foreground 'org-hide (face-background 'default))
(setq org-directory "~/Ubuntu One/org"
org-agenda-files (list (concat org-directory "/gtd.org")
(concat org-directory "/notes.org"))
org-completion-use... | Change org directory to correct one. | Change org directory to correct one.
| Emacs Lisp | mit | JerryXGH/emacs-config,JerryXGH/emacs-config,JerryXGH/emacs-config,JerryXGH/emacs-config,JerryXGH/emacs-config,JerryXGH/emacs-config,JerryXGH/emacs-config,JerryXGH/emacs-config |
1f5e505addaf0c7adb0e81872f25d919abb7549e | layers/mfa-iimage/packages.el | layers/mfa-iimage/packages.el | (defconst mfa-iimage-packages '(iimage))
(defun mfa-iimage/init-iimage ()
(use-package iimage
:defer t
:init
(progn
(spacemacs/declare-prefix "ot" "toggles")
(spacemacs/set-leader-keys "oti" #'iimage-mode))))
| (defconst mfa-iimage-packages '(iimage))
(defun mfa-iimage/init-iimage ()
(use-package iimage
:defer t))
| Remove image-mode key bindings because they shadow terminal bindings | Remove image-mode key bindings because they shadow terminal bindings
| Emacs Lisp | mit | amfranz/spacemacs.d |
96541e0d596ed1b6de8466280cca02a49c3af955 | conf/_mac.el | conf/_mac.el | ;; Apple specific stuff
;; On OS X GUI applications do not inherit variables from the shell
;; configuration and thus have a different $PATH
;; test by doing "M-: (executable-find "flake8")"
;; C-h v exec-path
(exec-path-from-shell-initialize)
;; This is for mu4e to be able to get gpg going (sig verifying etc)
;; I w... | ;; Apple specific stuff
;; On OS X GUI applications do not inherit variables from the shell
;; configuration and thus have a different $PATH
;; test by doing "M-: (executable-find "flake8")"
;; C-h v exec-path
(exec-path-from-shell-initialize)
;; This is for mu4e to be able to get gpg going (sig verifying etc)
;; I w... | Switch alt-cmd keys in OS prefs | [OSX] Switch alt-cmd keys in OS prefs
| Emacs Lisp | unlicense | jeroentbt/.emacs.d |
93fc6b584d3313ac8ae16f7fe14833711476f522 | custom/10-circe.el | custom/10-circe.el | ;; IRC reconnect
(eval-after-load 'rcirc
'(defun-rcirc-command reconnect (arg)
"Reconnect the server process."
(interactive "i")
(unless process
(error "There's no process for this target"))
(let* ((server (car (process-contact process)))
(port (process-contact process :service))
(nick (rcirc-nick pro... | ;; IRC reconnect
(eval-after-load 'rcirc
'(defun-rcirc-command reconnect (arg)
"Reconnect the server process."
(interactive "i")
(unless process
(error "There's no process for this target"))
(let* ((server (car (process-contact process)))
(port (process-contact process :service))
(nick (rcirc-nick pro... | Add more to irc config | Add more to irc config
| Emacs Lisp | mit | map7/emacs-config,map7/emacs-config,map7/emacs-config |
1550ec2cd5d30d42889d11ebd0a897392e4bd3b1 | lisp/init-locales.el | lisp/init-locales.el | (defun sanityinc/utf8-locale-p (v)
"Return whether locale string V relates to a UTF-8 locale."
(and v (string-match "UTF-8" v)))
(defun locale-is-utf8-p ()
"Return t iff the \"locale\" command or environment variables prefer UTF-8."
(or (sanityinc/utf8-locale-p (and (executable-find "locale") (shell-command-to... | (defun sanityinc/utf8-locale-p (v)
"Return whether locale string V relates to a UTF-8 locale."
(and v (string-match "UTF-8" v)))
(defun locale-is-utf8-p ()
"Return t iff the \"locale\" command or environment variables prefer UTF-8."
(or (sanityinc/utf8-locale-p (and (executable-find "locale") (shell-command-to... | Use utf-16-le for selection-coding-system on windows | Use utf-16-le for selection-coding-system on windows
See https://stackoverflow.com/questions/2901541/which-coding-system-should-i-use-in-emacs/2903256#comment20730840_2903256
| Emacs Lisp | bsd-2-clause | DarkThrone/emacs.d,ruiyang/emacs.d,haodaivshen/emacs.d,exclamaforte/emacs.d,shafayetkhan/emacs.d,benkha/emacs.d,zhaotai/.emacs.d,emuio/emacs.d,ilove0518/emacs.d,LittleLmp/emacs.d,jthetzel/emacs.d,farzadbekran/emacs.d,roxolan/emacs.d,zenith-john/emacs.d,danfengcao/emacs.d,modkzs/emcs.d,lust4life/emacs.d,ruiyang/emacs.d,... |
b808b57fd3d91bb683ee78ccc68a8f4b8f55f59f | mfa-editorconfig/packages.el | mfa-editorconfig/packages.el | (defconst mfa-editorconfig-packages '(editorconfig))
(defun mfa-editorconfig/init-editorconfig ()
(use-package editorconfig
:config
(add-to-list 'edconf-custom-hooks
'(lambda (props)
(maphash (lambda (key value)
(progn
... | (defconst mfa-editorconfig-packages '(editorconfig))
(defun mfa-editorconfig/init-editorconfig ()
(use-package editorconfig
:diminish
:init
(editorconfig-mode)
:config
(progn
(spacemacs|hide-lighter editorconfig-mode)
(defvar mfa/edconf-verbose nil)
(add-to-list 'edconf-custom-h... | Remove references to ethan-wspace in editorconfig-mode config | Remove references to ethan-wspace in editorconfig-mode config
| Emacs Lisp | mit | amfranz/spacemacs.d |
1220784cd1d05b7f2ca12a05a5797a4806cdb223 | settings/setup-interface.el | settings/setup-interface.el | ;; Font
(set-face-attribute 'default nil
:family "Menlo"
:height 120)
(set-face-attribute 'fixed-pitch nil
:family 'unspecified
:inherit 'default)
;; Turn off mouse interface early in startup to avoid momentary display
(if (fboundp 'menu-b... | ;; Font
(set-face-attribute 'default nil
:family "Menlo"
:height 160)
(set-face-attribute 'fixed-pitch nil
:family 'unspecified
:inherit 'default)
;; Turn off mouse interface early in startup to avoid momentary display
(if (fboundp 'menu-b... | Increase font height and set fill-column to 80 | Increase font height and set fill-column to 80
| Emacs Lisp | mit | hsienchiaolee/aquamacs |
b7dcd1eec41f314bf7a836c6d8c9a1143a8e4cac | conf/_appearance.el | conf/_appearance.el | (load-theme 'heroku t)
;; don't beep but flash the screen
;; font-lock-mode provides the colors for spec languages, set max fontification (1-3)
;; force color theme (no increments)
;; don't truncate on partial width
(setq visible-bell t
font-lock-maximum-decoration t
color-theme-is-global t
truncate-... | (load-theme 'solarized-dark t)
;; don't beep but flash the screen
;; font-lock-mode provides the colors for spec languages, set max fontification (1-3)
;; force color theme (no increments)
;; don't truncate on partial width
(setq visible-bell t
font-lock-maximum-decoration t
color-theme-is-global t
t... | Change default theme -> solarized-dark | Change default theme -> solarized-dark
| Emacs Lisp | unlicense | jeroentbt/.emacs.d |
872b26e0eda7258f6d5e176840be5d7bbec3f483 | contrib/!lang/lua/packages.el | contrib/!lang/lua/packages.el | (setq lua-packages
'(
flycheck
lua-mode
))
(defun lua/post-init-flycheck ()
(add-hook 'lua-mode-hook 'flycheck-mode))
(defun lua/init-lua-mode ()
(use-package lua-mode
:defer t
:mode ("\\.lua\\'" . lua-mode)
:interpreter ("lua" . lua-mode)
:config
(progn
(setq lua-indent-le... | (setq lua-packages
'(
company
flycheck
lua-mode
))
(defun lua/post-init-flycheck ()
(add-hook 'lua-mode-hook 'flycheck-mode))
(defun lua/init-lua-mode ()
(use-package lua-mode
:defer t
:mode ("\\.lua\\'" . lua-mode)
:interpreter ("lua" . lua-mode)
:config
(progn
(setq l... | Add company-mode hook for lua | Add company-mode hook for lua
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
2eff37a5dd3dd26bac29fc2430e9fa88f7177866 | config/emacs/emacs_ubuntu_trusty.el | config/emacs/emacs_ubuntu_trusty.el | ; .emacs specific for Ubuntu Trusty
; 3/5/2015 for ibus
(require 'ibus)
(add-hook 'after-init-hook 'ibus-mode-on)
(add-hook 'after-init-hook 'ibus-mode)
;; Custom ROS location
(set-register ?r '(file . "~/link/ROS/indigo_trusty/"))
;;20160429 Moved from downstream (kudu1, Trusty 14.04), hoping this is valid for all ... | ; .emacs specific for Ubuntu Trusty
; 3/5/2015 for ibus
(require 'ibus)
(add-hook 'after-init-hook 'ibus-mode-on)
(add-hook 'after-init-hook 'ibus-mode)
;; Custom ROS location
(set-register ?r '(file . "~/link/ROS/indigo_trusty/"))
;;20160429 Moved from downstream (kudu1, Trusty 14.04), hoping this is valid for all ... | Add missing mozc config for commonized setting. | [emacs] Add missing mozc config for commonized setting.
| Emacs Lisp | apache-2.0 | 130s/hut_10sqft,130s/compenv_ubuntu,130s/hut_10sqft,130s/compenv_ubuntu |
96f76f6aa6b2c740f4c18fc0343b5681019424c8 | setup-files/setup-hydra.el | setup-files/setup-hydra.el | ;; Time-stamp: <2015-02-24 08:48:21 kmodi>
;; Hydra
;; https://github.com/abo-abo/hydra
(use-package hydra
;; :load-path "elisp/hydra"
:config
(progn
;; (setq hydra-lv nil)
(hydra-add-font-lock)))
(provide 'setup-hydra)
;; |----------+-----------+------------------+----------------+-------------|
;; ... | ;; Time-stamp: <2015-02-24 19:38:12 kmodi>
;; Hydra
;; https://github.com/abo-abo/hydra
(use-package hydra
;; :load-path "elisp/hydra"
:config
(progn
;; (setq hydra-lv nil)
(set-face-attribute 'hydra-face-red nil :foreground "Red" :bold t)
(set-face-attribute 'hydra-face-blue nil :fo... | Improve the blue of `hydra-face-blue` | Change: Improve the blue of `hydra-face-blue`
- `set-face-attribute` calls for other faces are also put here in case
they are needed to be modified later on
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
93499f7dcf85f193c30a577c4e49dafce626e575 | load/osx.el | load/osx.el | ;; mouse integration
(require 'mwheel)
(if (equal (getenv "TERM_PROGRAM") "iTerm.app")
(progn
(require 'mouse) ;; needed for iterm2 compatibility
(message
"********************************************************************************")
(message "HERE")
(message
"***********... | ;; mouse integration
(require 'mwheel)
(when (equal (getenv "TERM_PROGRAM") "iTerm.app")
(require 'mouse) ;; needed for iterm2 compatibility
(xterm-mouse-mode)
(defvar mouse-wheel-progressive-speed)
(setq mouse-wheel-progressive-speed nil)
(defvar mouse-wheel-scroll-amount)
(setq mouse-wheel-scroll-amount ... | Remove debug logging, switch to using "when" | Remove debug logging, switch to using "when"
| Emacs Lisp | mit | kaidadragonfly/.emacs |
1ece92551b5b628f819a1646601acfbd947012a0 | emacs/.emacs.d/lisp/ds-elisp.el | emacs/.emacs.d/lisp/ds-elisp.el |
(when ds/emacs-up-to-date?
(add-hook 'emacs-lisp-mode-hook 'prettify-symbols-mode))
;; Use double semi-colon for emacs lisp (default seems to be single).
(add-hook 'emacs-lisp-mode-hook (lambda () (setq comment-start ";;"
comment-end "")))
|
(when ds/emacs-up-to-date?
(add-hook 'emacs-lisp-mode-hook 'prettify-symbols-mode))
;; Use double semi-colon for emacs lisp (default seems to be single).
(add-hook 'emacs-lisp-mode-hook (lambda () (setq comment-start ";;"
comment-end "")))
(defun insert-key-as-kbd (key)... | Add function to insert `kbd` commands in elisp | Add function to insert `kbd` commands in elisp
| Emacs Lisp | cc0-1.0 | davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles |
16cc7810943268d8968776059a391d3160e4098f | emacs.d/lisp/personal/settings.el | emacs.d/lisp/personal/settings.el | (setf inhibit-startup-screen t) ; disable welcome screen
(menu-bar-mode -1) ; disable menu bar
;; improve scrolling
(setf scroll-margin 5
scroll-step 1
scroll-conservatively 10000
scroll-up-aggressively 0.01
scroll-down-aggressively 0.01)
(show-paren-mode 1) ; highlight matching parens
(glob... | (setf inhibit-startup-screen t) ; disable welcome screen
(when (not (display-graphic-p))
(menu-bar-mode -1)) ; disable menu bar in CLI
;; improve scrolling
(setf scroll-margin 5
scroll-step 1
scroll-conservatively 10000
scroll-up-aggressively 0.01
scroll-down-aggressively 0.01)
(show-paren-... | Make emacs menu bar disabled only in CLI | Make emacs menu bar disabled only in CLI
| Emacs Lisp | mit | anishathalye/dotfiles,anishathalye/dotfiles,anishathalye/dotfiles |
9662678a1f4f2fb16b2b61074adb747122114d13 | elcustom/setup-company.el | elcustom/setup-company.el | (global-company-mode)
(defun my/custom-backends ()
(setq company-backends (delete 'company-capf company-backend))
(add-to-list 'company-backends 'company-c-headers))
(setq-default company-backends
'((company-bbdb
company-nxml
company-css
company-eclim
company-semantic
company-c-headers
co... | (global-company-mode)
(defun my/custom-backends ()
(setq company-backends (delete 'company-capf company-backend))
(add-to-list 'company-backends 'company-c-headers))
(setq-default company-backends
'((company-bbdb
company-nxml
company-css
company-eclim
company-semantic
company-c-headers
co... | Remove duplicate semantic backend. Woops! | Remove duplicate semantic backend. Woops!
| Emacs Lisp | mit | anachronic/emacs.d,anachronic/emacs.d |
316b0308b0dded984bbb6d2b24f129a2aeefe6ba | dotfiles/emacs.d/rc/startup.el | dotfiles/emacs.d/rc/startup.el | (setq inhibit-startup-message t)
(setq initial-scratch-message ";;; S C R A T C H B U F F E R ;;;
")
(setq indent-tabs-mode nil)
(if window-system
(progn
(global-set-key [kp-delete] 'delete-char)
(global-set-key [M-kp-delete] 'kill-word)
(menu-bar-mode 1)
(tool-bar-mode 0))
... | (setq inhibit-startup-message t)
(setq initial-scratch-message ";;; S C R A T C H B U F F E R ;;;
")
(setq indent-tabs-mode nil)
(if window-system
(progn
; make forward-delete work
(global-set-key [kp-delete] 'delete-char)
(global-set-key [M-kp-delete] 'kill-word)
; make com... | Save font settings here as well as in custom | Save font settings here as well as in custom
| Emacs Lisp | mit | cdlm/infrastructure,cdlm/infrastructure,cdlm/infrastructure,cdlm/infrastructure |
2d0c8b003ce525dfb3c48198aed2abfe03a52965 | init-locales.el | init-locales.el | (defun locale-is-utf8-p ()
"Return t iff the \"locale\" command or environment variables prefer UTF-8."
(flet ((is-utf8 (v) (and v (string-match "UTF-8" v))))
(or (is-utf8 (and (executable-find "locale") (shell-command-to-string "locale")))
(is-utf8 (getenv "LC_ALL"))
(is-utf8 (getenv "LC_CTYPE"... | (require 'cl-lib)
(defun locale-is-utf8-p ()
"Return t iff the \"locale\" command or environment variables prefer UTF-8."
(cl-flet ((is-utf8 (v) (and v (string-match "UTF-8" v))))
(or (is-utf8 (and (executable-find "locale") (shell-command-to-string "locale")))
(is-utf8 (getenv "LC_ALL"))
(is-u... | Replace an flet with cl-flet | Replace an flet with cl-flet
| Emacs Lisp | bsd-2-clause | renatoriccio/emacs.d,svenyurgensson/emacs.d,bibaijin/emacs.d,dongdonghu/.emacs.d,farzadbekran/emacs.d,Werewolflsp/emacs.d,DarkThrone/emacs.d,caoyuanqi/emacs.d,kongfy/emacs.d,LittleLmp/emacs.d,carlosliu/emacs.d,mmqmzk/emacs.d,qinshulei/emacs.d,pairyo/emacs.d,wenpincui/emacs.d,lust4life/emacs.d,dcorking/emacs.d,qianwan/e... |
656f1851b7c158b630fcb29b977d4a51074be1b5 | emacs/.emacs.d/packages/projectile.el | emacs/.emacs.d/packages/projectile.el | (use-package projectile
:ensure t
:defer t
:bind (("C-c p" . projectile-command-map))
:init
(setq projectile-indexing-method 'native)
(setq projectile-enable-caching t)
(setq projectile-project-search-path '("~/workspace/"))
(projectile-mode 1))
| (use-package projectile
:ensure t
:defer t
:bind (("C-c p" . projectile-command-map))
:init
(setq projectile-indexing-method 'alien)
(setq projectile-enable-caching t)
(setq projectile-project-search-path '("~/workspace/"))
(setq projectile-completion-system 'helm)
(projectile-mode 1))
| Set a better cache and enable Helm integration | Emacs: Set a better cache and enable Helm integration
| Emacs Lisp | mit | benmezger/dotfiles,benmezger/dotfiles,benmezger/dotfiles,benmezger/dotfiles |
c2d02c0203ebf018d0ca95b9d81b3a88264d74e0 | lisp/init-terraform.el | lisp/init-terraform.el | ;;; init-terraform.el --- Work with Terraform configurations -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
;;; Terraform
(when (maybe-require-package 'terraform-mode)
(when (maybe-require-package 'company-terraform)
(after-load 'terraform-mode
(company-terraform-init))))
(provide 'init-terraform)
... | ;;; init-terraform.el --- Work with Terraform configurations -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
;;; Terraform
(when (maybe-require-package 'terraform-mode)
(when (maybe-require-package 'company-terraform)
(after-load 'terraform-mode
(company-terraform-init)
;; I find formatters ba... | Use reformatter to redefine terraform-format-on-save-mode | Use reformatter to redefine terraform-format-on-save-mode
| Emacs Lisp | bsd-2-clause | gsmlg/emacs.d,krzysz00/emacs.d,sgarciac/emacs.d,dcorking/emacs.d,baohaojun/emacs.d,qianwan/emacs.d,purcell/emacs.d,emuio/emacs.d,braveoyster/emacs.d,svenyurgensson/emacs.d,blueseason/emacs.d,blueabysm/emacs.d,arthurl/emacs.d,lust4life/emacs.d |
acb1480ef213a5c1c15d59a2a4cc9c4fd3868606 | emacs.d/lisp/personal/settings.el | emacs.d/lisp/personal/settings.el | (setf inhibit-startup-screen t) ; disable welcome screen
(setf ring-bell-function 'ignore) ; disable alarm bell
(when (not (display-graphic-p))
(menu-bar-mode -1)) ; disable menu bar in CLI
;; improve scrolling
(setf scroll-margin 5
scroll-step 1
scroll-conservatively 10000
scroll-up-aggressively... | (setf inhibit-startup-screen t) ; disable welcome screen
(setf ring-bell-function 'ignore) ; disable alarm bell
(when (not (display-graphic-p))
(menu-bar-mode -1)) ; disable menu bar in CLI
;; improve scrolling
(setf scroll-margin 5
scroll-step 1
scroll-conservatively 10000
scroll-up-aggressively... | Make Emacs save temp files outside the working dir | Make Emacs save temp files outside the working dir
| Emacs Lisp | mit | anishathalye/dotfiles,anishathalye/dotfiles,anishathalye/dotfiles |
dda557910285b5803b93de181159ec2c6c0a7d70 | layers/python/hy-init.el | layers/python/hy-init.el | ;; Hy mode
;;
;; You can get an hy repl by typing in M-x inferior-lisp while in a hy
;; buffer. Needs some work to send buffer to the repl, and only open a
;; new repl if one does not already exist for the active hy buffer.
(use-package hy-mode
:ensure t
:mode ("\\.hy\\'" . hy-mode)
:config
(require 'programmin... | ;; Hy mode
;;
;; You can get an hy repl by typing in M-x inferior-lisp while in a hy
;; buffer. Needs some work to send buffer to the repl, and only open a
;; new repl if one does not already exist for the active hy buffer.
(use-package hy-mode
:ensure t
:mode ("\\.hy\\'" . hy-mode)
:config
(require 'programmin... | Correct the load ordering for hy-mode (for hy-mode-map). | Correct the load ordering for hy-mode (for hy-mode-map).
| Emacs Lisp | mit | timotheosh/dotemacs |
c0a2a1110aab66ce72fc9f893624e426b8cdcf69 | setup-files/setup-nim.el | setup-files/setup-nim.el | ;; Time-stamp: <2017-05-01 17:28:23 kmodi>
;; Nim
;; https://github.com/nim-lang/nim-mode
(use-package nim-mode
:ensure t
:mode (("\\.nim\\'" . nim-mode))
:config
(progn
(with-eval-after-load 'smart-compile
(add-to-list 'smart-compile-alist
'(nim-mode . "nim c --verbosity:0 %f")))... | ;; Time-stamp: <2017-07-06 18:46:00 kmodi>
;; Nim
;; https://github.com/nim-lang/nim-mode
(use-package nim-mode
:ensure t
:mode (("\\.nim\\'" . nim-mode))
:config
(progn
(with-eval-after-load 'smart-compile
(add-to-list 'smart-compile-alist
'(nim-mode . "nim c --verbosity:0 %f")))... | Add ob-nim; Org Babel for Nim | Add ob-nim; Org Babel for Nim
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
0e44c4b6468b664c66676abf49aa3b5ae88adf33 | common/_emacs.d/config/config-magit.el | common/_emacs.d/config/config-magit.el | ;;; config-magit --- What it says on the tin.
;;; Commentary:
;; None at this time.
;;; Code:
;; Shut magit up.
(setq magit-last-seen-setup-instructions "1.4.0")
;; Make magit start full-frame, but otherwise behave the same.
(setq magit-display-buffer-function 'magit-display-buffer-fullframe-status-v1)
;; Bind C-k ... | ;;; config-magit --- What it says on the tin.
;;; Commentary:
;; None at this time.
;;; Code:
;; Shut magit up.
(setq magit-last-seen-setup-instructions "1.4.0")
;; Make magit start full-frame, but otherwise behave the same.
(setq magit-display-buffer-function 'magit-display-buffer-fullframe-status-v1)
;; Warn
(set... | Use 50 column git summaries | Use 50 column git summaries
| Emacs Lisp | mit | gehrman/dotfiles,gehrman/dotfiles |
f2f2d4050715aa6f57ac2219ef9a870e96c2dd4b | doom/config.el | doom/config.el | ;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here!
;; Remember, you do NOT need to run 'doom sync' after modifying this file!
(setq user-full-name "abtv"
user-mail-address "")
(setq doom-theme 'adwaita)
(with-eval-after-load "adwaita-theme"
(custom-theme-set-faces
... | ;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here!
;; Remember, you do NOT need to run 'doom sync' after modifying this file!
(setq user-full-name "abtv"
user-mail-address "")
(setq doom-theme 'adwaita)
(with-eval-after-load "adwaita-theme"
(custom-theme-set-faces
... | Kill current buffer with SPC d in Emacs | Kill current buffer with SPC d in Emacs
| Emacs Lisp | mit | abtv/dotfiles |
822141ddc03c184e0a467de39cca28399f415b6d | emacs.d/text-editing.el | emacs.d/text-editing.el | ;; text-editing.el
;;
;; Misc. settings for formatting text
(setq-default tab-always-indent nil ; tab actually works like a tab key
require-final-newline 't ; unix-friendly trailing newline
tab-width 4 ; tabs are four spaces
indent-ta... | ;; text-editing.el
;;
;; Misc. settings for formatting text
(setq-default tab-always-indent nil ; tab actually works like a tab key
require-final-newline 't ; unix-friendly trailing newline
tab-width 4 ; tabs are four spaces
indent-ta... | Add open lines functionality from vim. | Add open lines functionality from vim.
| Emacs Lisp | mit | mmcclimon/dotfiles,mmcclimon/dotfiles,mmcclimon/dotfiles |
035cef604b163b33255d80db811624fa68591f67 | setup-files/setup-rainbow-delimiters.el | setup-files/setup-rainbow-delimiters.el | ;; Time-stamp: <2015-02-23 11:42:32 kmodi>
;; Rainbow Delimiters
;; http://www.emacswiki.org/emacs/RainbowDelimiters
(use-package rainbow-delimiters
:config
(progn
;; Enable in all programming-related modes
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)))
(provide 'setup-rainbow-delimiters)
| ;; Time-stamp: <2015-02-23 11:42:32 kmodi>
;; Rainbow Delimiters
;; http://www.emacswiki.org/emacs/RainbowDelimiters
(use-package rainbow-delimiters
:config
(progn
;; Enable in all programming-related modes
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode)))
(provide 'setup-rainbow-delimiters)
| Improve add-hook for function rainbow-delimiters-mode. | Improve add-hook for function rainbow-delimiters-mode.
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
dd29c72b58581a4a56d7432944514ca11de888bd | lisp/init-locales.el | lisp/init-locales.el | ;;; init-locales.el --- Configure default locale -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(defun sanityinc/utf8-locale-p (v)
"Return whether locale string V relates to a UTF-8 locale."
(and v (string-match "UTF-8" v)))
(defun sanityinc/locale-is-utf8-p ()
"Return t iff the \"locale\" command or envi... | ;;; init-locales.el --- Configure default locale -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(defun sanityinc/utf8-locale-p (v)
"Return whether locale string V relates to a UTF-8 locale."
(and v (string-match "UTF-8" v)))
(defun sanityinc/locale-is-utf8-p ()
"Return t iff the \"locale\" command or envi... | Remove redundant coding system configuration | Remove redundant coding system configuration
| Emacs Lisp | bsd-2-clause | lust4life/emacs.d,arthurl/emacs.d,benkha/emacs.d,purcell/emacs.d,sgarciac/emacs.d,baohaojun/emacs.d,dcorking/emacs.d,krzysz00/emacs.d,svenyurgensson/emacs.d,cjqw/emacs.d,braveoyster/emacs.d,wegatron/emacs.d,gsmlg/emacs.d,emuio/emacs.d,blueseason/emacs.d,qianwan/emacs.d,blueabysm/emacs.d |
14ce4512720b7e99c0ee483f6e40b3123633dc40 | user-lisp/org-customisations.el | user-lisp/org-customisations.el | (use-package org
:config
;; When clocking in, just use the time from the last clocked out
;; item.
(setq org-clock-continuously t)
;; Show drawers, e.g. :PROPERTIES:, when we expand a heading.
;; See http://emacs.stackexchange.com/a/22540/304
(remove-hook 'org-cycle-hook #'org-cycle-hide-drawers)
;; W... | (use-package org
:config
;; When clocking in, just use the time from the last clocked out
;; item.
(setq org-clock-continuously t)
;; Show drawers, e.g. :PROPERTIES:, when we expand a heading.
;; See http://emacs.stackexchange.com/a/22540/304
(remove-hook 'org-cycle-hook #'org-cycle-hide-drawers)
;; W... | Define a keybinding for tagging org headings with counsel | Define a keybinding for tagging org headings with counsel
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
cf36237b327c4ac152a86f1c7fe673c5f6c10d97 | 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-vm-args (list "-Xmx1024m")... | Allow the clojure REPL more memory by default under slime | Allow the clojure REPL more memory by default under slime
| Emacs Lisp | bsd-2-clause | zuoshifan/emacs.d,Togal/emacs.d,fengxl/emacs.d,whizzzkid/emacs.d,Werewolflsp/emacs.d,alant/emacs.d,cyjia/emacs.d,caoyuanqi/emacs.d,Guoozz/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,danfengcao/emacs.d,sgarciac/emacs.d,scorpionis/emacs.d,farzadbekran/emacs.d,ilove0518/emacs.d,baohaojun/emacs.d,zhuoyikang/emacs.d,modkzs/... |
8c9abe047c2a5f5794746cc300b5993db799f8d2 | lisp/init-vc.el | lisp/init-vc.el | (maybe-require-package 'diff-hl)
(add-hook 'prog-mode-hook 'turn-on-diff-hl-mode)
(add-hook 'vc-dir-mode-hook 'turn-on-diff-hl-mode)
(maybe-require-package 'browse-at-remote)
(provide 'init-vc)
| (when (maybe-require-package 'diff-hl)
(add-hook 'prog-mode-hook 'turn-on-diff-hl-mode)
(add-hook 'vc-dir-mode-hook 'turn-on-diff-hl-mode))
(maybe-require-package 'browse-at-remote)
(provide 'init-vc)
| Enable diff-hl-mode only when available | Enable diff-hl-mode only when available
| Emacs Lisp | bsd-2-clause | wegatron/emacs.d,blueseason/emacs.d,kindoblue/emacs.d,me020523/emacs.d,roxolan/emacs.d,kongfy/emacs.d,dcorking/emacs.d,sgarciac/emacs.d,svenyurgensson/emacs.d,braveoyster/emacs.d,purcell/emacs.d,benkha/emacs.d,arthurl/emacs.d,baohaojun/emacs.d,krzysz00/emacs.d,emuio/emacs.d,qianwan/emacs.d,mmqmzk/emacs.d,cyjia/emacs.d,... |
b2229660126c9e6d5fe87bd59047cc04874e2ac3 | site-lisp/init.el | site-lisp/init.el | ;;; .emacs --- initialization
;; Please be -*- emacs-lisp -*-
;;; Code:
; (package-initialize)
(if (file-exists-p "~/.site-config")
(save-excursion
(let ((site-config-buf (find-file-noselect "~/.site-config")))
(switch-to-buffer site-config-buf)
(goto-char (point-min))
(while (re-sear... | ;;; .emacs --- initialization
;; Please be -*- emacs-lisp -*-
;;; Code:
; (package-initialize)
(if (file-exists-p "~/.site-config")
(save-excursion
(let ((site-config-buf (find-file-noselect "~/.site-config")))
(switch-to-buffer site-config-buf)
(goto-char (point-min))
(while (re-sear... | Set INSIDE_EMACS on emacs start | Set INSIDE_EMACS on emacs start
| Emacs Lisp | bsd-3-clause | dgtized/dotfiles,dgtized/dotfiles,dgtized/dotfiles |
a255eca94c3aa462ad62f7a42f34438452d2cabc | Emacs/emacs-custom.el | Emacs/emacs-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.
'(apropos-sort-by-scores t)
'(backup-directory-alist `((".*" \, temporary... | (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.
'(apropos-sort-by-scores t)
'(backup-directory-alist `((".*" \, temporary... | Set default tab-width to 4 in Emacs | Set default tab-width to 4 in Emacs
| Emacs Lisp | mit | Gosin/Vim4Gosin |
48e337d623f4d963c58055d9b570600c5c95c5e0 | user-lisp/lsp-customisations.el | user-lisp/lsp-customisations.el |
(setq lsp-modeline-code-actions-segments '(count name))
(setq lsp-rust-clippy-preference "on")
(set-face-attribute 'lsp-lsp-flycheck-warning-unnecessary-face nil :foreground nil)
;; Don't override my navigation bindings.
(define-key lsp-signature-mode-map (kbd "M-n") nil)
(define-key lsp-signature-mode-map (kbd "M-... |
(setq lsp-modeline-code-actions-segments '(count name))
(setq lsp-rust-clippy-preference "on")
(set-face-attribute 'lsp-lsp-flycheck-warning-unnecessary-face nil :foreground nil)
;; Don't override my navigation bindings.
(define-key lsp-signature-mode-map (kbd "M-n") nil)
(define-key lsp-signature-mode-map (kbd "M-... | Add a C-c f keybinding for formatting with LSP | Add a C-c f keybinding for formatting with LSP
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
ef3516bed51427c88cf69fe5c5c806910ad96a5d | layers/mfa-go/packages.el | layers/mfa-go/packages.el | (defconst mfa-go-packages '(go-dlv))
(defun mfa-go/init-go-dlv ()
(use-package go-dlv
:defer t))
| (defconst mfa-go-packages '(go-dlv projectile))
(defun mfa-go/init-go-dlv ()
(use-package go-dlv
:defer t))
(defun mfa-go/post-init-projectile ()
(push '(projectile-project-test-cmd . "go test") safe-local-variable-values)
(push '(projectile-project-compilation-cmd . "go build") safe-local-variable-values))... | Whitelist go build commands as safe local variable values | Whitelist go build commands as safe local variable values
| Emacs Lisp | mit | amfranz/spacemacs.d |
39fd43dc7620000b49610207150894000287f324 | emacs.d/conf/51_configuration.el | emacs.d/conf/51_configuration.el | ;; ==================================================
;; Configuration language
;; ==================================================
;; --------------------------------------------------
;; Yaml
;; --------------------------------------------------
(require 'yaml-mode)
(add-to-list 'auto-mode-alist '("\\.yml$" . yaml... | ;; ==================================================
;; Configuration language
;; ==================================================
;; --------------------------------------------------
;; Yaml
;; --------------------------------------------------
(require 'yaml-mode)
(add-to-list 'auto-mode-alist '("\\.yml$" . yaml... | Add conf mode for systemd | Add conf mode for systemd
| Emacs Lisp | mit | naokazuterada/dotfiles,naokazuterada/dotfiles |
59df9862887054f31604ff1dd253a661dddacca4 | load/md.el | load/md.el | (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
(add-hook
'markdown-mode-hook
(lambda ()
(local-unset-key (kbd "<backtab>"))
(defvar markdown-indent-on-enter "markdown-mode.el")
(setq markdown-indent-on-enter nil)
;; Clean whitespace on save (except in /Developer/).
(add-hook 'before-save... | (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
(add-hook
'markdown-mode-hook
(lambda ()
(local-unset-key (kbd "<backtab>"))
(defvar markdown-indent-on-enter "markdown-mode.el")
(setq markdown-indent-on-enter nil)
;; Clean whitespace on save (except in /Developer/).
(add-hook 'before-save... | Enable subword mode in markdown | Enable subword mode in markdown
| Emacs Lisp | mit | kaidadragonfly/.emacs |
2e3feaa05de82545dc4542d54e00ae12474f7709 | init-flyspell.el | init-flyspell.el | (dolist (hook '(lisp-mode-hook
emacs-lisp-mode-hook
scheme-mode-hook
ruby-mode-hook
yaml-mode
python-mode-hook
shell-mode-hook
php-mode-hook
css-mode-hook
haskell-mode-hook
... | (dolist (hook '(lisp-mode-hook
emacs-lisp-mode-hook
scheme-mode-hook
clojure-mode-hook
ruby-mode-hook
yaml-mode
python-mode-hook
shell-mode-hook
php-mode-hook
css-mode-hook
... | Add clojure-mode to mode list for flyspell-prog-mode | Add clojure-mode to mode list for flyspell-prog-mode
| Emacs Lisp | bsd-2-clause | bibaijin/emacs.d,arthurl/emacs.d,ruiyang/emacs.d,zuoshifan/emacs.d,zhaotai/.emacs.d,shafayetkhan/emacs.d,jachinpy/emacs.d,sgarciac/emacs.d,wenpincui/emacs.d,emuio/emacs.d,kongfy/emacs.d,atreeyang/emacs.d,cjqw/emacs.d,ilove0518/emacs.d,hkcqr/emacs.d,farzadbekran/emacs.d,lromang/emacs.d,qinshulei/emacs.d,farzadbekran/ema... |
b9af86862b5a1d7d506cd688f0a69eea6c02f680 | doom_emacs/init.el | doom_emacs/init.el | ;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
ivy
(company +auto)
:ui
doom
modeline
ophints
hl-todo
nav-flash
neotree
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
window-select
:editor
(evil +everywhere +commands)
snippets
file-templates
multiple-cursors
rota... | ;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
ivy
(company +auto)
:ui
doom
modeline
ophints
hl-todo
nav-flash
neotree
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
window-select
hydra
:editor
(evil +everywhere +commands)
snippets
file-templates
multiple-cursor... | Enable :tools ein in doom | Enable :tools ein in doom
| Emacs Lisp | mit | mpardalos/dotfiles,mpardalos/dotfiles |
8383cb3089d69530606760ac56f8df89fe402963 | lisp/packages.el | lisp/packages.el | ;;; packages.el -- Emacs package management
(require 'package)
(defvar pjones:package-archives
'(("melpa" . "http://melpa.org/packages/")
("org" . "http://orgmode.org/elpa/"))
"List of package archives to use with Emacs.")
(defvar pjones:packages
'( bbdb
beginend
bm
circe
circe-notific... | ;;; packages.el -- Emacs package management
(require 'package)
(defvar pjones:package-archives
'(("melpa" . "http://melpa.org/packages/")
("org" . "http://orgmode.org/elpa/"))
"List of package archives to use with Emacs.")
(defvar pjones:packages
'( bbdb
beginend
bm
circe
circe-notific... | Bring in orgmode and org-tree-slide | Bring in orgmode and org-tree-slide
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
4b63fddba3aa229ca9d7c2c402f1a216155b2cad | lib/display.el | lib/display.el | ;; -*- lexical-binding: t -*-
;;;###autoload
(defun display-assume-graphic-p ()
"My Emacs instances are dedicated to either the graphical environment or the
terminal. My customizations differ slightly between the two. This functions
returns whether this Emacs instance is dedicated to the graphical environment."
(o... | ;; -*- lexical-binding: t -*-
;;;###autoload
(defun display-assume-graphic-p ()
"My Emacs instances are dedicated to either the graphical environment or the
terminal. My customizations differ slightly between the two. This functions
returns whether this Emacs instance is dedicated to the graphical environment."
(o... | Make check for the "GUI" daemon instance more robust | Make check for the "GUI" daemon instance more robust
There is no need to read the environment variable (which might not be set,
that's the brittle part) to determine the name of the server socket. We can
rather use (daemonp) which doesn't return a boolean, as the suffix "p" might
suggest, rather it returns the socket ... | Emacs Lisp | mit | amfranz/spacemacs.d |
c0900856729d05f34013b328ae941d7cf27e9db4 | .dir-locals.el | .dir-locals.el | ((nil . ((eval . (setq compile-command (format "cd %s && make check" (locate-dominating-file buffer-file-name ".dir-locals.el")))))))
| ((nil . ((eval . (setq compile-command (format "cd %s && make all" (locate-dominating-file buffer-file-name ".dir-locals.el")))))))
| Set compile-command to "make all" instead of "make check" | Set compile-command to "make all" instead of "make check"
| Emacs Lisp | agpl-3.0 | glondu/belenios,glondu/belenios,glondu/belenios,glondu/belenios,glondu/belenios |
146ca46d4a8914a3755f85f7939b782ddadcfb41 | emacs/.emacs.d/config/my-lookfeel.el | emacs/.emacs.d/config/my-lookfeel.el | ;; linum-relative: Vim-like relative line numbers
;; https://github.com/coldnew/linum-relative
(use-package linum-relative
:ensure linum-relative
:init
(linum-relative-global-mode 1))
;; atom-one-dark-theme: An Emacs port of the Atom One Dark theme from Atom.io.
;; https://github.com/jonathanchu/atom-one-dark-th... | ;;; linum-relative: Vim-like relative line numbers
;;; https://github.com/coldnew/linum-relative
(use-package linum-relative
:ensure linum-relative
:init
(linum-relative-global-mode 1))
;;; atom-one-dark-theme: An Emacs port of the Atom One Dark theme from Atom.io.
;;; https://github.com/jonathanchu/atom-one-dar... | Set font to Hack-10 and updated comments | Set font to Hack-10 and updated comments
| Emacs Lisp | unlicense | Llewxamris/dotfiles |
bf5ddced6f99e3847a700efcbdf771f7e1fc0c5f | init.el | init.el | ;;; init.el --- Where all the magic begins
;;
;; This file loads Org-mode and then loads the rest of our Emacs initialization from Emacs lisp
;; embedded in literate Org-mode files.
(require 'cl)
(defun tnoda/find-brew-cask-prefix
()
(with-current-buffer (get-buffer-create "*brew-cask-prefix")
(erase-buffer)
... | ;;; init.el --- Where all the magic begins
;;
;; This file loads Org-mode and then loads the rest of our Emacs initialization from Emacs lisp
;; embedded in literate Org-mode files.
(require 'cl)
(defun tnoda/find-brew-cask-prefix
()
(with-current-buffer (get-buffer-create "*brew-cask-prefix")
(erase-buffer)
... | Add Org's cask directory to Info-directory-list. | Add Org's cask directory to Info-directory-list.
| Emacs Lisp | mit | tnoda/.emacs.d |
aafc73cd978f77d5f165c5065eb32b6b8c4e31b9 | setup-files/setup-magit.el | setup-files/setup-magit.el | ;; Time-stamp: <2014-02-18 13:26:32 kmodi>
;; magit
;; Source: https://github.com/magit/magit
(require 'magit)
(setq magit-completing-read-function 'magit-ido-completing-read
magit-repo-dirs '( "~/.emacs.d"
)
)
(setq setup-magit-loaded t)
(provide 'setup-magit)
| ;; Time-stamp: <2014-03-07 15:13:15 kmodi>
;; magit
;; Source: https://github.com/magit/magit
(require 'magit)
(setq magit-completing-read-function 'magit-ido-completing-read
magit-auto-revert-mode nil
magit-repo-dirs '( "~/.emacs.d"
)
)
(setq setup-magit-loaded t)
(provi... | Set the magit auto revert to false | Set the magit auto revert to false
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
d5ab67fa0b550985a15d7a5150eda8b00b66319f | .emacs.d/clipboard.el | .emacs.d/clipboard.el | (when (eq system-type 'darwin)
(progn
(defun copy-from-osx () (shell-command-to-string "pbpaste"))
(defun paste-to-osx (text &optional push)
(let ((process-connection-type nil))
(let ((proc (start-process "pbcopy" "*Messages*" "pbcopy")))
(process-send-string proc text)
(process-send-eof proc))))... | (when (eq system-type 'darwin)
(progn
(defun copy-from-osx () (let ((tramp-mode nil) (default-directory "~"))
(shell-command-to-string "pbpaste")))
(defun paste-to-osx (text &optional push)
(let ((process-connection-type nil))
(let ((proc (start-process "pbcopy" "*M... | Copy and paste correctly when editing files with tramp. | Copy and paste correctly when editing files with tramp.
| Emacs Lisp | mit | bamos/dotfiles,bamos/dotfiles,bamos/dotfiles |
49c787fbded6debe87a522e8d5af78f89c0001cf | emacs.d/behavior.el | emacs.d/behavior.el | ;; ~/.emacs.d/behavior.el
;; Configuration settings for how Emacs should behave
(use-package better-defaults
:ensure t)
(use-package helm
:ensure t)
(helm-mode 1)
;; Always follow symlinks, do not prompt
(setq vc-follow-symlinks t)
;; Automatically download ELPA packages if not present
(setq use-package-always-... | ;; ~/.emacs.d/behavior.el
;; Configuration settings for how Emacs should behave
(use-package better-defaults
:ensure t)
;; Use Helm for basic autocompletion and dialogs
(use-package helm
:ensure t)
(helm-mode 1)
(global-set-key "\C-x\C-f" 'helm-find-files)
(global-set-key "\M-x" 'helm-M-x)
;; Always follow symli... | Use helm for C-x C-f and M-x | Use helm for C-x C-f and M-x
| Emacs Lisp | mit | ben01189998819991197253/dotfiles |
d9992e9b6fc15d2442d2df818bc6818e090b7260 | Emacs/emacs-custom.el | Emacs/emacs-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.
'(apropos-sort-by-scores t)
'(backup-directory-alist `((".*" \, temporary... | (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.
'(apropos-sort-by-scores t)
'(backup-directory-alist `((".*" \, temporary... | Add org-bullets package in Emacs | Add org-bullets package in Emacs
| Emacs Lisp | mit | Gosin/Vim4Gosin |
3bb2b9c9533e62ceaaecd27734b24670edb6fcbe | init-exec-path.el | init-exec-path.el | (defun set-exec-path-from-shell-PATH ()
(let ((path-from-shell (shell-command-to-string "$SHELL -i -c 'echo $PATH'")))
(setenv "PATH" path-from-shell)
(setq exec-path (split-string path-from-shell path-separator))))
(when *is-a-mac*
(eval-after-load "woman"
'(setq woman-manpath (append (list "/opt/loca... | (defun set-exec-path-from-shell-PATH ()
(let ((path-from-shell (shell-command-to-string "$SHELL -i -l -c 'echo $PATH'")))
(setenv "PATH" path-from-shell)
(setq exec-path (split-string path-from-shell path-separator))))
(when *is-a-mac*
(eval-after-load "woman"
'(setq woman-manpath (append (list "/opt/l... | Use -l when exec-ing $SHELL to find the user's desired path | Use -l when exec-ing $SHELL to find the user's desired path
| Emacs Lisp | bsd-2-clause | farzadbekran/emacs.d,LKI/emacs.d,ilove0518/emacs.d,jhpx/emacs.d,benkha/emacs.d,alant/emacs.d,zuoshifan/emacs.d,blueabysm/emacs.d,cjqw/emacs.d,lujianmei/emacs.d,braveoyster/emacs.d,cyjia/emacs.d,zuoshifan/emacs.d,fengxl/emacs.d,scorpionis/emacs.d,wenpincui/emacs.d,hkcqr/emacs.d,atreeyang/emacs.d,mpwang/emacs.d,sgarciac/... |
d679645befcb48fa39e4be3f4865d0b9de3a7d89 | .emacs.d/config/packages/helm-ag.el | .emacs.d/config/packages/helm-ag.el | ;;; helm-ag.el --- Configuration for helm-ag
;;; Commentary:
;; Set up helm-ag searching
;; - Use pt (The Platinum Searcher) rather than ag.
;; - Set a keybinding
;;; Code:
(use-package helm-ag
:ensure t
:init
(setq helm-ag-fuzzy-match t)
(setq helm-ag-base-command "pt -e nocolor --nogroup")
:bind
("C... | ;;; helm-ag.el --- Configuration for helm-ag
;;; Commentary:
;; Set up helm-ag searching
;; - Use pt (The Platinum Searcher) rather than ag.
;; - Set a keybinding
;;; Code:
(use-package helm-ag
:ensure t
:init
(setq helm-ag-fuzzy-match t)
:bind
("C-c p s h" . helm-ag))
;;; helm-ag.el ends here
| Revert to ag rather than pt searches | Revert to ag rather than pt searches
| Emacs Lisp | mit | madintist/emacs-config |
0c2666e27c5748f9b2203718fba5a3773d9b6650 | doom_emacs/init.el | doom_emacs/init.el | ;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
ivy
(company +auto)
:ui
doom
modeline
ophints
hl-todo
nav-flash
neotree
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
window-select
:editor
(evil +everywhere +commands)
snippets
file-templates
multiple-cursors
rota... | ;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
ivy
(company +auto)
:ui
doom
modeline
ophints
hl-todo
nav-flash
neotree
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
window-select
:editor
(evil +everywhere +commands)
snippets
file-templates
multiple-cursors
rota... | Enable doom emacs agda plugin | Enable doom emacs agda plugin
| Emacs Lisp | mit | mpardalos/dotfiles,mpardalos/dotfiles |
bd78bbd0b5db3bfae2789eec4b5abe7e8be57abd | .emacs.d/init-haskell.el | .emacs.d/init-haskell.el | (require 'use-package)
(use-package ghc
:config (progn
(add-hook 'haskell-mode-hook 'ghc-init))
:ensure t)
(use-package haskell-mode
:ensure t
:config (progn
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
(setq haskell-process-... | (require 'use-package)
(use-package ghc
:config (progn
(add-hook 'haskell-mode-hook 'ghc-init))
:ensure t)
(use-package haskell-mode
:ensure t
:config (progn
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
(setq haskell-ind... | Use haskell indentation and don't show them | Use haskell indentation and don't show them
| Emacs Lisp | mit | reuben364/dotfiles |
7caaeb1c1d38e8076e5d86d66818ab637f3863ba | contrib/osx/packages.el | contrib/osx/packages.el | (defvar osx-packages
'(
pbcopy
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defun osx/init-pbcopy ()
(use-package pbcopy
:init
(unless (display-graphic-p)
(turn-on-pbcopy))))
| (defvar osx-packages
'(
pbcopy
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defun osx/init-pbcopy ()
(use-package pbcopy
:if (not (display-graphic-p))
:init (turn-on-pbcopy)))
| Use :if keyword for pbcopy init | Use :if keyword for pbcopy init
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
a29b4fd3ec22a19cac2a76f471099e1e9ca28d65 | generate.el | generate.el | ;; requires s.el to be available and loaded
(require 's)
(require 'cl-lib)
(defun get-string-from-file (filePath)
(with-temp-buffer
(insert-file-contents filePath)
(buffer-string)))
(defun sorted-helm-themes ()
(cl-sort (mapcar 'symbol-name (helm-themes--candidates)) 'string-lessp :key 'downcase))
(defun... | ;; requires s.el to be available and loaded
;; Just evaluate the buffer the files will be generated in ./html
(require 's)
(require 'cl-lib)
(defun get-string-from-file (filePath)
(with-temp-buffer
(insert-file-contents filePath)
(buffer-string)))
(defun sorted-helm-themes ()
(cl-sort (mapcar 'symbol-name... | Remove and recreate the html directory on every run | Remove and recreate the html directory on every run
| Emacs Lisp | mit | robmerrell/spacemacs_theme_gallery,robmerrell/spacemacs_theme_gallery |
c3db907204d3633793d4243c0066cdb6cb0749dd | modules/tools/wakatime/autoload.el | modules/tools/wakatime/autoload.el | ;;; tools/wakatime/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(add-hook 'doom-after-switch-buffer-hook #'+wakatime-init)
;;;###autoload
(defun +wakatime-init ()
"Initialize wakatime (if `wakatime-api-key' is set, otherwise no-op with a
warning)."
(if wakatime-api-key
(global-wakatime-mode +1)
... | ;;; tools/wakatime/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(add-hook 'doom-after-switch-buffer-hook #'+wakatime-init)
;;;###autoload
(defvar wakatime-api-key nil)
;;;###autoload
(defun +wakatime-init ()
"Initialize wakatime (if `wakatime-api-key' is set, otherwise no-op with a
warning)."
(if wakat... | Fix wakatime breaking emacs if no api-key set | Fix wakatime breaking emacs if no api-key set
| Emacs Lisp | mit | UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-... |
e9d9cc5f8dd2abedff6a1b2d8e2adb4702e1da73 | emacs/ar/ar-helm-projectile.el | emacs/ar/ar-helm-projectile.el | ;;; ar-helm-projectile.el --- Helm projectile support.
;;; Commentary:
;; Helm projectile helpers.
;;; Code:
(require 'ar-shell)
(require 'cl)
(require 'helm-projectile)
(require 'esh-mode)
(defun ar/helm-projectile-shell-cd ()
"Change shell current working directory using helm projectile."
(interactive)
(ass... | ;;; ar-helm-projectile.el --- Helm projectile support.
;;; Commentary:
;; Helm projectile helpers.
;;; Code:
(require 'ar-shell)
(require 'cl)
(require 'helm-projectile)
(require 'esh-mode)
(defun ar/helm-projectile-shell-cd ()
"Change shell current working directory using helm projectile."
(interactive)
(ass... | Use major-mode when checking for shell (instead of mode-name) | Use major-mode when checking for shell (instead of mode-name)
| Emacs Lisp | bsd-2-clause | xenodium/dotsies,xenodium/dotsies,xenodium/dotsies |
e0cc0eba241492570b37106dfa63cd389ee957d9 | modules/ui/minimap/packages.el | modules/ui/minimap/packages.el | ;; -*- no-byte-compile: t; -*-
;;; ui/minimap/packages.el
(package! minimap :pin "5765245dee97a3c8818fd5cd3db1eca7247fcbbc")
| ;; -*- no-byte-compile: t; -*-
;;; ui/minimap/packages.el
(package! minimap :pin "d8850be6fb7b3dbff0cd9b5a04d10a6dcc527326")
| Fix 'bad object 5765245...' error on minimap module | Fix 'bad object 5765245...' error on minimap module
| 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/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d |
aa4f3c036f18e7e2fed2dd16521af8dc4e0cc158 | contrib/syl20bnr/packages.el | contrib/syl20bnr/packages.el | (defvar syl20bnr-packages
'(
rainbow-identifiers
)
"List of all packages to install and/or initialized. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defun syl20bnr/init-rainbow-identifiers ()
(use-package rainbow-identifiers
:commands rainbow-identifiers... | (defvar syl20bnr-packages
'(
rainbow-identifiers
)
"List of all packages to install and/or initialized. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defun syl20bnr/init-rainbow-identifiers ()
(use-package rainbow-identifiers
:commands rainbow-identifiers... | Fix syntax error in syl20bnr configuration layer | Fix syntax error in syl20bnr configuration layer
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
736ec334644d6d746d66652572068bd54ae31185 | user-lisp/company-jit.el | user-lisp/company-jit.el | (require 'company)
(require 'dash)
(defvar company-jit-prefixes
`(
(python-mode
(,(rx symbol-start "import ") ,(rx symbol-start "from "))
company-anaconda)
(rust-mode
(,(rx "::") ,(rx "."))
racer-company-complete)
(css-mode
(,(rx ": "))
company-css))
"Prefix strings that t... | (require 'company)
(require 'dash)
(defvar company-jit-prefixes
`(
(python-mode
(,(rx symbol-start "import ") ,(rx symbol-start "from "))
company-anaconda)
(rust-mode
(,(rx "::") ,(rx "."))
racer-company-complete)
(css-mode
(,(rx ": "))
company-css))
"Prefix strings that t... | Use company functions instead of rolling our own. | Use company functions instead of rolling our own.
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
83be8b19bac106fbae71db258abbbc30f0e993e5 | setup-files/setup-sx.el | setup-files/setup-sx.el | ;; Time-stamp: <2015-01-23 09:43:08 kmodi>
;; StackExchange Mode
;; http://www.emacswiki.org/emacs/sx.el
(req-package sx)
(provide 'setup-sx)
| ;; Time-stamp: <2015-01-28 11:30:43 kmodi>
;; StackExchange Mode
;; https://github.com/vermiculus/sx.el
(req-package sx)
(provide 'setup-sx)
| Fix the package source hyperlink | Fix the package source hyperlink
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
0191d1bba88c98eb6e4627301e02c3750af2ed42 | init-extension/init-evil-plugins.el | init-extension/init-evil-plugins.el | (use-package evil-little-word)
(use-package evil-operator-moccur
:init
(global-evil-operator-moccur-mode 1))
(use-package evil-operator-comment
:init
(global-evil-operator-comment-mode 1))
| (use-package evil-little-word)
(use-package evil-operator-comment
:init
(global-evil-operator-comment-mode 1))
| Remove unused evil plugin for mocur | Remove unused evil plugin for mocur
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
fadf9aaffbcf6f2ebb3f24050cdb0f53100e5f08 | lisp/init-local.el | lisp/init-local.el | (provide 'init-local)
;; rails reloaded plugin
(push "~/.emacs.d/site-lisp/rails-reloaded" load-path)
(require 'rails-autoload)
| ;; rails reloaded plugin
(push "~/.emacs.d/site-lisp/rails-reloaded" load-path)
(require 'rails-autoload)
;; Standard ML https://class.coursera.org/proglang-003/wiki/view?page=smlEmacsInstall
(setenv "PATH" (concat "/home/david1/workspace/sml/bin:" (getenv "PATH")))
(setq exec-path (cons "/home/david1/workspace/sml/bi... | Add support for Standard ML | Add support for Standard ML
including path to a local binary
| Emacs Lisp | bsd-2-clause | dcorking/emacs.d |
9c0739723e7f08516049e213a20540b2d20631d9 | init-local.el | init-local.el | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; START: Ruby / Rails setup
;; Interactively Do Things (highly recommended, but not strictly required)
(ido-mode t)
;; Rinari
(push "~/.emacs.d/site-lisp/rinari" load-path)
(require 'rinari)
;; rails reloaded plugin
(push "~/.emacs.d/site-l... | (provide 'init-local)
;; rails reloaded plugin
(push "~/.emacs.d/site-lisp/rails-reloaded" load-path)
(require 'rails-autoload)
(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.... | Fix and remove duplications from local | Fix and remove duplications from local
customizations init-local.el
| Emacs Lisp | bsd-2-clause | dcorking/emacs.d |
c8ff1b825cf41a1dc9afe57d2b1ad0a3145d55ff | init-osx-keys.el | 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 '(0.001))
(when *is-cocoa-emacs*
;; Woohoo!!
(global-set-key (kbd "M-`") 'ns-next-frame)
(g... | (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 '(0.001))
(when *is-cocoa-emacs*
;; Woohoo!!
(global-set-key (kbd "M-`") 'ns-next-frame)
(g... | Clarify meaning of obscure key binding | Clarify meaning of obscure key binding
| Emacs Lisp | bsd-2-clause | blueseason/emacs.d |
3dcb984e4ed65cda4041e78da18c7d561a533ac8 | emacs/elisp/im.el | emacs/elisp/im.el | ;;; im -- Integration for instant messaging
;;;
;;; Commentary:
;;; Uses jabber mode.
;;; Customisations:
;;; - Adapts python-mode to work with differnet project styles,
;;; notably the Pylons project.
;;
;;; Code:
(require 'jabber)
(defun notify-jabber-notify (from buf text proposed-alert)
"Notify via notify... | ;;; im -- Integration for instant messaging
;;;
;;; Commentary:
;;; Uses jabber mode.
;;; Customisations:
;;; - Adapts python-mode to work with differnet project styles,
;;; notably the Pylons project.
;;
;;; Code:
(require 'jabber)
(require 'notify)
(defun notify-jabber-notify (from buf text proposed-alert)
... | Clean up lisp syntax errors. | Clean up lisp syntax errors.
| Emacs Lisp | bsd-2-clause | mgrbyte/dot-files,mgrbyte/dot-files,mgrbyte/dot-files |
b6bea69b692c9ebaf7cc3af3779bf9e9dc97a453 | .emacs.d/lisp/packages/winner-use.el | .emacs.d/lisp/packages/winner-use.el | ;;; winner-use.el --- Revert to previous window states (bundled with Emacs)
(use-package winner
:config
(winner-mode 1))
(provide 'winner-use)
;;; winner-use.el ends here
| ;;; winner-use.el --- Revert to previous window states (bundled with Emacs)
(use-package winner
:bind
(:map winner-mode-map
("C-w C-h" . winner-undo)
("C-w C-l" . winner-redo))
:config
(winner-mode 1)
:demand)
(provide 'winner-use)
;;; winner-use.el ends here
| Add some keybindings for winner-mode | Add some keybindings for winner-mode
| Emacs Lisp | mit | strburst/dotfiles |
342baea11838ba7f22ccee43e8b267048b8e6962 | 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 conf... | (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 in init-ruby
(provide 'init-html)
| Remove another use of the tidy package | Remove another use of the tidy package
See #540
| Emacs Lisp | bsd-2-clause | svenyurgensson/emacs.d,krzysz00/emacs.d,blueseason/emacs.d,emuio/emacs.d,me020523/emacs.d,baohaojun/emacs.d,lust4life/emacs.d,cjqw/emacs.d,arthurl/emacs.d,kindoblue/emacs.d,benkha/emacs.d,braveoyster/emacs.d,roxolan/emacs.d,wegatron/emacs.d,kongfy/emacs.d,mmqmzk/emacs.d,sgarciac/emacs.d,qianwan/emacs.d,purcell/emacs.d,... |
1757c2ce2549955c69018e4eb053bed3ef31b39d | .emacs.d/lisp/code/languages/ruby.el | .emacs.d/lisp/code/languages/ruby.el | (setq-default ruby-indent-line global-tab-width)
(smart-tabs-advice ruby-indent-line ruby-indent-level)
(smart-tabs-insinuate 'ruby)
(setf ruby-indent-tabs-mode t)
(setf ruby-use-smie nil)
(add-to-list 'auto-mode-alist '("\\.god\\'" . ruby-mode))
(provide 'ruby)
| ;; Set ruby-indent-line to global-tab-width
(setq-default ruby-indent-line global-tab-width)
;; Provide advice to Smart Tabs about how to handle Ruby's special
;; indentation variables.
(smart-tabs-advice ruby-indent-line ruby-indent-level)
;; Apply Ruby language support to Smart Tabs.
(smart-tabs-insinuate 'ruby)
;... | Add documentation to Ruby support | Add documentation to Ruby support
| Emacs Lisp | mit | kotct/dot,kotct/dot |
9dfdfffc5dcf96b2148b5bdaef19231920e31d20 | setup-package.el | setup-package.el | (require 'package)
(defvar marmalade '("marmalade" . "http://marmalade-repo.org/packages/"))
(defvar gnu '("gnu" . "http://elpa.gnu.org/packages/"))
(defvar melpa '("melpa" . "http://melpa.milkbox.net/packages/"))
;; Add marmalade to package repos
(add-to-list 'package-archives marmalade)
(add-to-list 'package-archiv... | (require 'package)
(defvar marmalade '("marmalade" . "http://marmalade-repo.org/packages/"))
(defvar gnu '("gnu" . "http://elpa.gnu.org/packages/"))
(defvar melpa '("melpa" . "http://melpa.milkbox.net/packages/"))
;; Add marmalade to package repos
(add-to-list 'package-archives marmalade)
(add-to-list 'package-archiv... | Make sure melpa, marmalade and gnu is all present in archives. | Make sure melpa, marmalade and gnu is all present in archives.
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
fb584118b63fd8ab769c7594ce2f0848f0a7bbb2 | lisp/init-darcs.el | lisp/init-darcs.el | (require-package 'darcsum)
(require-package 'vc-darcs)
;; TODO: include this in the vc-darcs ELPA package
(add-to-list 'vc-handled-backends 'DARCS)
(autoload 'vc-darcs-find-file-hook "vc-darcs")
(add-hook 'find-file-hooks 'vc-darcs-find-file-hook)
(after-load 'vc-darcs
;; This variable was removed in an Emacs 25.x... | (require-package 'darcsum)
(require-package 'vc-darcs)
;; TODO: include this in the vc-darcs ELPA package
(add-to-list 'vc-handled-backends 'DARCS)
(autoload 'vc-darcs-find-file-hook "vc-darcs")
(add-hook 'find-file-hooks 'vc-darcs-find-file-hook)
(setq darcsum-whatsnew-switches "-l")
(provide 'init-darcs)
| Remove defunct config for vc-darcs | Remove defunct config for vc-darcs
| Emacs Lisp | bsd-2-clause | kindoblue/emacs.d,wegatron/emacs.d,krzysz00/emacs.d,me020523/emacs.d,braveoyster/emacs.d,gsmlg/emacs.d,purcell/emacs.d,cjqw/emacs.d,dcorking/emacs.d,roxolan/emacs.d,arthurl/emacs.d,sgarciac/emacs.d,blueabysm/emacs.d,blueseason/emacs.d,mmqmzk/emacs.d,kongfy/emacs.d,svenyurgensson/emacs.d,emuio/emacs.d,qianwan/emacs.d,ba... |
530b4328dfa8ddfa3c0bb06bf912bdd903fa4de7 | lisp/init-local.el | lisp/init-local.el | ;;; package --- Summary
;;; Commentary:
;;; Code:
(add-to-list 'load-path (expand-file-name "site-lisp" user-emacs-directory))
(require-package 'slime)
(setq slime-lisp-implementations
'((ccl ("/usr/local/bin/ccl64"))
(cmucl ("/usr/local/Cellar/cmucl/20e/bin/lisp"))))
(after-load 'slime
(slime-setup... | ;;; package --- Summary
;;; Commentary:
;;; Code:
(add-to-list 'load-path (expand-file-name "site-lisp" user-emacs-directory))
(require-package 'slime)
(setq slime-lisp-implementations
'((ccl ("/usr/local/bin/ccl64"))
(cmucl ("/usr/local/Cellar/cmucl/20e/bin/lisp"))))
(after-load 'slime
(slime-setup... | Add maxima mode and ibuffer shortcut | Add maxima mode and ibuffer shortcut
| Emacs Lisp | bsd-2-clause | qianwan/emacs.d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.