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 |
|---|---|---|---|---|---|---|---|---|---|
b185b9685f49e65b06cbee12e3fc078e34477359 | 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-solarized-light))
;; Ensure that themes will be applied even if they have not been customized
(defun reapply-the... | Revert "Change default theme to my preferred dark theme" | Revert "Change default theme to my preferred dark theme"
This reverts commit 7940db01b08862b34888ebe05aabedfac21784d9.
| Emacs Lisp | bsd-2-clause | emuio/emacs.d |
8142f9ca364f1d65a084ad10f802222947c0f816 | emacs.d/personal/init/packages.el | emacs.d/personal/init/packages.el | (prelude-require-packages '(
ag
aggressive-indent
bats-mode
chruby
color-theme-sanityinc-tomorrow
evil-args
evil-jumper
... | (prelude-require-packages '(
ag
aggressive-indent
bats-mode
chruby
color-theme-sanityinc-tomorrow
evil-args
evil-jumper
... | Remove smartrep from our own package list add evil-surround | Remove smartrep from our own package list add evil-surround
| Emacs Lisp | mit | caleb/dotfiles,caleb/dotfiles,caleb/dotfiles |
d3d3b2387888b993dbe072075b8746c1c17c3295 | init-package/init-git-gutter-fringe.el | init-package/init-git-gutter-fringe.el | (require 'git-gutter-fringe)
(global-git-gutter-mode t)
(setq git-gutter:hide-gutter t)
;; Don't need log/message.
(setq git-gutter:verbosity 0)
(setq git-gutter-fr:side 'right-fringe)
(setq git-gutter:update-hooks '(after-save-hook after-revert-hook))
;; custom graphics that works nice with half-width fringes
(fri... | (require 'git-gutter-fringe)
(global-git-gutter-mode t)
(setq git-gutter:hide-gutter t)
;; Don't need log/message.
(setq git-gutter:verbosity 0)
(setq git-gutter-fr:side 'right-fringe)
;; (setq git-gutter:update-hooks '(after-save-hook after-revert-hook))
;; custom graphics that works nice with half-width fringes
(... | Remove explicit hooks from git-gutter-fringe configuration. | Remove explicit hooks from git-gutter-fringe configuration.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
e066f3d0fdcd3e44a6fabc97749d8b4c1e10aae3 | layers/my-atomic-chrome/packages.el | layers/my-atomic-chrome/packages.el | ;; -*- lexical-binding: t -*-
(defconst my-atomic-chrome-packages '(atomic-chrome))
(defun my-atomic-chrome/init-atomic-chrome ()
(use-package atomic-chrome
:defer t
:init
(when (and (daemonp) (display-assume-graphic-p))
(add-hook 'spacemacs-post-user-config-hook #'atomic-chrome-start-server))
... | ;; -*- lexical-binding: t -*-
(defconst my-atomic-chrome-packages '(atomic-chrome))
(defun my-atomic-chrome/init-atomic-chrome ()
(use-package atomic-chrome
:defer t
:init
(when (and (daemonp) (display-assume-graphic-p))
(add-hook 'spacemacs-post-user-config-hook #'atomic-chrome-start-server))
... | Enable support for GhostText extension, to support Firefox as well | Enable support for GhostText extension, to support Firefox as well
| Emacs Lisp | mit | amfranz/spacemacs.d |
4fa12ba0e08aad72bf52dcbe31181c7a8283a536 | features/support/hooks.el | features/support/hooks.el | (require 'ecukes)
(defun kill-js-buffers ()
(mapc (lambda (buffer)
(when (string-match "\.js" (buffer-name buffer))
(kill-buffer (buffer-name buffer))))
(buffer-list)))
(After ;; Kill all test buffers
(when (get-buffer "*mocha tests*")
(kill-buffer "*mocha tests*"))
(kill-j... | (require 'ecukes)
(require 'f)
(defun kill-js-buffers ()
(mapc (lambda (buffer)
(when (f-ext? (or (buffer-file-name buffer) "") "js")
(kill-buffer (buffer-name buffer))))
(buffer-list)))
(After ;; Kill all test buffers
(when (get-buffer "*mocha tests*")
(kill-buffer "*mocha ... | Use `f-ext?` to detect file extensions. | Use `f-ext?` to detect file extensions.
| Emacs Lisp | mit | scottaj/mocha.el |
69361f26cba274f76a80b4a8a238d9e2cb39a617 | setup-files/setup-yafolding.el | setup-files/setup-yafolding.el | ;; Time-stamp: <2014-07-03 11:46:12 kmodi>
;; Yet Another Folding, Folding code blocks based on indentation.
;; Source: https://github.com/zenozeng/yafolding.el
(require 'yafolding)
(add-hook 'prog-mode-hook
(lambda () (yafolding-mode)))
(setq yafolding-ellipsis-content ">>>>>")
(setq setup-yafolding-lo... | ;; Time-stamp: <2014-07-24 22:04:27 kmodi>
;; Yet Another Folding, Folding code blocks based on indentation.
;; Source: https://github.com/zenozeng/yafolding.el
(require 'yafolding)
(add-hook 'prog-mode-hook
(lambda () (yafolding-mode)))
(setq yafolding-ellipsis-content ">>>folded")
(setq setup-yafoldin... | Change string to indicate code folding has happened | Change string to indicate code folding has happened
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
00eb8541a38496d8eaed3aaeac202a4d5fac2bce | lisp/init-rust.el | lisp/init-rust.el | (when (maybe-require-package 'rust-mode)
(when (maybe-require-package 'racer)
(add-hook 'rust-mode-hook #'racer-mode)
(add-hook 'racer-mode-hook #'eldoc-mode)))
(when (maybe-require-package 'flycheck-rust)
(add-hook 'flycheck-mode-hook #'flycheck-rust-setup))
(provide 'init-rust)
| (when (maybe-require-package 'rust-mode)
(when (maybe-require-package 'racer)
(add-hook 'rust-mode-hook #'racer-mode)
(add-hook 'racer-mode-hook #'eldoc-mode))
(when (maybe-require-package 'company)
(add-hook 'racer-mode-hook #'company-mode)))
(when (maybe-require-package 'flycheck-rust)
(add-hook 'f... | Add rust racer autocompletion with company | Add rust racer autocompletion with company
| Emacs Lisp | bsd-2-clause | dcorking/emacs.d |
a1d1cce6fb1112ed5784a38e6bde6bd1ab090be7 | lisp/init-haskell.el | lisp/init-haskell.el | (require-package 'haskell-mode)
;; Use intero for completion and flycheck
(when (maybe-require-package 'intero)
(after-load 'haskell-mode
(intero-global-mode)
(add-hook 'haskell-mode-hook 'eldoc-mode))
(after-load 'intero
;; Don't clobber sanityinc/counsel-search-project binding
(define-key inte... | (require-package 'haskell-mode)
;; Use intero for completion and flycheck
(when (maybe-require-package 'intero)
(after-load 'haskell-mode
(intero-global-mode)
(add-hook 'haskell-mode-hook 'eldoc-mode))
(after-load 'haskell-cabal
(define-key haskell-cabal-mode-map (kbd "C-c C-l") 'intero-restart))
... | Add a binding for `intero-restart' in cabal mode | Add a binding for `intero-restart' in cabal mode
| Emacs Lisp | bsd-2-clause | wegatron/emacs.d,dcorking/emacs.d,kongfy/emacs.d,roxolan/emacs.d,benkha/emacs.d,qianwan/emacs.d,arthurl/emacs.d,blueseason/emacs.d,lust4life/emacs.d,svenyurgensson/emacs.d,emuio/emacs.d,krzysz00/emacs.d,gsmlg/emacs.d,braveoyster/emacs.d,baohaojun/emacs.d,me020523/emacs.d,mmqmzk/emacs.d,kindoblue/emacs.d,cjqw/emacs.d,pu... |
f8c6eff8a5d9866d0a2bc7421df05e0a2332da02 | modules/my-python.el | modules/my-python.el | ;;; my-python.el --- Python settings & customisations -*- lexical-binding: t -*-
;; 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.ap... | ;;; my-python.el --- Python settings & customisations -*- lexical-binding: t -*-
;; 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.ap... | Make anaconda-mode enable automatically, fix autocomplete | Make anaconda-mode enable automatically, fix autocomplete
| Emacs Lisp | apache-2.0 | timanin/emacs.d |
15df04bd91a7dfc5137036536983a6dba99559c9 | 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 'helm-projectile)
(defun ar/helm-projectile-shell-cd ()
"Change shell current working directory using helm projectile."
(interactive)
(unless (string-equal mode-name "Shell... | ;;; ar-helm-projectile.el --- Helm projectile support.
;;; Commentary:
;; Helm projectile helpers.
;;; Code:
(require 'ar-shell)
(require 'cl)
(require 'helm-projectile)
(defun ar/helm-projectile-shell-cd ()
"Change shell current working directory using helm projectile."
(interactive)
(assert (string-equal mo... | Use assert instead of unless and error. | Use assert instead of unless and error.
| Emacs Lisp | bsd-2-clause | xenodium/dotfiles,xenodium/dotfiles |
801aed5cb1bdd1ddcf87ba8368cff364520b871a | snails-backend-rg.el | snails-backend-rg.el | (require 'snails-core)
(require 'exec-path-from-shell)
(exec-path-from-shell-initialize)
(snails-create-async-backend
:name
"RG"
:build-command
(lambda (input)
(when (and (executable-find "rg")
(> (length input) 5))
(let ((project (project-current)))
(when project
(list "rg"... | (require 'snails-core)
(require 'exec-path-from-shell)
(exec-path-from-shell-initialize)
(snails-create-async-backend
:name
"RG"
:build-command
(lambda (input)
(when (and (executable-find "rg")
(> (length input) 5))
(let ((project (project-current)))
(when project
(list "rg"... | Add max-column option for rg backend. | Add max-column option for rg backend.
| Emacs Lisp | mit | leonhe/.emacs.d,leonhe/.emacs.d,leonhe/.emacs.d |
8b1f274e71770e791011f5fd8ce532ff2230fcdb | 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)
;; Don't screw up key bindings in magit-mode
(add-to-list 'wrap-region-except-modes 'magit-mode)
;; Custom wrappers
(wrap-r... | (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... | Add more nice wrappers to wrap-region. | Add more nice wrappers to wrap-region.
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
3d084f910f3d386efad0a1eae6d060767fc4d0fc | layers/mfa-markdown/packages.el | layers/mfa-markdown/packages.el | (defconst mfa-markdown-packages '(flycheck))
(defun mfa-markdown/post-init-flycheck ()
(spacemacs/enable-flycheck 'markdown-mode)
(with-eval-after-load 'flycheck
(flycheck-add-next-checker 'markdown-markdownlint-cli 'proselint)))
| ;; -*- lexical-binding: t -*-
(defconst mfa-markdown-packages '(flycheck
markdown-mode))
(defun mfa-markdown/post-init-flycheck ()
(spacemacs/enable-flycheck 'markdown-mode)
(with-eval-after-load 'flycheck
(flycheck-add-next-checker 'markdown-markdownlint-cli 'proselint)))
(... | Enable auto-fill mode in markdown buffers | Enable auto-fill mode in markdown buffers
| Emacs Lisp | mit | amfranz/spacemacs.d |
37675dfcd674c337f09b93ce6b5372c198b50681 | setup-files/setup-symon.el | setup-files/setup-symon.el | ;; Time-stamp: <2015-04-24 16:45:38 kmodi>
;; Mode-line system monitor
;; https://github.com/zk-phi/symon
(use-package symon
:config
(progn
(setq symon-refresh-rate 4)
(setq symon-delay 5)
(setq symon-sparkline-type 'symon-sparkline-type-plain)
(define-symon-monitor symon-current-date-time-monito... | ;; Time-stamp: <2015-04-25 01:25:58 kmodi>
;; Mode-line system monitor
;; https://github.com/zk-phi/symon
(use-package symon
:config
(progn
(setq symon-sparkline-type 'symon-sparkline-type-plain)
(define-symon-monitor symon-current-date-time-monitor
:interval 60
:display (propertize
... | Remove symon refresh and delay overrides | Minor: Remove symon refresh and delay overrides
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
fa99d82223ea3da809aaa36c94076450d939fda4 | 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... | Remove M-c and M-v bindings under OS X. | Remove M-c and M-v bindings under OS X.
M-v clashes with the default key for scrolling up.
It's arguably better to use the standard yank/kill bindings consistently
within Emacs.
| Emacs Lisp | bsd-2-clause | dcorking/emacs.d,pairyo/emacs.d,jkaessens/emacs.d,blueseason/emacs.d,dhanunjaya/emacs.d,alant/emacs.d,Enzo-Liu/emacs.d,jhpx/emacs.d,shafayetkhan/emacs.d,mpwang/emacs.d,ruiyang/emacs.d,farzadbekran/emacs.d,haodaivshen/emacs.d,caoyuanqi/emacs.d,jachinpy/emacs.d,atreeyang/emacs.d,braveoyster/emacs.d,zhuoyikang/emacs.d,me0... |
88c157e5ee6045576d61a5acfa4798931fd2d823 | site-lisp/clgc-magit.el | site-lisp/clgc-magit.el | (require 'magit)
(setq magit-auto-revert-immediately t
magit-auto-revert-mode t
magit-completing-read-function (quote magit-ido-completing-read)
magit-push-always-verify nil
magit-push-arguments (quote ("--set-upstream"))
magit-save-repository-buffers (quote dontask))
(provide 'clgc-magi... | (require 'magit)
(setq magit-auto-revert-immediately t
magit-auto-revert-mode t
magit-completing-read-function (quote magit-ido-completing-read)
magit-push-always-verify nil
magit-push-arguments (quote ("--set-upstream"))
magit-save-repository-buffers (quote dontask))
;; disable magit-in... | Disable magit-insert-tags due to performance problems | Disable magit-insert-tags due to performance problems
| Emacs Lisp | bsd-3-clause | dgtized/dotfiles,dgtized/dotfiles,dgtized/dotfiles |
04cf436ccd7da5d8980fa5089b2be3053401afdb | setup-files/setup-ivy.el | setup-files/setup-ivy.el | ;; Time-stamp: <2015-06-09 16:59:52 kmodi>
;; Ivy (comes packaged with the `swiper' package)
(use-package ivy
:if (not (bound-and-true-p disable-pkg-ivy))
:config
(progn
;; Disable ido
(when (boundp 'ido)
(ido-mode -1))
;; Enable ivy
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
(u... | ;; Time-stamp: <2015-06-10 13:19:00 kmodi>
;; Ivy (comes packaged with the `swiper' package)
(use-package ivy
:if (not (bound-and-true-p disable-pkg-ivy))
:config
(progn
;; Disable ido
(when (boundp 'ido)
(ido-mode -1))
;; Enable ivy
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)
... | Enable fuzzy search using ivy | Enable fuzzy search using ivy
- Move counsel setup to a separate file
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
68cad0a42660f243976db7171ecbf9540ecf80c6 | init-rails.el | init-rails.el | (dolist (hook '(nxml-mode-hook haml-mode-hook sass-mode-hook magit-mode-hook))
(add-hook hook (lambda () (rinari-launch))))
(defun update-rails-ctags ()
(interactive)
(let ((default-directory (or (rinari-root) default-directory)))
(shell-command (concat "ctags -a -e -f " rinari-tags-file-name " --tag-relative... | (require 'rinari)
(dolist (hook '(nxml-mode-hook haml-mode-hook sass-mode-hook magit-mode-hook))
(add-hook hook (lambda () (rinari-launch))))
(defun update-rails-ctags ()
(interactive)
(let ((default-directory (or (rinari-root) default-directory)))
(shell-command (concat "ctags -a -e -f " rinari-tags-file-na... | Tidy up rails init file | Tidy up rails init file
| Emacs Lisp | bsd-2-clause | zuoshifan/emacs.d,lust4life/emacs.d,ilove0518/emacs.d,baohaojun/emacs.d,pairyo/emacs.d,jachinpy/emacs.d,boblannon/emacs.d,me020523/emacs.d,Togal/emacs.d,zuoshifan/emacs.d,purcell/emacs.d,zenith-john/emacs.d,modkzs/emcs.d,hophacker/emacs.d,zuoshifan/emacs.d,hkcqr/emacs.d,jhpx/emacs.d,YangXin/emacs.d,zhuoyikang/emacs.d,f... |
f29ef99c56c86ddf968162056884b79946d94726 | load/osx.el | load/osx.el | ;; mouse integration
(require 'mwheel)
(if (equal (getenv "TERM_PROGRAM") "iTerm.app")
(require 'mouse) ;; needed for iterm2 compatibility
(progn
(xterm-mouse-mode)
(defvar mouse-wheel-progressive-speed)
(setq mouse-wheel-progressive-speed nil)
(defvar mouse-wheel-scroll-amount)
... | ;; mouse integration
(require 'mwheel)
(if (equal (getenv "TERM_PROGRAM") "iTerm.app")
(progn
(require 'mouse) ;; needed for iterm2 compatibility
(message
"********************************************************************************")
(message "HERE")
(message
"***********... | Fix mouse support load bug | Fix mouse support load bug
| Emacs Lisp | mit | kaidadragonfly/.emacs |
421b49c7e590ca9233474995e3fd5534b2eb8e11 | layers/+lang/octave/packages.el | layers/+lang/octave/packages.el | ;;; packages.el --- Octave Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; Licens... | ;;; packages.el --- Octave Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; Licens... | Change octave-mode keys to mirror other modes. | Change octave-mode keys to mirror other modes.
The keybindings in octave-mode don't follow the same standards as the
others. Also use the function `spacemacs/set-leader-keys-for-major-mode`
for setting mode specific keys.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
6055ea9ec719129c51e6e7ba4db85f78ae0de931 | layers/restclient/packages.el | layers/restclient/packages.el | (setq restclient-packages
'(
restclient
)
)
(defun restclient/init-restclient ()
(use-package restclient
:mode ("\\.http\\'" . restclient-mode)
:defer t
:init
(progn
(defun restclient-http-send-current-raw-stay-in-window ()
(interactive)
(restclient-http-send-curren... | (setq restclient-packages
'(
restclient
)
)
(defun restclient/init-restclient ()
(use-package restclient
:mode ("\\.http\\'" . restclient-mode)
:defer t
:init
(progn
(defun restclient-http-send-current-raw-stay-in-window ()
(interactive)
(restclient-http-send-curren... | Fix trailing whitespaces in last commit | Fix trailing whitespaces in last commit
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
4c387b5e3426f5bbddbbf3054961a2b45a3a27bc | lisp/init-flycheck.el | lisp/init-flycheck.el | (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)
| (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)
(after-load 'flycheck
(flyc... | Add ruby flycheck checker locally until it is restored upstream | Add ruby flycheck checker locally until it is restored upstream
| Emacs Lisp | bsd-2-clause | ruiyang/emacs.d,jhpx/emacs.d,Jadecity/PurcellEmacs.d,zhuoyikang/emacs.d,farzadbekran/emacs.d,emuio/emacs.d,whizzzkid/emacs.d,bibaijin/emacs.d,blueabysm/emacs.d,renatoriccio/emacs.d,jkaessens/emacs.d,46do14/emacs.d,arthurl/emacs.d,jachinpy/emacs.d,purcell/emacs.d,danfengcao/emacs.d,dcorking/emacs.d,pairyo/emacs.d,fengxl... |
1825fe319b35e672bfadcb284fb7aa587766868e | 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... | Stop ansi-color-apply from exploding over *messages* buffer | Stop ansi-color-apply from exploding over *messages* buffer
| Emacs Lisp | bsd-3-clause | dgtized/dotfiles,dgtized/dotfiles,dgtized/dotfiles |
d9901b6abf37e8c4cefc9ee0bf6dc61c37fe387a | elisp/web-programming.el | elisp/web-programming.el | ;;; web-programming.el --- Web programming configuration.
;;; Commentary:
;;; Code:
(use-package web-mode
:ensure t
:commands (web-mode)
:mode
(("\\.phtml\\'" . web-mode)
("\\.tpl\\.php\\'" . web-mode)
("\\.[agj]sp\\'" . web-mode)
("\\.as[cp]x\\'" . web-mode)
("\\.erb\\'" . web-mode)
("\\.mustac... | ;;; web-programming.el --- Web programming configuration.
;;; Commentary:
;;; Code:
(use-package web-mode
:ensure t
:commands (web-mode)
:mode
(("\\.phtml\\'" . web-mode)
("\\.tpl\\.php\\'" . web-mode)
("\\.[agj]sp\\'" . web-mode)
("\\.as[cp]x\\'" . web-mode)
("\\.erb\\'" . web-mode)
("\\.mustac... | Add paren matching for curly braces for js in web mode | Add paren matching for curly braces for js in web mode
| Emacs Lisp | mit | anachronic/emacs.d,anachronic/emacs.d |
bd20afdb190199c6876db49c62386d0617d6e312 | emacs/tomku-aesthetic.el | emacs/tomku-aesthetic.el | (tool-bar-mode -1) ; Hide toolbar
(set-scroll-bar-mode 'right) ; Scrollbar on right
(setq inhibit-startup-screen t) ; Hide startup screen
;; Solarized looks great in GUI, but terrible in the console.
(when window-system
(load-theme 'solarized-dark t))
;; Change the default... | (tool-bar-mode -1) ; Hide toolbar
(set-scroll-bar-mode 'right) ; Scrollbar on right
(setq inhibit-startup-screen t) ; Hide startup screen
;; Solarized looks great in GUI, but terrible in the console.
(setq solarized-use-variable-pitch nil
solarized-scale-org-headlines nil... | Make org-mode in Emacs less ugly with Solarized. | Make org-mode in Emacs less ugly with Solarized.
| Emacs Lisp | mit | tomku/dotfiles,tomku/dotfiles,tomku/dotfiles |
a253f5ebf051f4e76401ccf3951322be18a0d0bb | emacs/emacs.d/my-region-bindings-mode.el | emacs/emacs.d/my-region-bindings-mode.el | (require 'region-bindings-mode)
(region-bindings-mode-enable)
| (require 'region-bindings-mode)
(region-bindings-mode-enable)
(add-to-list 'region-bindings-mode-disable-predicates
'minibufferp)
| Disable region bindings in minibuffer | Disable region bindings in minibuffer
| Emacs Lisp | mit | sri/dotfiles,sri/dotfiles,sri/dotfiles |
ca6879676ba5588e7659589ecd187e25d877ea2d | lisp/init-ivy.el | lisp/init-ivy.el | (when (maybe-require-package 'ivy)
(after-load 'ivy
(setq-default ivy-use-virtual-buffers t
ivy-count-format ""
projectile-completion-system 'ivy)
;; IDO-style directory navigation
(define-key ivy-minibuffer-map (kbd "C-j") #'ivy-immediate-done)
(define-key ivy-mini... | (when (maybe-require-package 'ivy)
(after-load 'ivy
(setq-default ivy-use-virtual-buffers t
ivy-count-format ""
projectile-completion-system 'ivy
ivy-initial-inputs-alist
'((man . "^")
(woman . "^")))
;; IDO-style dire... | Remove initial "^" input from most ivy prompts | Remove initial "^" input from most ivy prompts
| Emacs Lisp | bsd-2-clause | roxolan/emacs.d,dcorking/emacs.d,cjqw/emacs.d,sgarciac/emacs.d,arthurl/emacs.d,cyjia/emacs.d,me020523/emacs.d,benkha/emacs.d,kongfy/emacs.d,lust4life/emacs.d,emuio/emacs.d,braveoyster/emacs.d,gsmlg/emacs.d,mmqmzk/emacs.d,purcell/emacs.d,blueabysm/emacs.d,blueseason/emacs.d,kindoblue/emacs.d,qianwan/emacs.d,svenyurgenss... |
dc88e83fb6842fd6cc8a0d3c4ed87c4758de5c51 | lisp/init-php.el | lisp/init-php.el | (when (maybe-require-package 'php-mode)
(maybe-require-package 'smarty-mode))
(provide 'init-php)
| (when (maybe-require-package 'php-mode)
(maybe-require-package 'smarty-mode)
(when (maybe-require-package 'company-php)
(after-load 'company
(add-hook 'php-mode-hook
(lambda () (sanityinc/local-push-company-backend 'company-ac-php-backend))))))
(provide 'init-php)
| Add company-php for PHP auto-complete | Add company-php for PHP auto-complete
| Emacs Lisp | bsd-2-clause | sgarciac/emacs.d,kongfy/emacs.d,arthurl/emacs.d,krzysz00/emacs.d,wegatron/emacs.d,emuio/emacs.d,lust4life/emacs.d,purcell/emacs.d,cjqw/emacs.d,gsmlg/emacs.d,blueseason/emacs.d,benkha/emacs.d,kindoblue/emacs.d,braveoyster/emacs.d,me020523/emacs.d,dcorking/emacs.d,baohaojun/emacs.d,mmqmzk/emacs.d,svenyurgensson/emacs.d,b... |
a0ffc38117f0106bb9a6e278a4d93618b09e83f4 | modules/emacs/eshell/autoload/settings.el | modules/emacs/eshell/autoload/settings.el | ;;; emacs/eshell/autoload/settings.el -*- lexical-binding: t; -*-
;;;###autodef
(defun set-eshell-alias! (&rest aliases)
"Define aliases for eshell."
(or (cl-evenp (length aliases))
(signal 'wrong-number-of-arguments (list 'even (length aliases))))
(after! eshell
(while aliases
(setf (alist-get (... | ;;; emacs/eshell/autoload/settings.el -*- lexical-binding: t; -*-
;;;###autodef
(defun set-eshell-alias! (&rest aliases)
"Define aliases for eshell."
(or (cl-evenp (length aliases))
(signal 'wrong-number-of-arguments (list 'even (length aliases))))
(after! eshell
(while aliases
(setf (alist-get (... | Fix listp errors in eshell when using aliases | Fix listp errors in eshell when using aliases
| Emacs Lisp | mit | hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doo... |
8799b617bbe110f9885e98a9d51c7f8c80ed586d | 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 latex plugin in emacs-doom | Enable latex plugin in emacs-doom
| Emacs Lisp | mit | mpardalos/dotfiles,mpardalos/dotfiles |
e2e1fe515e53644eae53e5b5956a30bcf5b1f141 | layers/+tools/wakatime/packages.el | layers/+tools/wakatime/packages.el | (setq wakatime-packages '(wakatime-mode))
(defun wakatime/init-wakatime-mode ()
(use-package wakatime-mode
:defer t
:init (add-hook 'prog-mode-hook 'wakatime-mode)))
| (setq wakatime-packages '(wakatime-mode))
(defun wakatime/init-wakatime-mode ()
(use-package wakatime-mode
:defer t
:init
(add-hook 'prog-mode-hook 'wakatime-mode)
:config
(defun spacemacs/wakatime-dashboard ()
(interactive)
(browse-url "wakatime.com/dashboard"))
(evil-leader/set-... | Add config phase to Wakatime | Add config phase to Wakatime
This Adds the `spacemacs/wakatime-dashboard` function which opens the
dashboard in the browser.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
32ce1c6f9ed136e86a27d6893625b58faeeb8927 | emacs/elisp/elisp-practice.el | emacs/elisp/elisp-practice.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.
| 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.
| Clean out elisp practise file. | Clean out elisp practise file.
| Emacs Lisp | mit | shaunashby/Desktop-Env,shaunashby/Desktop-Env,shaunashby/Desktop-Env,shaunashby/Desktop-Env |
afe0422471cb25078cede64bf699d4a25acf4775 | doom-emacs/.doom.d/packages.el | doom-emacs/.doom.d/packages.el | ;; -*- no-byte-compile: t; -*-
;;; ~/.doom.d/packages.el
;;; Examples:
;; (package! some-package)
;; (package! another-package :recipe (:fetcher github :repo "username/repo"))
;; (package! builtin-package :disable t)
(package! cider
:recipe (:fetcher github
:repo "clojure-emacs/cider"
:commit "... | ;; -*- no-byte-compile: t; -*-
;;; ~/.doom.d/packages.el
;;; Examples:
;; (package! some-package)
;; (package! another-package :recipe (:fetcher github :repo "username/repo"))
;; (package! builtin-package :disable t)
(package! flymd)
(package! lispyville)
(package! sort-words)
(package! uuidgen)
(package! xterm-color)... | Remove cider and clj-refactor pins | doom-emacs: Remove cider and clj-refactor pins
| Emacs Lisp | mit | m45t3r/dotfiles,m45t3r/dotfiles,m45t3r/dotfiles |
d57588771fd3263846f0e91ce72c79e64316c65d | modules/tools/deft/config.el | modules/tools/deft/config.el | ;;; tools/deft/config.el -*- lexical-binding: t; -*-
(def-package! deft
:commands deft
:init
(setq deft-extensions '("org" "md" "tex" "txt")
deft-default-extension "org"
;; de-couples filename and note title:
deft-use-filename-as-title nil
deft-use-filter-string-for-filename t
... | ;;; tools/deft/config.el -*- lexical-binding: t; -*-
(def-package! deft
:commands deft
:init
(setq deft-extensions '("org" "md" "tex" "txt")
deft-default-extension "org"
;; de-couples filename and note title:
deft-use-filename-as-title nil
deft-use-filter-string-for-filename t
... | Use set-evil-initial-state! instead of a hook | Use set-evil-initial-state! instead of a hook | Emacs Lisp | mit | hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/e... |
a57e5316541940368ac2135ca54bde9f8772c964 | emacs.d/personal/settings/multiple-cursors.el | emacs.d/personal/settings/multiple-cursors.el | (require 'multiple-cursors)
(smartrep-define-key global-map "C-l v" '(("n" . 'mc/mark-next-lines)
("p" . 'mc/mark-previous-lines)
(">" . 'mc/mark-next-like-this)
("<" . 'mc/mark-previous-like-t... | (require 'multiple-cursors)
(smartrep-define-key global-map "C-l v" '(("n" . 'mc/mark-next-lines)
("p" . 'mc/mark-previous-lines)
(">" . 'mc/mark-next-like-this)
("<" . 'mc/mark-previous-like-t... | Add some functions to the multiple cursors lists | Add some functions to the multiple cursors lists
| Emacs Lisp | mit | caleb/dotfiles,caleb/dotfiles,caleb/dotfiles |
e6192e9e662ba161fd95a32e8fda8a2bc87863f8 | elisp/setup-help.el | elisp/setup-help.el | ;;; setup-help.el --- Help enhancements.
;;; Commentary:
;;; Code:
;; I use `describe-face' quite often, I'd really like a key for it
(define-key help-map (kbd "C-f") nil)
(define-key help-map (kbd "C-f") #'counsel-describe-face)
;; Command-log is useful sometimes, but let's not autoinstall as it
;; will only slow fi... | ;;; setup-help.el --- Help enhancements.
;;; Commentary:
;;; Code:
;; I use `describe-face' quite often, I'd really like a key for it
(define-key help-map (kbd "C-f") nil)
(define-key help-map (kbd "C-f") #'counsel-describe-face)
;; Move help to leader rather than C-h
(evil-leader/set-key "h"
help-map)
;; Command-... | Move help-map to SPC h instead of C-h | Move help-map to SPC h instead of C-h
| Emacs Lisp | mit | anachronic/emacs.d,anachronic/emacs.d |
bef0554d3a06a4d51eac7d90c1f0bafe2bf1aa89 | init.el | init.el | ;; Set some variables based on environment
;; Are we on a mac?
(setq is-mac (equal system-type 'darwin))
;; Turn off mouse interface early in startup to avoid momentary display
;;;; Do show menu bar (running as cocoa app)
;;;; TODO turn of menu bar when running emacs from terminal
;;(if (fboundp 'menu-bar-mode) (menu-... | ;; Set some variables based on environment
;; Are we on a mac?
(setq is-mac (equal system-type 'darwin))
;; Turn off mouse interface early in startup to avoid momentary display
;;;; Do show menu bar (running as cocoa app)
;;;; TODO turn of menu bar when running emacs from terminal
;;(if (fboundp 'menu-bar-mode) (menu-... | Use var for load path | Use var for load path
| Emacs Lisp | unlicense | jeroentbt/.emacs.d |
4a6b10ac53ba76994a3139b07f1a905fe6f561e0 | layers/mfa-dired/packages.el | layers/mfa-dired/packages.el | (defconst mfa-dired-packages '(dired-narrow))
(defun mfa-dired/init-dired-narrow ()
(use-package dired-narrow
:defer t
:init
(spacemacs/set-leader-keys-for-major-mode 'dired-mode "/" #'dired-narrow)))
| (defconst mfa-dired-packages '(dired-narrow dired))
(defun mfa-dired/init-dired-narrow ()
(use-package dired-narrow
:defer t
:init
(spacemacs/set-leader-keys-for-major-mode 'dired-mode "/" #'dired-narrow)))
(defun mfa-dired/post-init-dired ()
(spacemacs|use-package-add-hook dired
:post-config
... | Remove vinegar key binding for directory up to avoid dired buffer being killed | Remove vinegar key binding for directory up to avoid dired buffer being killed
| Emacs Lisp | mit | amfranz/spacemacs.d |
ce8c0833c72d4e9d8f69a444826961393cfba5ea | .dir-locals.el | .dir-locals.el | ((nil . ((projectile-project-compilation-cmd "npm --no-color --no-progress --no-spin install")
(projectile-project-test-cmd "node bin/jasmine --no-color")
(projectile-project-run-cmd "node bin/server.js"))))
| ((nil . ((pjones-project-compile-cmd "npm --no-color --no-progress --no-spin install")
(pjones-project-test-cmd "node bin/jasmine --no-color")
(pjones-project-run-cmd "node bin/server.js"))))
| Change how Emacs runs various commands for this repo | Change how Emacs runs various commands for this repo
| Emacs Lisp | bsd-2-clause | rm-training/advanced-js,rm-training/advanced-js |
aa49a0f64626969afb56a0722b9d37c5f384debc | sample/prelude-modules.el | sample/prelude-modules.el | ;;; Uncomment the modules you'd like to use and restart Prelude afterwards
(require 'prelude-ido) ;; Super charges Emacs completion for C-x C-f and more
;; (require 'prelude-helm) ;; Interface for narrowing and search
(require 'prelude-company)
(require 'prelude-c)
;; (require 'prelude-clojure)
;; (require 'prelude-c... | ;;; 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-company)
;; (require 'prelude-key-chord)... | Reorder a bit default module config | Reorder a bit default module config
| Emacs Lisp | mit | pramukta/emacs.d,pramukta/emacs.d,gihankarunarathne/Nunoboko,blowery/dot-emacs,oldfartdeveloper/emacsd,pramukta/emacs.d |
14e79324ad07183f39bdc2d55f364f010baf6b75 | emacs/emacs.d/my-terminal.el | emacs/emacs.d/my-terminal.el | (load-theme 'spacemacs-dark)
(face-spec-set 'hl-line '((t (:background "color-236" :inherit nil))))
;; (xterm-mouse-mode)
| (load-theme 'spacemacs-dark)
(set-face-background 'lazy-highlight "#29422d")
(face-spec-set 'hl-line '((t (:background "color-236" :inherit nil))))
;; (xterm-mouse-mode)
| Fix for spacemacs dark theme on terminals | Fix for spacemacs dark theme on terminals
| Emacs Lisp | mit | sri/dotfiles,sri/dotfiles,sri/dotfiles |
486bab7deccc576ffcc937859bc87974c112c78e | init-org.el | init-org.el | ;;; init-org.el --- inits Emacs for Org-mode and writing
;;
;; This orgfile is sourced instead of init.el for instances of Emacs dedicated for
;; writing fiction, papers, or simply org-mode. I prefer to keep this functionality
;; separate from stock Emacs.
;;
;;;
(defconst EMACS-WRITE t)
(defconst narf-theme 'narf-li... | Add basic alternative init file | Add basic alternative init file
| Emacs Lisp | mit | hlissner/.emacs.d,aminb/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,keoko/.emacs.d,aminb/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,keoko/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,aminb/.emacs.d,aminb/.emacs.d,keoko/.emacs.d,aminb/.emacs.d,hlissner/.emacs.d,hlissner/d... | |
f7625a375bce96f995d27460cbcca14f521263ea | topfunky-js.el | topfunky-js.el | ;; DESCRIPTION:
;; Useful patterns for using the ido menu with Javascript files.
;;
;; AUTHOR:
;; Geoffrey Grosenbach http://peepcode.com
;;
;; Matches things like:
;;
;; function bacon() {} // Standard function
;; getJSON: function () {} // Function as a key in a hash
;; this.post = function () {} ... | ;; DESCRIPTION:
;; Useful patterns for using the ido menu with Javascript files.
;;
;; AUTHOR:
;; Geoffrey Grosenbach http://peepcode.com
;;
;; Matches things like:
;;
;; function bacon() {} // Standard function
;; getJSON: function () {} // Function as a key in a hash
;; this.post = function () {} ... | Make JS function pattern more lenient instead of expecting Crockford style. | Make JS function pattern more lenient instead of expecting Crockford style.
| Emacs Lisp | mit | lstoll/dotfiles,lstoll/dotfiles,lstoll/dotfiles,lstoll/repo,lstoll/repo,lstoll/repo |
f2adc6579fabdd81f02c13be18f2fd57b2416b74 | dotfiles/emacs/.doom.d/modules/editor/open-containing-dir/config.el | dotfiles/emacs/.doom.d/modules/editor/open-containing-dir/config.el | ;;; editor/open-containing-dir/config.el -*- lexical-binding: t; -*-
(defvar external-file-manager "xdg-open"
"Process that should be called to open an external file manager.")
(defun open-containing-dir ()
"Open the containing directory of the current buffer in a file manager.
Uses the executable `external-file... | Allow opening external file manager | [emacs] Allow opening external file manager
| Emacs Lisp | bsd-3-clause | ggazzi/linux-configs | |
c2e1dca062d46bace59e19906123b571b0919c11 | .dir-locals.el | .dir-locals.el | ;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((emacs-lisp-mode
(bug-reference-url-format . "https://github.com/clojure-emacs/sayid/issues/%s")
(bug-reference-bug-regexp . "#\\(?2:[[:digit:]]+\\)")
(indent-tabs-mode . nil)
(fill-column . 80)
(sentence-end-dou... | Set some common defaults for emacs-lisp-mode and clojure-mode | Set some common defaults for emacs-lisp-mode and clojure-mode
This should ensure the code style stays consistent (at least when the
contributors are using Emacs).
| Emacs Lisp | unknown | bpiel/sayid,bpiel/mem-tracer | |
35e2f1788e795531a5be24f4fe9ff61511066557 | elisp/tests/hare-tests.el | elisp/tests/hare-tests.el | ;;; hare-tests.el ---
;; Copyright (c) 2015 Gracjan Polak. All rights reserved.
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; ... | Add first (empty) test case for elisp code | Add first (empty) test case for elisp code
| Emacs Lisp | bsd-3-clause | SAdams601/HaRe,RefactoringTools/HaRe,kmate/HaRe,RefactoringTools/HaRe,RefactoringTools/HaRe,SAdams601/HaRe,kmate/HaRe,SAdams601/HaRe,kmate/HaRe | |
0090dd9494cf00bf4764c003c77c2d6ba4d78bc1 | modules/femacs-osx.el | modules/femacs-osx.el | ;;; femacs-osx.el --- OS X Specific configuration
;;
;; Copyright © 2016 Anurag Mishra
;;
;; Author: Anurag Mishra
;; URL: https://github.com/anuragm/emacs-fast
;; Version: 1.0.0
;; Keywords: convenience
;; This file is not part of GNU Emacs.
;;; Commentary:
;; Configures OS X.
;;; License:
;; Copyright (c) 2016 A... | Add OS X specific changes | Add OS X specific changes
| Emacs Lisp | mit | anuragm/emacs-fast | |
98faf54947f4d7044b1c0f1467720b13ccdb8b1f | custom/100-exwm.el | custom/100-exwm.el | ;; Add paths (not required if EXWM is installed from GNU ELPA)
(add-to-list 'load-path "~/.emacs.d/elpa/xelb-0.6/")
(add-to-list 'load-path "~/.emacs.d/elpa/exwm-0.4/")
(add-to-list 'load-path "~/.emacs.d/elpa/cl-generic-0.2/")
;; Load EXWM
(require 'exwm)
(require 'exwm-config)
(exwm-config-default)
| Add a new file for exwm customisations | Add a new file for exwm customisations
Emacs X Windows Manager
| Emacs Lisp | mit | map7/emacs-config,map7/emacs-config,map7/emacs-config | |
24901912cd8c23d32e8263467fbdf03f771b6f9c | emacs/lisp/30-paredit.el | emacs/lisp/30-paredit.el | (use-package paredit
:init
(progn
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
(add-hook 'eval-expression-minibuffer-setup-hook 'paredit-mode)
(add-hook 'ielm-mode-hook 'paredit-mode)
(add-hook 'lisp-mode-hook 'paredit-mode)
(add-hook 'lisp-interaction-mode-hook 'paredit-mode)
(add-hook 's... | Enable paredit-mode for lisp-like modes. | Enable paredit-mode for lisp-like modes.
| Emacs Lisp | mit | skk/dotfiles,skk/dotfiles | |
e41a57f4bb22a4161baf4ec11d9158e0cd7b6d97 | .emacs.d/.mc-lists.el | .emacs.d/.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
'(
ng/C-k
ng/C-w
ng/end
ng/home
))
(setq mc/cmds-to-run-once
'(
))
| Add multiple cursor run-once run-all file | Add multiple cursor run-once run-all file
| Emacs Lisp | mit | nguerrera/.dot | |
75afc03146f25e50cbb75809625a992bfd842a06 | .dir-locals.el | .dir-locals.el | ;;; Directory Local Variables
;;; See Info node `(emacs) Directory Variables' for more information.
((nil
(tab-width . 2)
(c-file-style . "swift")
(eval .
(unless (featurep 'swift-mode)
(load-library
(concat
(let ((dlff (dir-locals-find-file default-directory)))
... | Add project directory local variables for Emacs users | Add project directory local variables for Emacs users
I've been carrying this file around in my working copy for months now;
it makes sure you have swift-mode loaded for .swift files and sets up
cc-mode for editing Swift's ObjC++ files in our project's style.
Swift SVN r10641
| Emacs Lisp | apache-2.0 | tardieu/swift,aschwaighofer/swift,stephentyrone/swift,karwa/swift,JaSpa/swift,frootloops/swift,manavgabhawala/swift,therealbnut/swift,russbishop/swift,frootloops/swift,amraboelela/swift,jopamer/swift,hooman/swift,gregomni/swift,zisko/swift,modocache/swift,harlanhaskins/swift,danielmartin/swift,deyton/swift,kstaring/swi... | |
2c92b986600a081566235a989693c0bc0946e800 | modules/lang/femacs-python.el | modules/lang/femacs-python.el | ;;; femacs-python.el --- Support for Python programming
;;
;; Copyright © 2018 Anurag Mishra
;;
;; Author: Anurag Mishra
;; URL: https://github.com/anuragm/emacs-fast
;; Version: 1.0.0
;; Keywords: convenience
;; This file is not part of GNU Emacs.
;;; Commentary:
;; Adds support for Python programming language usin... | Add support for Python and Jupyter | Add support for Python and Jupyter
| Emacs Lisp | mit | anuragm/emacs-fast | |
3c412ad35c77674631cee5ff81a4549f55eefc8a | elfeed-link.el | elfeed-link.el | ;;; elfeed-link.el --- misc functions for elfeed -*- lexical-binding: t; -*-
;; This is free and unencumbered software released into the public domain.
;;; Commentary:
;; Code for integration with org-mode.
;; To use, add (require 'elfeed-link) somewhere in your configuration.
;;; Code:
(require 'elfeed-db)
(requ... | Add support for org links. | Add support for org links.
| Emacs Lisp | unlicense | skeeto/elfeed,seblemaguer/elfeed,skeeto/elfeed,emacsmirror/elfeed,seblemaguer/elfeed,emacsmirror/elfeed | |
29c0d49da0c8ac453bf850de94dfe7aed9e9f6a6 | el/connect-is.el | el/connect-is.el | ;; -*-no-byte-compile: t; -*-
(defun connect-is(host port)
(interactive "sHost: \nnPort: ")
(telnet host port)
(let* ((buf (current-buffer))
(state :start)
(proc (get-buffer-process buf)))
(when proc
(telnet-simple-send proc "TELNET"))
;;search for CL-USER(2) before sending data
(while (not... | Connect to a running IS | Connect to a running IS
| Emacs Lisp | mit | Planisware/plw-devenv,Planisware/plw-devenv | |
a739118e96872ee7c8eaa314940cdbea69404a40 | layers/tramp-custom/tramp-init.el | layers/tramp-custom/tramp-init.el | (use-package tramp
:init (setq tramp-ssh-controlmaster-options
"-o ControlMaster=auto -o ControlPath='tramp.%%C' -o ControlPersist=no"))
(provide 'tramp-init)
| Remove ox-wk as it seems broken. Add Tramp init as it is now needed for ssh changes. | Remove ox-wk as it seems broken. Add Tramp init as it is now needed for ssh changes.
| Emacs Lisp | mit | timotheosh/dotemacs | |
3bf15baaf40e0440d11c0709b20618ae414b99a8 | init-package/init-google-translate.el | init-package/init-google-translate.el | (require 'google-translate)
(setq google-translate-enable-ido-completion t)
(setq google-translate-default-source-language "En")
(setq google-translate-default-target-language "Fr")
| Add google translate init file | Add google translate init file
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs | |
a9903883e987c6c68091421f5947a82fa7eb548a | home/.emacs.d/personal/personal-org.el | home/.emacs.d/personal/personal-org.el | (defun personal-org-mode-defaults ()
(setq org-alphabetical-lists t))
(add-hook 'org-mode-hook 'personal-org-mode-defaults)
(provide 'personal-org)
| Allow alphabetical lists in org-mode | Allow alphabetical lists in org-mode
| Emacs Lisp | mit | marknsikora/dotfiles | |
eaa588dfaf02a9d14f339461bb7091b3b67d36a0 | packages.d/init-auto-complete.el | packages.d/init-auto-complete.el | (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(require 'auto-complete-config)
(ac-config-default)
(define-key ac-mode-map (kbd "M-TAB") 'auto-complete)
| (require 'auto-complete-config)
(ac-config-default)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(define-key ac-mode-map (kbd "M-TAB") 'auto-complete)
| Fix order issue for AC setup | Fix order issue for AC setup
| Emacs Lisp | mit | lstoll/dotfiles,lstoll/repo,lstoll/dotfiles,lstoll/dotfiles,lstoll/repo,lstoll/repo |
6db095e2aadd7a0e8ec958bf370dcbb5eb61f640 | mocha.el | mocha.el | ;;; Package --- Summary:
;;; Summary:
;;; Commentary:
;;; Code:
(defvar mocha-command "mocha")
(defvar mocha-environment-variables nil)
(defvar mocha-reporter "dot")
(defvar mocha-options nil)
(defvar mocha-project-test-directory nil)
(defun mocha-test-project ()
"Test the current project."
nil)
(defun moc... | Add file and spike out basic interface. | Add file and spike out basic interface.
| Emacs Lisp | mit | scottaj/mocha.el | |
5af6d64a7809d6b9dccc3a14ad920a70671b45df | elisp/runfiles/test-lib.el | elisp/runfiles/test-lib.el | ;;; test-lib.el --- test library for runfiles test -*- lexical-binding: t; -*-
;; Copyright 2021 Google LLC
;;
;; 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
;;
;; https://www.apache... | Check in forgotten test data file | Check in forgotten test data file
| Emacs Lisp | apache-2.0 | phst/rules_elisp,phst/rules_elisp,phst/rules_elisp,phst/rules_elisp,phst/rules_elisp | |
d9e3f4ccd6e7c06ad6d2d18cc2daf18b2e343770 | modules/lang/femacs-elisp.el | modules/lang/femacs-elisp.el | ;;; femacs-elisp.el --- Support for editing Emacs lisp files.
;;
;; Copyright © 2016 Anurag Mishra
;;
;; Author: Anurag Mishra
;; URL: https://github.com/anuragm/emacs-fast
;; Version: 1.0.0
;; Keywords: convenience
;; This file is not part of GNU Emacs.
;;; Commentary:
;; Adds useful modes and enables fly-check
;;... | Add support for Emacs lisp mode | Add support for Emacs lisp mode
| Emacs Lisp | mit | anuragm/emacs-fast | |
4574ab603e82958c49fb24d6b2ed04a9300d3c87 | emacs/improviz-mode.el | emacs/improviz-mode.el | (defvar improviz-mode-hook nil)
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.pz\\'" . improviz-mode))
(defun improviz-mode ()
"Major mode for Improviz editing"
(interactive)
(general-nvmap
:prefix ","
"e" 'send-improviz-program
))
(defun send-improviz-program ()
(interactive)
(request
"ht... | Add basic emacs mode to use for sending stuff | Add basic emacs mode to use for sending stuff
| Emacs Lisp | bsd-3-clause | rumblesan/improviz,rumblesan/improviz | |
de8d504faf5ec22d8d25086d4ccfd9824492a297 | .dir-locals.el | .dir-locals.el | ;;; Directory Local Variables
;;; See Info node `(emacs) Directory Variables' for more information.
((emacs-lisp-mode
(sentence-end-double-space . t)
(eval flycheck-mode)
(eval checkdoc-minor-mode)))
;; Local Variables:
;; mode: fundamental
;; End:
| Configure some variables in emacs-lisp-mode | Configure some variables in emacs-lisp-mode
| Emacs Lisp | mit | emacsmirror/pillar | |
29ad7e3bb82a411af83afecd68c8d0386ff30b73 | user-lisp/makefile-customisations.el | user-lisp/makefile-customisations.el | (require 'make-mode)
(define-key makefile-mode-map (kbd "M-n") #'highlight-symbol-next)
(define-key makefile-mode-map (kbd "M-p") #'highlight-symbol-next)
| Use my usual highlight-symbol keybindings in Makefiles. | Use my usual highlight-symbol keybindings in Makefiles.
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d | |
d6c1fb340c8377c78d2e74be94a9006dc2d98572 | users/fimasvee/my-defuns.el | users/fimasvee/my-defuns.el | (defun wte--unique-filename (stub &optional index)
(setq index (or index 1))
(let ((filename (concat "~/projects/what-the-emacsd/posts/"
stub
".el"
(if (< index 10) "-0" "-")
(number-to-string index)
... | Add defun to create new what-the-emacsd blogpost | Add defun to create new what-the-emacsd blogpost
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d | |
af7450cd0e5c09eb381f5b6a8ee48c85ba907ecb | modules/lang/latex/+latexmk.el | modules/lang/latex/+latexmk.el | ;;; lang/latex/+latexmk.el -*- lexical-binding: t; -*-
;;;###if (featurep! +latexmk)
(def-package! auctex-latexmk
:after-call (latex-mode-hook LaTeX-mode-hook)
:init
;; Pass the -pdf flag when TeX-PDF-mode is active
(setq auctex-latexmk-inherit-TeX-PDF-mode t)
;; Set LatexMk as the default
(setq-hook! LaTe... | Move latexmk setup into seperate file | Move latexmk setup into seperate file
| Emacs Lisp | mit | UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-... | |
b1699e0cb7e6522835031d4b6ca6db032177e338 | emacs.d/elisp/terminal_mode.el | emacs.d/elisp/terminal_mode.el | ;;; Backup files
(setq make-backup-files nil) ; stop creating backup~ files
(setq auto-save-default nil) ; stop creating #autosave# files
;;; Enable matching parenthesis
(show-paren-mode)
;;; Open all files in read-only mode
(add-hook 'find-file-hook
'(lambda ()
(when (and (buffer-file-name)
... | Add customizations to start emacs in terminal mode | Add customizations to start emacs in terminal mode
| Emacs Lisp | apache-2.0 | raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles | |
03d42b0c5a81990a4444228e0e1fd33e0f252129 | .dir-locals.el | .dir-locals.el | ;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((cider-repl-mode
(cider-refresh-before-fn . "comic-reader.system/stop"))
(clojure-mode
(cider-refresh-before-fn . "comic-reader.system/stop")))
| Add emacs dir local variables for refreshing | Add emacs dir local variables for refreshing
| Emacs Lisp | epl-1.0 | RadicalZephyr/comic-reader,RadicalZephyr/comic-reader | |
2186f726f64aedaf9a0eb848d8fafebf28548ff6 | 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 new init file for haml/sass | Add new init file for haml/sass
| Emacs Lisp | bsd-2-clause | jthetzel/emacs.d,Jadecity/PurcellEmacs.d,YangXin/emacs.d,ruiyang/emacs.d,exclamaforte/emacs.d,dongdonghu/.emacs.d,Shanicky/emacs.d,haodaivshen/emacs.d,alant/emacs.d,bibaijin/emacs.d,pairyo/emacs.d,carlosliu/emacs.d,zuoshifan/emacs.d,cyjia/emacs.d,lromang/emacs.d,arthurl/emacs.d,gsmlg/emacs.d,baohaojun/emacs.d,jhpx/emac... | |
0150aca2136a77f04466ab77859de565aa86068f | emacs/personal/hive-mode.el | emacs/personal/hive-mode.el | ;;A simple Hive mode for emacs derived from SQL mode.
;;Define regex for various classes of hive keywords
(setq hive-constants '("null"))
(setq hive-constants-regex (regexp-opt hive-constants 'words))
(setq hive-constants nil)
(setq hive-datatypes '("tinyint" "smallint" "int" "bigint" "boolean" "float" "double" "stri... | Add hive mode to emacs | Add hive mode to emacs
| Emacs Lisp | mit | aviscasillas/dotfiles,aviscasillas/dotfiles,aviscasillas/dotfiles | |
8fa8b4378ac13fa0ed0196e8dd1a5c642a8049d7 | .dir-locals.el | .dir-locals.el | (
(c++-mode . ((fill-column . 80)
(indent-tabs-mode . nil)))
(c-mode . ((fill-column . 80)
(indent-tabs-mode . nil)))
(python-mode . ((fill-column . 80)
(tab-width . 2)
(indent-tabs-mode . nil)))
)
| Make life a little easier for emacs users. | Subzero: Make life a little easier for emacs users.
Emacs will try to execute .dir-locals.el whenever loading a file under
the subzero directory. It sets local variables depending on the mode.
Set the fill-column to 80 for c++-mode, c-mode, and python-mode. The
main use is when using M-q to reformat multi-line comm... | Emacs Lisp | apache-2.0 | bkaradzic/SwiftShader,google/swiftshader,bkaradzic/SwiftShader,bkaradzic/SwiftShader,google/swiftshader,google/swiftshader,bkaradzic/SwiftShader,bkaradzic/SwiftShader | |
58ccb58d9d4fe59333c7f639c9d5649a537e5c6a | emacs/lib/setup_archlinux.el | emacs/lib/setup_archlinux.el | (use-package pkgbuild-mode
:init
(progn
(add-to-list 'auto-mode-alist '("\\PKGBUILD$" . pkgbuild-mode))))
(provide 'setup_archlinux)
| Switch to pkgbuild mode for PKGBUILD files. | Switch to pkgbuild mode for PKGBUILD files.
| Emacs Lisp | mit | skk/dotfiles,skk/dotfiles | |
2887a96b17f79fd9c4aee4ac2a171fad67d6ca8b | .emacs.d/elisp/dw-vimb.el | .emacs.d/elisp/dw-vimb.el | (setq dw/open-url-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "<return>") 'ivy-immediate-done)
map))
(defun dw/open-url ()
(interactive)
(let ((history-items
(with-temp-buffer
(insert-file-contents "~/.config/vimb/history")
(split-string (buffer-string) "\... | Add initial attempt at a URL opener for Vimb with Ivy | emacs: Add initial attempt at a URL opener for Vimb with Ivy
| Emacs Lisp | mit | daviwil/dotfiles,daviwil/dotfiles,daviwil/dotfiles,daviwil/dotfiles | |
740a77e2e43ec75dbc2947821772ad02cd181c91 | .dir-locals.el | .dir-locals.el | ;; Project-wide Emacs settings
(
;; `nil' settings apply to all language modes
(nil
;; Use only spaces for indentation
(indent-tabs-mode . nil))
(c-mode
;; In C code, indentation is four spaces
(c-basic-offset . 4)))
| Add project-wide Emacs settings file | Add project-wide Emacs settings file
Add a .dir-locals.el file, which applies indentation-related settings
when editing any file in the project with Emacs.
| Emacs Lisp | apache-2.0 | uabboli/otp,saleyn/otp,potatosalad/otp,erlang/otp,potatosalad/otp,tuncer/otp,saleyn/otp,fenollp/otp,dumbbell/otp,falkevik/otp,dgud/otp,release-project/otp,vinoski/otp,lrascao/otp,release-project/otp,weisslj/otp,tuncer/otp,goertzenator/otp,jj1bdx/otp,massemanet/otp,RoadRunnr/otp,goertzenator/otp,vladdu/otp,rlipscombe/ot... | |
9d5073b2d9da4f8348d426ad4bbb4dd8e2aedf2b | layers/my-go/config.el | layers/my-go/config.el | ;; -*- lexical-binding: t -*-
;; Auto-indent after paste in Go triggers goimports, that makes pasting imports
;; difficult. Let's let gofmt triggered by file save handle the indentation.
(add-to-list 'spacemacs-indent-sensitive-modes 'go-mode)
| Make behavior of pasting into Go source files less annoying | Make behavior of pasting into Go source files less annoying
| Emacs Lisp | mit | amfranz/spacemacs.d | |
59c520180d9e6b4465722ee3f26c9e3997d58766 | emacs/rbdbgt-mode.el | emacs/rbdbgt-mode.el | ;; `rbdbg-track-mode' tracks shell output
(eval-when-compile
(require 'cl)
(setq load-path (cons nil load-path))
(load "rbdbg-track")
(setq load-path (cdr load-path)))
(defvar rbdbg-track-minor-mode nil
"Non-nil if using rbdbgr-track mode as a minor mode of some other mode.
Use the command `rbdbg-minor-mo... | Support eshell as well as shell. Break out track mode into a separate file. | Support eshell as well as shell. Break out track mode into a separate file.
| Emacs Lisp | bsd-2-clause | rocky/rb-trepanning,rocky/rb-trepanning | |
fd4ef610d51ac4cb15c1b05b2de609a23dfad908 | .dir-locals.el | .dir-locals.el | ;;; Directory Local Variables
;;; See Info node `(emacs) Directory Variables' for more information.
((java-mode
(c-basic-offset . 2)
(indent-tabs-mode . nil)))
))
| Set the indent style for Emacs users. | Set the indent style for Emacs users.
Signed-off-by: Benoit Sigoure <d0ba46810740e35622837d76cd77ceb8c4bf46f5@gmail.com>
| Emacs Lisp | lgpl-2.1 | ShefronYudy/opentsdb,andyflury/opentsdb,alienth/opentsdb,ShefronYudy/opentsdb,MadDogTechnology/opentsdb,kidaa/opentsdb,OpenTSDB/opentsdb,OpenTSDB/opentsdb,OpenTSDB/opentsdb,sidhhu/opentsdb,eswdd/opentsdb,kidaa/opentsdb,alienth/opentsdb,MadDogTechnology/opentsdb,MadDogTechnology/opentsdb,johann8384/opentsdb,johann8384/o... | |
4c0475fa50f91efb0efb224fe310ca15f747a381 | rc/elisp/project.el | rc/elisp/project.el | (require 'json)
(setq path-seperator '"/")
(setq settings-file-name '"settings.json")
;;(json-read-file '"../../settings.json")
;; function to find the path to the next (upwards in the directory tree)
;; settings file.
(defun load-next-settings-file ()
;;(interactive)
(setq cur-dir (buffer-file-name))
;;(message cu... | Add first working Elisp version. | Add first working Elisp version.
| Emacs Lisp | mit | matbra/research-chain | |
8801bd6e2930081d89a26bc56c7c2ec67a9bc759 | layers/programming/echo-server.el | layers/programming/echo-server.el | (defvar echo-server-port 9000
"port of the echo server")
(defvar echo-server-clients '()
"alist where KEY is a client process and VALUE is the string")
(defun echo-server-start nil
"starts an emacs echo server"
(interactive)
(unless (process-status "echo-server")
(make-network-process :name "echo-serve... | Add echo server in elisp (needs work) | Add echo server in elisp (needs work)
| Emacs Lisp | mit | timotheosh/dotemacs | |
b6c3d5309f83b5c7d3d7e9898d2b1b4049f2e451 | modules/lang/latex/+preview-pane.el | modules/lang/latex/+preview-pane.el | ;;; lang/latex/+preview-pane.el -*- lexical-binding: t; -*-
;;;###if (featurep! +preview-pane)
(def-package! latex-preview-pane
:when (featurep! +preview-pane)
:hook ((latex-mode LaTeX-mode) . latex-preview-pane-enable)
:commands latex-preview-pane-mode
:init
(setq latex-preview-pane-multifile-mode 'auctex)
... | Move preview-pane setup into seperate file | Move preview-pane setup into seperate file
| Emacs Lisp | mit | hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.... | |
39e03f4cf1671dca0c80aedfdfd160cc8e44be2f | modules/lang/latex/+viewers.el | modules/lang/latex/+viewers.el | ;;; lang/latex/+viewers.el -*- lexical-binding: t; -*-
(when (featurep! +okular)
;; Configure Okular as viewer. Including a bug fix
;; (https://bugs.kde.org/show_bug.cgi?id=373855)
(add-to-list 'TeX-view-program-list '("Okular" ("okular --unique file:%o" (mode-io-correlate "#src:%n%a"))))
(add-to-list 'TeX-vie... | Move viewer setup into different file | Move viewer setup into different file
| Emacs Lisp | mit | hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/d... | |
aa2cd40988f9fc732075763043daa30f9bae1c73 | .emacs.d/lib/my-global-bindings.el | .emacs.d/lib/my-global-bindings.el | (defun my/cleanup-buffer ()
(interactive)
(delete-trailing-whitespace)
(untabify (point-min) (point-max))
(indent-region (point-min) (point-max)))
(global-set-key (kbd "C-c n") 'my/cleanup-buffer)
(global-set-key (kbd "C-c C-n") 'my/cleanup-buffer)
| Add global binding for buffer cleanup. | Add global binding for buffer cleanup.
| Emacs Lisp | apache-2.0 | pjstadig/dotfiles,pjstadig/dotfiles | |
38e5e28f1ea2d9d1d5f07f4fff1ccf6184ed3a47 | config/color_theme.el | config/color_theme.el | (set-face-foreground 'mode-line "black")
(set-face-background 'mode-line "purple")
(set-face-background 'mode-line-inactive "blue")
(set-face-background 'modeline-inactive "red")
| Add color theme config file with entries for mode bar | Add color theme config file with entries for mode bar
| Emacs Lisp | unlicense | schanur/emacs.d | |
0802953cf2aba230d0aaaeaf4f423bc33e39bc63 | emacs/.emacs.d/lisp/ds-helpers.el | emacs/.emacs.d/lisp/ds-helpers.el | ;;; Useful helpers for lisp programming
(defun ds/buffer-context (start end n)
"Print the contents of the buffer between start and end with n characters of context"
(let ((before (buffer-substring (max (point-min) (- start n)) start))
(match (buffer-substring start end))
(after (buffer-substring e... | Add a set of lisp helpers | Add a set of lisp helpers
| Emacs Lisp | cc0-1.0 | davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles | |
20249123a78d4aaa70d1212fd2c842837e4a6a3b | diffcourse-mode/diffcourse-mode.el | diffcourse-mode/diffcourse-mode.el | ;; diffcourse-mode.el
;;
;; Major mode for diffcourse files.
;; to use diff-mode's font-locking as a base.
(require 'diff-mode)
;; If your keymap will have very few entries, then you may want to
;; consider ‘make-sparse-keymap’ rather than ‘make-keymap’.
;; (defvar diffcourse-mode-map
;; (let ((map (make-keymap)))... | Add proof of concept emacs mode. | Add proof of concept emacs mode.
This still needs real faces to be even marginally useful.
| Emacs Lisp | mit | tomheon/diffscuss,tomheon/diffscuss,hut8labs/diffscuss,hut8labs/diffscuss | |
7e140a427a4613c5c5cb5922b2c2eca390b77cef | standard_emacs_d_init.el | standard_emacs_d_init.el | ;; backup in one place. flat, no tree structure
;; http://ergoemacs.org/emacs/emacs_set_backup_into_a_directory.html
(setq backup-directory-alist '(("" . "~/.emacs.d/emacs-backup")))
| Add emacs.d/init.el file for backup file settings | Add emacs.d/init.el file for backup file settings
| Emacs Lisp | apache-2.0 | philipwilcox/homedir | |
167f51b25c9ac46f36a86ada3f7e1894d5c75a9c | .dir-locals.el | .dir-locals.el | ; Sets emacs variables based on mode.
; A list of (major-mode . ((var1 . value1) (var2 . value2)))
; Mode can be nil, which gives default values.
((nil . ((indent-tabs-mode . nil)
(c-basic-offset . 4)))
)
| Add emacs config for indentation | Add emacs config for indentation
| Emacs Lisp | lgpl-2.1 | systemd/python-systemd,Awesense/python-systemd,again4you/python-systemd,davidstrauss/python-systemd,glittershark/python-systemd,Awesense/python-systemd,systemd/python-systemd,again4you/python-systemd,Awesense/python-systemd,glittershark/python-systemd,davidstrauss/python-systemd,keszybz/python-systemd,keszybz/python-sy... | |
9b5c401994629503e8637ac30f4eec9fcb9a2d33 | emacs/merlin-xref.el | emacs/merlin-xref.el | (require 'cl-lib)
(require 'xref)
(require 'merlin)
;;;###autoload
(defun merlin-xref-backend ()
"Merlin backend for Xref."
'merlin-xref)
(defun merlin-xref--line (loc)
(save-excursion
(goto-char loc)
(buffer-substring (line-beginning-position) (line-end-position))))
(cl-defmethod xref-backend-referenc... | Add merlin based xref backend | Add merlin based xref backend
| Emacs Lisp | mit | ocaml/merlin,the-lambda-church/merlin,rgrinberg/merlin,the-lambda-church/merlin,rgrinberg/merlin,rgrinberg/merlin,the-lambda-church/merlin,dra27/merlin,ocaml/merlin,ocaml/merlin,ocaml/merlin,dra27/merlin,dra27/merlin,rgrinberg/merlin,dra27/merlin | |
838e8f932cc71d59fe6c4c9cd8de7b1838358bed | starter-kit-ruby.el | starter-kit-ruby.el | ;;; starter-kit-ruby.el --- Some helpful Ruby code
;;
;; Part of the Emacs Starter Kit
;; Until this makes it into ELPA:
(autoload 'ruby-mode "ruby-mode" "" t)
(autoload 'inf-ruby "inf-ruby" "" t)
(autoload 'run-ruby "inf-ruby" "" t)
(eval-after-load 'ruby-mode
'(progn
(require 'inf-ruby)
(require 'ruby-c... | ;;; starter-kit-ruby.el --- Some helpful Ruby code
;;
;; Part of the Emacs Starter Kit
;; Until this makes it into ELPA:
(autoload 'ruby-mode "ruby-mode" "" t)
(autoload 'inf-ruby "inf-ruby" "" t)
(autoload 'run-ruby "inf-ruby" "" t)
(eval-after-load 'ruby-mode
'(progn
(require 'inf-ruby)
(require 'ruby-c... | Clear compilation buffer in between test runs. | Clear compilation buffer in between test runs.
| Emacs Lisp | mit | lstoll/repo,lstoll/dotfiles,lstoll/dotfiles,lstoll/repo,lstoll/dotfiles,lstoll/repo |
1401b158ab973998690d66e6d8bbc2525fe422e4 | emacs/lisp/20-ruby.el | emacs/lisp/20-ruby.el | ;; Ruby
(autoload 'rhtml-mode "rhtml-mode")
(add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.watchr$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Rakefile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.gemspec$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.ru$" .... | Enable ruby-mode for various ruby files. | Enable ruby-mode for various ruby files.
| Emacs Lisp | mit | skk/dotfiles,skk/dotfiles | |
7646a5a1e09c01b99d58394d05e79435a11be0d6 | util/emacs/m5-c-style.el | util/emacs/m5-c-style.el | ; Copyright (c) 2003 The Regents of The University of Michigan
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are
; met: redistributions of source code must retain the above copyright
; notice, this list ... | Add m5 emacs style file. | Add m5 emacs style file.
--HG--
extra : convert_revision : bccc866984c98d974c1745f125293d781d6d0b1e
| Emacs Lisp | bsd-3-clause | aclifton/cpeg853-gem5,KuroeKurose/gem5,KuroeKurose/gem5,SanchayanMaity/gem5,HwisooSo/gemV-update,qizenguf/MLC-STT,gedare/gem5,cancro7/gem5,briancoutinho0905/2dsampling,rjschof/gem5,joerocklin/gem5,gedare/gem5,gem5/gem5,kaiyuanl/gem5,briancoutinho0905/2dsampling,TUD-OS/gem5-dtu,Weil0ng/gem5,joerocklin/gem5,austinharris/... | |
4008e22c2723f8c516fdb251592839d21437c770 | site-lisp/clgc-tempo.el | site-lisp/clgc-tempo.el | (require 'tempo)
;; (setq tempo-interactive t)
(tempo-define-template "org-digraph"
'(> "#+begin_src dot :file " (p "Filename: ") ".png\n"
> "digraph G {\n"
> "}\n"
> "#+end_src\n"))
(provide 'clgc-tempo)
| Add org-digraph template using tempo | Add org-digraph template using tempo
| Emacs Lisp | bsd-3-clause | dgtized/dotfiles,dgtized/dotfiles,dgtized/dotfiles | |
c50498888dc78a201d37102c4da4b5b2903e6c18 | psl-parse.el | psl-parse.el | (setq lexical-binding t)
(with-current-buffer (get-buffer "*example*")
(goto-char (point-min))
(mpd-parse psl-tokens))
(defvar psl-tokens
'((expr (block defvar deffun number object lambda id))
(defvar "defvar" id "=" expr "in" expr)
(deffun "deffun" id params expr "in" expr)
(lambda "l... | Add beginnings of a ParselTongue parser. | Add beginnings of a ParselTongue parser.
| Emacs Lisp | unlicense | skeeto/psl-mode | |
b5c71b1428e8cfc9ed54ab220a2f7e188fe58895 | .dir-locals.el | .dir-locals.el | ;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((c++-mode
(flycheck-clang-standard-library . "libc++")
(cmake-ide-build-dir . "build")))
| Add config for Emacs cmake-ide and flycheck-clang | Add config for Emacs cmake-ide and flycheck-clang
| Emacs Lisp | mit | toby-allsopp/coroutine_monad | |
734932a48e7ba38fc6a159e535e654d7e9a18dd5 | emacs.d/.mc-lists.el | emacs.d/.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
'(
about-emacs
autopair-insert-opening
backward-sexp
beginning-of-defun
compile
... | Add customizations for emcas multiple cursors | Add customizations for emcas multiple cursors
| Emacs Lisp | apache-2.0 | raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles,raghavkarol/dotfiles | |
d712b977a9cc37b5b978c69e345cfe71610a337f | org-publish-project-alist.el | org-publish-project-alist.el | ;; This file configures org modes publish functionality to generate the gh-pages site for this project.
;; Load this file/buffer and then execute: M-x org-publish-project RET gh-pages RET
(setq org-publish-project-alist
'(("gh-notes"
:base-directory "./org"
:base-extension "org"
:publishing-directory ".... | Add org-mode publishing setup source file | Add org-mode publishing setup source file
| Emacs Lisp | apache-2.0 | bpoweski/http.async.client | |
0e9cbb7282349b7911548af1ac71973b48859cfb | lisp/eglot-flycheck_init_init.el | lisp/eglot-flycheck_init_init.el | (defvar-local +lsp--flycheck-eglot--current-errors nil)
(defun +lsp--flycheck-eglot-init (checker callback)
"CHECKER is the checker (eglot).
CALLBACK is the function that we need to call when we are done, on all the errors."
(eglot-flymake-backend #'+lsp--flycheck-eglot--on-diagnostics)
(funcall callback 'finish... | Add flycheck support to elgot | Add flycheck support to elgot
| Emacs Lisp | mit | frobware/emacs.d | |
1fbe7079f011d8a1e3e339f62136b8586419312f | emacs/personal/fast-rspec.el | emacs/personal/fast-rspec.el | (defun find-git-repo (dir)
(if (string= "/" dir)
(message "not in a git repo.")
(if (file-exists-p (expand-file-name ".git/" dir))
dir
(find-git-repo (expand-file-name "../" dir)))))
(defun rspec-buffer ()
(interactive)
(let ((default-directory (find-git-repo default-directory))
(... | Add fast execution of rspec | Add fast execution of rspec
| Emacs Lisp | mit | aviscasillas/dotfiles,aviscasillas/dotfiles,aviscasillas/dotfiles | |
85c8589cca71ebd09616cc055a58f97856ccdd3c | init.el | init.el | ;;
;; Author: Rafael Campos Nunes
;; Email: <rafaelnunes at engineer dot com>
;; Add MELPA repository
(when (>= emacs-major-version 24)
(require 'package)
(add-to-list
'package-archives
'("melpa" . "http://melpa.org/packages/")
t)
(package-initialize))
;; Disabling tool-bar-mode
(tool-bar-mode 0)
;; T... | Add my emacs configuration file | Add my emacs configuration file
Signed-off-by: Rafael Campos Nunes <42f0a9af43f2538fd3153aecc7c3ff958e89d724@engineer.com>
| Emacs Lisp | mit | rafaelcn/dotfiles,rafaelcn/Linux-setup | |
d5692b3a5750c45f6accd7b2e2d55282c097bc4e | tools/fact-generator/.dir-locals.el | tools/fact-generator/.dir-locals.el | ;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((c++-mode
(flycheck-checker . c/c++-gcc)
(flycheck-gcc-language-standard . "c++11")
(eval . (setq flycheck-gcc-include-path
(list "../include"
(replace-regexp-in-string
... | Add flycheck options for fact-generator | Add flycheck options for fact-generator
| Emacs Lisp | mit | plast-lab/cclyzer,plast-lab/llvm-datalog |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.