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 |
|---|---|---|---|---|---|---|---|---|---|
26a0e0d3272e812df9a4eded5aa5438aa878bc93 | emacs.d/tj-go.el | emacs.d/tj-go.el | (require 'go-mode)
(setq gofmt-command "goimports")
(add-to-list 'load-path "/home/you/goroot/misc/emacs/")
(add-hook 'before-save-hook 'gofmt-before-save)
(provide 'tj-go)
| (require 'go-mode)
(setq gofmt-command "goimports")
(add-to-list 'load-path "/home/you/goroot/misc/emacs/")
(add-hook 'before-save-hook 'gofmt-before-save)
(defun go-test ()
"Runs tests for package in current buffer"
(interactive)
(compile (concat "ginkgo " (file-name-directory (buffer-file-name)))))
(provide ... | Add a function to run go tests | Add a function to run go tests
| Emacs Lisp | mit | tjarratt/dotfiles,tjarratt/dotfiles |
c794564d951b92f300b3b14363480af0c91d7603 | setup-files/setup-python.el | setup-files/setup-python.el | ;; Time-stamp: <2017-06-07 14:24:47 kmodi>
;; Python
;; Emacs built-in `python' mode
(use-package python
:mode (("\\.py\\'" . python-mode))
:bind (:map python-mode-map
("<f9>" . python-shell-send-buffer))
:config
(progn
(defvar modi/python-use-ipython t
"When non-nil, use Ipython as the pyt... | ;; Time-stamp: <2017-06-08 08:24:50 kmodi>
;; Python
;; Emacs built-in `python' mode
(use-package python
:mode (("\\.py\\'" . python-mode))
:bind (:map python-mode-map
("<f9>" . python-shell-send-buffer))
:config
(progn
(defvar modi/python-use-ipython t
"When non-nil, use Ipython as the pyt... | Check if ipython executable is available | Check if ipython executable is available
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
30567ea0f715b8706a86992ce2bede1723a09372 | modules/lang/web/packages.el | modules/lang/web/packages.el | ;; -*- no-byte-compile: t; -*-
;;; lang/web/packages.el
;; requires js-beautify stylelint stylelint-scss
(package! rainbow-mode)
(package! web-beautify)
(when (featurep! :completion ivy)
(package! counsel-css :recipe (:fetcher github :repo "hlissner/emacs-counsel-css")))
;; +html.el
(package! company-web)
(package... | ;; -*- no-byte-compile: t; -*-
;;; lang/web/packages.el
;; requires js-beautify stylelint stylelint-scss
(package! rainbow-mode)
(package! web-beautify)
(when (featurep! :completion ivy)
(package! counsel-css :recipe (:fetcher github :repo "hlissner/emacs-counsel-css")))
;; +html.el
(package! emmet-mode)
(package!... | Install company-web only if company is active | Install company-web only if company is active
| Emacs Lisp | mit | hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,aminb/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,aminb/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,aminb/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,aminb/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,am... |
0ec1af4c96af97e094d6e6f9881584618710b903 | emacs.d/pmade-server.el | emacs.d/pmade-server.el | (defun pmade-server-start ()
(when window-system
(add-hook 'server-visit-hook 'save-place-find-file-hook)
(server-start)))
(setq server-use-tcp t
server-host (if (string= "hawkins.pmade.com" system-name)
"10.0.1.10" system-name))
(add-hook 'after-init-hook 'pmade-server-start)
| (defun pmade-server-start ()
(when window-system
(add-hook 'server-visit-hook 'save-place-find-file-hook)
(server-start)))
(setq server-use-tcp t
server-host (if (string= "hawkins" system-name)
"10.0.1.10" system-name))
(add-hook 'after-init-hook 'pmade-server-start)
| Make up your mind emacs, what does system-name return? | Make up your mind emacs, what does system-name return?
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
37ba24be9dc8408b87cc4ee1c7ada2ec817cb258 | init-package/init-popwin.el | init-package/init-popwin.el | (use-package popwin
:init
(progn
(setq display-buffer-function 'popwin:display-buffer)
;; use popwin with helm
(push '("^\*helm.+\*$" :regexp t) popwin:special-display-config)
(push '("^\*helm-.+\*$" :regexp t) popwin:special-display-config)))
| (use-package popwin
:init
(progn
(popwin-mode 1)
(push '("*grep*" :dedicated t :position bottom :stick t :noselect t) popwin:special-display-config)
;; use popwin with helm
(push '("^\*helm.+\*$" :regexp t :position bottom) popwin:special-display-config)
(push '("^\*helm-.+\*$" :regexp t :positi... | Add popwin rule for *grep* | Add popwin rule for *grep*
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
12355dd92ff7e0b9aa2753a34fb575ae9ca18c7c | emacs.d/tj-go.el | emacs.d/tj-go.el | (require 'go-mode)
(setq gofmt-command "goimports")
(add-to-list 'load-path "/home/you/goroot/misc/emacs/")
(add-hook 'before-save-hook 'gofmt-before-save)
(defun go-test ()
"Runs tests for package in current buffer"
(interactive)
(compile (concat "ginkgo " (file-name-directory (buffer-file-name)))))
(provide ... | (require 'go-mode)
(setq gofmt-command "goimports")
(add-to-list 'load-path "/home/you/goroot/misc/emacs/")
(add-hook 'before-save-hook 'gofmt-before-save)
(defun go-test ()
"Runs tests for package in current buffer"
(interactive)
(compile (concat "ginkgo " (file-name-directory (buffer-file-name)))))
(define-k... | Add key binding for 'go test' | Add key binding for 'go test'
| Emacs Lisp | mit | tjarratt/dotfiles,tjarratt/dotfiles |
212718d6191b4a43c710a7979e566dbbb4123585 | .dir-locals.el | .dir-locals.el | ((nil . ((indent-tabs-mode . nil)
(tab-width . 8)
(c-basic-offset . 4)))
)
| ((nil
(indent-tabs-mode . nil)
(tab-width . 8)
(c-basic-offset . 4)
(c-file-style . "stroustrup")
(eval . (progn
(c-set-offset 'innamespace '0)
(c-set-offset 'inline-open '0)))
)
)
| Improve the indention in emacs just a bit. | Improve the indention in emacs just a bit.
By default emacs offsets both the inline and in-namespaces, lets
fix that.
| Emacs Lisp | mit | schulmar/apitrace,joshua5201/apitrace,tuanthng/apitrace,tuanthng/apitrace,PeterLValve/apitrace,apitrace/apitrace,surround-io/apitrace,PeterLValve/apitrace,PeterLValve/apitrace,surround-io/apitrace,schulmar/apitrace,swq0553/apitrace,trtt/apitrace,trtt/apitrace,joshua5201/apitrace,apitrace/apitrace,surround-io/apitrace,E... |
9c085c0553450084a96f7c4ccf83c90d63331ca8 | modules/lang/haskell/+lsp.el | modules/lang/haskell/+lsp.el | ;;; lang/haskell/+lsp.el -*- lexical-binding: t; -*-
(def-package! lsp-haskell
:after haskell-mode
:init (add-hook 'haskell-mode-hook #'+lsp|init)
:config
;; Does some strange indentation if it pastes in the snippet
(setq yas-indent-line 'fixed))
| ;;; lang/haskell/+lsp.el -*- lexical-binding: t; -*-
(def-package! lsp-haskell
:after haskell-mode
:init (add-hook 'haskell-mode-hook #'+lsp|init)
:config
;; Does some strange indentation if it pastes in the snippet
(setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))
| Set yas-indent-line only in haskell-mode | Set yas-indent-line only in haskell-mode | Emacs Lisp | mit | UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.... |
d076fe6fead38c72a6e0d5b897aba1c82495def6 | nixpkgs/emacs/site-lisp/init-avy.el | nixpkgs/emacs/site-lisp/init-avy.el | ;;; init-avy.el --- init file for avy
;;; Commentary:
;; Use `C-:` to jump to any position by entering 1 character and
;; use `C-'` to jump to any position by entering 2 characters.
;;; Code:
(use-package avy
:bind
("C-\"" . avy-goto-char)
("C-'" . avy-goto-char-2)
("M-g f" . avy-goto-line))
(provide 'init... | ;;; init-avy.el --- init file for avy
;;; Commentary:
;; Use `C-c SPC` to jump to any position by entering 1 character and
;; use `C-c C-SPC` to jump to any position by entering 2 characters.
;;; Code:
(use-package avy
:bind
("C-c SPC" . avy-goto-char)
("C-c C-SPC" . avy-goto-char-2)
("M-g f" . avy-goto-lin... | Update key bindings for avo | Update key bindings for avo
| Emacs Lisp | mit | hongchangwu/dotfiles,hongchangwu/dotfiles |
5f698d4030137c8e8b85333529b3ea9818a56426 | home/.emacs.d/lisp/init-vc.el | home/.emacs.d/lisp/init-vc.el | ;;; init-vc.el -- init version control setup
;;; Commentary:
;;; git setup
;;; Code:
(require 'use-package)
(use-package git-timemachine
:commands (git-timemachine))
(use-package gitattributes-mode)
(use-package gitconfig-mode)
(use-package gitignore-mode)
(use-package magit
:bind ("C-x g" . magit-status))
(pro... | ;;; init-vc.el -- init version control setup
;;; Commentary:
;;; git setup
;;; Code:
(require 'use-package)
(use-package diff-hl
:commands (diff-hl-dired-mode
diff-hl-margin-mode
diff-hl-amend-mode
diff-hl-flydiff-mode)
:config
(set-face-attribute 'diff-hl-change nil
... | Add diff-hl mode to Emacs | Add diff-hl mode to Emacs
| Emacs Lisp | mit | cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles |
0dbca26dea39150e520893ef1bf48ae9b2c4a951 | .emacs.d/lib/my-prog-config.el | .emacs.d/lib/my-prog-config.el | (use-package cider
:ensure t)
(use-package paredit
:ensure t)
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
(add-hook 'clojure-mode-hook 'paredit-mode)
(setq linum-format "%d ")
(add-hook 'prog-mode-hook 'linum-mode)
(use-package helm
:ensure t
:bind (("C-c i" . helm-imenu)
("C-c C-i" . helm-imenu))... | (use-package cider
:ensure t)
(use-package paredit
:ensure t)
(add-hook 'emacs-lisp-mode-hook 'paredit-mode)
(add-hook 'clojure-mode-hook 'paredit-mode)
(setq linum-format "%d ")
(add-hook 'prog-mode-hook 'linum-mode)
(use-package helm
:ensure t
:bind (("C-c i" . helm-imenu)
("C-c C-i" . helm-imenu)
... | Use helm for M-x completion. | Use helm for M-x completion.
| Emacs Lisp | apache-2.0 | pjstadig/dotfiles,pjstadig/dotfiles |
050bfb72f24be13c8a84bed05f5b7c5d893077a0 | elisp/setup-mail.el | elisp/setup-mail.el | ;;; setup-mail.el --- Mail conf file.
;;; Commentary:
;;; Code:
(maybe-load-file "~/Dropbox/elisp/mail.el")
;; The following settings are ~/elisp/mail.el examples.
;; (setq user-full-name "John Doe."
;; user-mail-address "example@example.org"
;; smtpmail-smtp-server "example.org"
;; smtp... | ;;; setup-mail.el --- Mail conf file.
;;; Commentary:
;;; Code:
(maybe-load-file "~/Dropbox/elisp/mail.el")
;; The following settings are ~/elisp/mail.el examples.
;; (setq user-full-name "John Doe."
;; user-mail-address "example@example.org"
;; smtpmail-smtp-server "example.org"
;; smtp... | Drop notmuch in favor of mu4e | Drop notmuch in favor of mu4e
| Emacs Lisp | mit | anachronic/emacs.d,anachronic/emacs.d |
d04982b4f27677bc15ae6b82c32f43e7c66fd444 | emacs/.emacs.d/lisp/ds-sql.el | emacs/.emacs.d/lisp/ds-sql.el |
(require 'use-package)
(use-package sqlup-mode
:ensure t
:config
(add-hook 'sql-mode-hook #'sqlup-mode))
|
(require 'use-package)
(use-package sqlup-mode
:ensure t
:config
(add-hook 'sql-mode-hook #'sqlup-mode t))
| Fix sqlup mode not working on startup | Fix sqlup mode not working on startup
| Emacs Lisp | cc0-1.0 | davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles |
ee840f4a060b0fbb2430f6d0e7b23666148ae566 | init-python-mode.el | init-python-mode.el |
(autoload 'doctest-mode "doctest-mode" "Python doctest editing mode." t)
(setq auto-mode-alist
(append '(("SConstruct\\'" . python-mode)
("SConscript\\'" . python-mode))
auto-mode-alist))
;;----------------------------------------------------------------------------
;; On-the-fly syntax check... | (setq auto-mode-alist
(append '(("SConstruct\\'" . python-mode)
("SConscript\\'" . python-mode))
auto-mode-alist))
;;----------------------------------------------------------------------------
;; On-the-fly syntax checking via flymake
;;----------------------------------------------------------... | Remove defunct autoload for doctest-mode | Remove defunct autoload for doctest-mode
| Emacs Lisp | bsd-2-clause | blueseason/emacs.d |
a4bf293bc2b8e51b348235bbed143cdff2e58c10 | contrib/evil-snipe/packages.el | contrib/evil-snipe/packages.el | (defvar evil-snipe-packages '(evil-snipe)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defvar evil-snipe-excluded-packages '()
"List of packages to exclude.")
(defun evil-snipe/init-evil-snipe ()
(require 'evil-sn... | (defvar evil-snipe-packages '(evil-snipe)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defvar evil-snipe-excluded-packages '()
"List of packages to exclude.")
(defun evil-snipe/init-evil-snipe ()
(use-package evil... | Refactor evil-snipe layer to use use-package. | Refactor evil-snipe layer to use use-package.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
aacf19f2c42e375c37c6006d3be6ef86e251c2d9 | .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 prefix for clubhouse backend commands. | Add prefix for clubhouse backend commands.
| Emacs Lisp | apache-2.0 | pjstadig/dotfiles,pjstadig/dotfiles |
678f971eca3938096d97b4680754d144814c4579 | 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/dotsies,xenodium/dotsies,xenodium/dotsies |
a23ab955f042d931ab9478e802d4ee6b12c33a5f | config/tramp.el | config/tramp.el | ;; When saving small files, emacs tries to copy files with uuencode
;; and base64 instead of copying wihth an extra scp session. This
;; fails on machines without uuencode/base64 support. We want to use
;; scp always.
(setq tramp-copy-size-limit nil)
| ;; When saving small files, emacs tries to copy files with uuencode
;; and base64 instead of copying wihth an extra scp session. This
;; fails on machines without uuencode/base64 support. We want to use
;; scp always.
(setq tramp-copy-size-limit nil)
;; Use login credentials strore.
(setq auth-source '("~/.authinfo.p... | Use passwords for encrypted file instead of key store | Use passwords for encrypted file instead of key store
| Emacs Lisp | unlicense | schanur/emacs.d |
4b96e587ac559e6cf818315c01a414400177b802 | settings/setup-package.el | settings/setup-package.el | (require 'package)
(require 'dash)
;; Add melpa to package repos
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
(add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/") t)
(package-initialize)
(unless (file-exists-p "~/.emacs.d/elpa/archives/melpa")
... | (require 'package)
(require 'dash)
;; Add melpa to package repos
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
(add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/") t)
(setq package-pinned-packages
'((cider . "melpa-stable")
... | Use stable cider and clojure-mode | Use stable cider and clojure-mode
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
3699b18fda3416d05d9516ba7903cbdb76fde4c0 | 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
workspaces
:editor
(evil +everywhere +commands)
snippets
file-templates
multiple-c... | ;;; 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
workspaces
:editor
(evil +everywhere +commands)
snippets
file-templates
multiple-c... | Add idris mode to doom | Add idris mode to doom
| Emacs Lisp | mit | mpardalos/dotfiles,mpardalos/dotfiles |
aa97e076650aef895c69106e68a0490bafe6a935 | emacs-custom.el | 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.
'(fringe-mode 0 nil (fringe))
'(ido-work-directory-list-ignore-regexp... | (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.
'(browse-url-browser-function (quote browse-url-generic))
'(browse-ur... | Use chromium as the default browser | Use chromium as the default browser
| Emacs Lisp | mit | akrito/python-den |
955b9cb20fb55f38c2842cd7e045e04fd4c76963 | core/defuns/macros-yasnippet.el | core/defuns/macros-yasnippet.el | ;;; macros-yasnippet.el
;;;###autoload
(defmacro def-yas-mode! (mode)
"Register minor MODES in yasnippet."
`(after! yasnippet
(when (boundp 'yas--extra-modes)
(add-hook! ,mode
(if (symbol-value ,mode)
(yas-activate-extra-mode ,mode)
(yas-deactivate-extra-mode ,mode)))))... | ;;; macros-yasnippet.el
;;;###autoload
(defmacro def-yas-mode! (mode)
"Register minor MODES in yasnippet."
`(after! yasnippet
(add-hook! ,mode
(if ,mode
(yas-activate-extra-mode ,mode)
(yas-deactivate-extra-mode ,mode)))))
(provide 'macros-yasnippet)
;;; macros-yasnippet.el ends he... | Remove redundant boundp check in def-yas-mode! | Remove redundant boundp check in def-yas-mode!
| Emacs Lisp | mit | aminb/.emacs.d,aminb/.emacs.d,hlissner/.emacs.d,aminb/.emacs.d,keoko/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,aminb/.emacs.d,UndeadKernel/emacs_doom,keoko/.emacs.d,... |
987ef40886b5611ea59e70683a0a2b8f3c99c8c1 | custom/81-ruby.el | custom/81-ruby.el | ;; (autoload 'enh-ruby-mode "enh-ruby-mode" "Major mode for ruby files" t)
(add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Rakefile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.gemspec$" . ruby-mode))
(add-to-list 'a... | ;; (autoload 'enh-ruby-mode "enh-ruby-mode" "Major mode for ruby files" t)
(add-to-list 'auto-mode-alist
'("\\(?:\\.rb\\|ru\\|rabl\\|rake\\|thor\\|jbuilder\\|gemspec\\|podspec\\|/\\(?:Gem\\|Rake\\|Cap\\|Thor\\|Vagrant\\|Guard\\|Pod\\)file\\)\\'" . enh-ruby-mode))
(add-to-list 'interpreter-mode-alist '("ru... | Use enhanced ruby instead of plain boring ruby mode. | Use enhanced ruby instead of plain boring ruby mode.
| Emacs Lisp | mit | map7/emacs-config,map7/emacs-config,map7/emacs-config |
0e9ae176be8a951566db08be446e2e078a7835cd | modules/tools/prodigy/config.el | modules/tools/prodigy/config.el | ;;; tools/prodigy/config.el -*- lexical-binding: t; -*-
(after! prodigy
(set-evil-initial-state! 'prodigy-mode 'emacs)
(defadvice! +prodigy--add-project-property-a (orig-fn &rest args)
"Adds a new :project property to prodigy services, which hides the service
unless invoked from the relevant project."
:ar... | ;;; tools/prodigy/config.el -*- lexical-binding: t; -*-
(after! prodigy
(defadvice! +prodigy--add-project-property-a (orig-fn &rest args)
"Adds a new :project property to prodigy services, which hides the service
unless invoked from the relevant project."
:around #'prodigy-services
(let ((project-root (d... | Set initial state in prodigy to normal | Set initial state in prodigy to normal
This allows using evil-collection's bindings for this mode.
Signed-off-by: Rudi Grinberg <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@rgrinberg.com>
| Emacs Lisp | mit | hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d |
20a8a3a87965ebb8e325136b70fcc5256ffab827 | init-package/init-multi-term.el | init-package/init-multi-term.el | (require 'multi-term)
(setq multi-term-program "/bin/zsh")
| (require 'multi-term)
(setq multi-term-program "/bin/zsh")
(defun term-send-tab ()
"Send tab in term mode."
(interactive)
(term-send-raw-string "\t"))
(add-to-list 'term-bind-key-alist '("<tab>" . term-send-tab))
| Make tab completion work within a zsh term. | Make tab completion work within a zsh term.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
4186c029824b190e87d3ca0cf6fcbebcdf931ce1 | 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 helm package to Emacs | Add helm package to Emacs
| Emacs Lisp | mit | Gosin/Vim4Gosin |
7fe5d343c214d78bada01cafb1e8b6e7983ea1e7 | init-extension/init-auto-highlight-symbol-mode.el | init-extension/init-auto-highlight-symbol-mode.el | (require 'auto-highlight-symbol)
(custom-set-variables
'(ahs-case-fold-search nil)
'(ahs-default-range (quote ahs-range-whole-buffer))
'(ahs-idle-interval 0.01))
| (require 'auto-highlight-symbol)
(custom-set-variables
'(ahs-case-fold-search nil)
'(ahs-default-range (quote ahs-range-whole-buffer))
'(ahs-idle-interval 0.5))
| Set auto-highlight-symbol delay to 0.5s instead of crazy 0.01s | Set auto-highlight-symbol delay to 0.5s instead of crazy 0.01s
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
4212d78db3810b9c107e171b4d2b83a5c772bc9b | home/.emacs.d/lisp/init-company.el | home/.emacs.d/lisp/init-company.el | ;;; init-company.el -- Company mode setup
;;; Commentary:
;;; company setup
;;; Code:
(require-package 'company)
(require-package 'company-quickhelp)
(company-quickhelp-mode 1)
(global-company-mode 1)
(define-key company-active-map (kbd "\C-n") 'company-select-next)
(define-key company-active-map (kbd "\C-p") 'comp... | ;;; init-company.el -- Company mode setup
;;; Commentary:
;;; company setup
;;; Code:
(require-package 'company)
(require-package 'company-quickhelp)
(company-quickhelp-mode 1)
(global-company-mode 1)
(define-key company-active-map (kbd "\C-n") 'company-select-next)
(define-key company-active-map (kbd "\C-p") 'comp... | Fix fill column indicator and company display in Emacs | Fix fill column indicator and company display in Emacs
| Emacs Lisp | mit | cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles |
f536acf0448c018b7bcc0fe32fa6f2168318a683 | lisp/init-projectile.el | lisp/init-projectile.el | (when (maybe-require-package 'projectile)
(add-hook 'after-init-hook 'projectile-global-mode)
;; The following code means you get a menu if you hit "C-c p" and wait
(after-load 'guide-key
(add-to-list 'guide-key/guide-key-sequence "C-c p"))
;; Shorter modeline
(after-load 'projectile
(setq-default
... | (when (maybe-require-package 'projectile)
(add-hook 'after-init-hook 'projectile-mode)
;; The following code means you get a menu if you hit "C-c p" and wait
(after-load 'guide-key
(add-to-list 'guide-key/guide-key-sequence "C-c p"))
;; Shorter modeline
(after-load 'projectile
(setq-default
pro... | Change projectile modeline lighter and use non-aliased mode name | Change projectile modeline lighter and use non-aliased mode name
| Emacs Lisp | bsd-2-clause | dcorking/emacs.d,benkha/emacs.d,svenyurgensson/emacs.d,arthurl/emacs.d,emuio/emacs.d,mmqmzk/emacs.d,qianwan/emacs.d,braveoyster/emacs.d,kindoblue/emacs.d,blueseason/emacs.d,sgarciac/emacs.d,blueabysm/emacs.d,purcell/emacs.d,roxolan/emacs.d,lust4life/emacs.d,kongfy/emacs.d,me020523/emacs.d,wegatron/emacs.d,krzysz00/emac... |
17bc56445a5a13344f4269b4716676e186ef1e85 | .emacs.d/config/eric-auth.el | .emacs.d/config/eric-auth.el | (pkg 'epa)
(epa-file-enable)
(defvar eric-auth-extension ".el.gpg" "The extension of encrypted files")
(defun eric-auth-init ()
(interactive)
(add-to-list 'load-suffixes eric-auth-extension))
(provide 'eric-auth)
| (pkg 'epa)
(epa-file-enable)
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The filename to load for passwords and other sensitive information")
(defvar eric-auth nil "The full path + filename... | Make this a bit more user-friendly. | Make this a bit more user-friendly.
While this might be super-config-heavy, it allows better customization
as not everyone wants to do things the way I do. But, the defaults are
for my use.
| Emacs Lisp | mit | eric-hansen/dotemacs |
a85de92a1bf85759ff4011c47a33e7ca772b7807 | contrib/!tools/ranger/packages.el | contrib/!tools/ranger/packages.el | ;;; packages.el --- ranger Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Rich Alesi
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GN... | ;;; packages.el --- ranger Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Rich Alesi
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GN... | Fix `ranger-up-directory` mapping for emacs / evil users. | Fix `ranger-up-directory` mapping for emacs / evil users.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
d23864c1079c70d270c7c0b9fbd5f9799ed2b9b9 | init-exec-path.el | init-exec-path.el | (defun set-exec-path-from-shell-PATH ()
(let ((path-from-shell (string-rtrim (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 (... | (defun set-exec-path-from-shell-PATH ()
(let ((path-from-shell (string-rtrim (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*
;; When started from Emacs.app or similar, ensure $... | Remove defunct setting of man path for 'woman | Remove defunct setting of man path for 'woman
| Emacs Lisp | bsd-2-clause | ernest-dzf/emacs.d,me020523/emacs.d,zuoshifan/emacs.d,jhpx/emacs.d,zuoshifan/emacs.d,farzadbekran/emacs.d,wenpincui/emacs.d,boblannon/emacs.d,hophacker/emacs.d,zenith-john/emacs.d,lust4life/emacs.d,modkzs/emcs.d,zuoshifan/emacs.d,zhuoyikang/emacs.d,dongdonghu/.emacs.d,baohaojun/emacs.d,qinshulei/emacs.d,farzadbekran/em... |
ffaed61f2e118eab6e38d645c1f0a951d669ea5b | .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)
| (defun my/cleanup-buffer ()
(interactive)
(delete-trailing-whitespace)
(untabify (point-min) (point-max))
(indent-region (point-min) (point-max))
(when (derived-mode-p 'clojure-mode)
(clojure-sort-ns)))
(global-set-key (kbd "C-c n") 'my/cleanup-buffer)
(global-set-key (kbd "C-c C-n") 'my/cleanup-buffer)
| Sort clojure ns forms on buffer cleanup. | Sort clojure ns forms on buffer cleanup.
| Emacs Lisp | apache-2.0 | pjstadig/dotfiles,pjstadig/dotfiles |
d3c5f84009c052569cd78f666d0a4e445ca83520 | emacs/.emacs.d/lisp/ds-sh.el | emacs/.emacs.d/lisp/ds-sh.el |
(require 'shell)
(require 'sh-script)
(add-hook 'shell-mode-hook 'set-tab)
(add-hook 'shell-mode-hook (lambda ()
(set 'sh-basic-offset 2)
(set 'sh-indentation 2)))
(require 'flycheck)
(add-hook 'shell-mode-hook #'flycheck-mode)
|
(require 'shell)
(require 'sh-script)
(add-hook 'sh-mode-hook 'set-tab)
(require 'flycheck)
(add-hook 'sh-mode-hook #'flycheck-mode)
| Fix some stupid shit in sh-mode config | Fix some stupid shit in sh-mode config
| Emacs Lisp | cc0-1.0 | davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles |
c1984df8d4814091b1749c9373f5e1f010d8b514 | home/.emacs.d/lisp/init-company.el | home/.emacs.d/lisp/init-company.el | ;;; init-company.el -- Company mode setup
;;; Commentary:
;;; company setup
;;; Code:
(require-package 'company)
(require-package 'company-quickhelp)
(company-quickhelp-mode 1)
(global-company-mode 1)
(define-key company-active-map (kbd "\C-n") 'company-select-next)
(define-key company-active-map (kbd "\C-p") 'comp... | ;;; init-company.el -- Company mode setup
;;; Commentary:
;;; company setup
;;; Code:
(require-package 'company)
(require-package 'company-quickhelp)
(company-quickhelp-mode 1)
(global-company-mode 1)
(define-key company-active-map (kbd "\C-n") 'company-select-next)
(define-key company-active-map (kbd "\C-p") 'comp... | Use hippie-expand instead of dabbrev in Emacs | Use hippie-expand instead of dabbrev in Emacs
| Emacs Lisp | mit | cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles |
ce9c2c763623f721b13b3b74871374b59098e8b9 | init-package/init-solarized-theme.el | init-package/init-solarized-theme.el | (load-theme 'solarized-dark t)
| (if (equal system-name "QUE-WKS-AA427-Linux")
(load-theme 'solarized-light t)
(load-theme 'solarized-dark t))
| Change theme depending on the hostname. | Change theme depending on the hostname.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
8e69171cec847474ed6410c6e019871e80f216fe | config/emacs-pkginit.el | config/emacs-pkginit.el |
;;; ------------------------------------------------------------------------------
;;; FILE | .emacs-pkginit.el
;;; AUTHOR | sameh kamal
;;; DESCRIPTION | emacs initial packages installation
;;; ------------------------------------------------------------------------------
(require 'package)
(add-to-lis... | ;; ------------------------------------------------------------------------------
;; FILE | .emacs-pkginit.el
;; AUTHOR | sameh kamal
;; DESCRIPTION | emacs initial packages installation
;; ------------------------------------------------------------------------------
(require 'package)
(add-to-list 'pack... | Add auctex to install packages list | Add auctex to install packages list
| Emacs Lisp | mit | samehkamaleldin/dot-files,samehkamaleldin/linux-env-utils |
f0d02fc5d1bcea1948887351bb5575115790b796 | .emacs.d/lisp/package/dependencies.el | .emacs.d/lisp/package/dependencies.el | (defvar kotct/dependency-list
'(linum-off ;; turn linum off in certain modes
ido-vertical-mode ;; use vertical menus for ido
ido-grid-mode ;; use a grid selection menu for ido
smex ;; ido-enabled M-x
anzu ;; nicer search environment
volatile-highlights ;; highlight changed areas
buffer-move ;;... | (defvar kotct/dependency-list
'(linum-off ;; turn linum off in certain modes
ido-vertical-mode ;; use vertical menus for ido
ido-grid-mode ;; use a grid selection menu for ido
smex ;; ido-enabled M-x
anzu ;; nicer search environment
volatile-highlights ;; highlight changed areas
buffer-move ;;... | Add fish-mode as a dependency | Add fish-mode as a dependency
| Emacs Lisp | mit | kotct/dot,kotct/dot |
9be176c82fec40d2eff0ea3ae948f99070b12343 | lisp/init-typescript.el | lisp/init-typescript.el | ;;; init-typescript.el --- Configuration for tide
;;; Commentary:
;;; Code:
(use-package tide
:functions tide-setup
:config
(defun gp-setup-tide-mode ()
(interactive)
(tide-setup)
(flycheck-mode +1)
(setq flycheck-check-syntax-automatically '(save mode-enabled))
(eldoc-mode +1)
(tide-hl-... | ;;; init-typescript.el --- Configuration for tide
;;; Commentary:
;;; Code:
(use-package tide
:functions tide-setup
:config
(defun gp-setup-tide-mode ()
(interactive)
(tide-setup)
(flycheck-mode +1)
(setq flycheck-check-syntax-automatically '(save mode-enabled))
(eldoc-mode +1)
(tide-hl-... | Disable tide format before save | Disable tide format before save
| Emacs Lisp | mit | gilesp/emacs.d |
00f9f09612d4175850867ca70911b03e1e1b0bb9 | init-exec-path.el | init-exec-path.el | (when (memq window-system '(mac ns))
(exec-path-from-shell-initialize))
(provide 'init-exec-path)
| (eval-after-load 'exec-path-from-shell
'(progn
(dolist (var '("SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO"))
(add-to-list var 'exec-path-from-shell-variables))))
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize))
(provide 'init-exec-path)
| Use exec-path-from-shell to slurp SSH_* env vars into Emacs on OS X | Use exec-path-from-shell to slurp SSH_* env vars into Emacs on OS X
| Emacs Lisp | bsd-2-clause | wenpincui/emacs.d,carlosliu/emacs.d,atreeyang/emacs.d,YangXin/emacs.d,cjqw/emacs.d,sgarciac/emacs.d,arthurl/emacs.d,exclamaforte/emacs.d,me020523/emacs.d,Togal/emacs.d,renatoriccio/emacs.d,zhaotai/.emacs.d,zuoshifan/emacs.d,Jadecity/PurcellEmacs.d,LKI/emacs.d,lust4life/emacs.d,zuoshifan/emacs.d,jkaessens/emacs.d,mmqmzk... |
51aa60d67dec9034655162bc0729c78122a5a8aa | modules/emacs/electric/autoload.el | modules/emacs/electric/autoload.el | ;;; emacs/electric/autoload.el -*- lexical-binding: t; -*-
;;;###autodef
(defun set-electric! (modes &rest plist)
"Declare :words (list of strings) or :chars (lists of chars) in MODES that
trigger electric indentation."
(declare (indent 1))
(unless plist
(signal 'wrong-number-of-arguments
(list '... | ;;; emacs/electric/autoload.el -*- lexical-binding: t; -*-
;;;###autodef
(defun set-electric! (modes &rest plist)
"Declare :words (list of strings) or :chars (lists of chars) in MODES that
trigger electric indentation."
(declare (indent 1))
(unless plist
(signal 'wrong-number-of-arguments
(list '... | Fix set-electric! complaining about :char | Fix set-electric! complaining about :char
A typo! Should be :chars
| Emacs Lisp | mit | hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner... |
7fa87b07a5c2f5ad11b685222e6e374977df3067 | fdoc2md.el | fdoc2md.el | ;;; -*- lexical-binding: t -*-
;;; fdoc2md.el -- Convert function documentation to markdown
(defvar fdoc-replacements
'(("`\\([^']+\\)'" . "`\\1`"))
"A list of alists where the car is the search regular
expression and the cdr is the replacement string.")
(defun fdoc2md (func file)
"Extract the documentation from... | ;;; -*- lexical-binding: t -*-
;;; fdoc2md.el -- Convert function documentation to markdown
(defvar fdoc-replacements
'(("`\\([^']+\\)'" . "`\\1`"))
"A list of alists where the car is the search regular
expression and the cdr is the replacement string.")
(defun fdoc2md (func file)
"Extract the documentation from... | Add a newline so we don't have to from outside | Add a newline so we don't have to from outside
| Emacs Lisp | mit | pjones/elpkg |
c6dd6b78a899b968204e4531489b2ccdc17c4060 | configs/emacs.d/pkgs/pkg-javascript.el | configs/emacs.d/pkgs/pkg-javascript.el | (use-package js2-mode
:ensure t
)
(use-package web-mode
:ensure t
:config
(setq web-mode-code-indent-offset 4)
(setq web-mode-script-padding 0)
(setq web-mode-markup-indent-offset 2)
)
(use-package mmm-mode
:ensure t
:config
(setq mmm-global-mode 'maybe)
(dolist (langsets '(("script" . ((coff... | (use-package js2-mode
:ensure t
)
(use-package web-mode
:ensure t
:config
(setq web-mode-code-indent-offset 2)
(setq web-mode-script-padding 0)
(setq web-mode-markup-indent-offset 2)
)
(use-package mmm-mode
:ensure t
:config
(setq mmm-global-mode 'maybe)
(dolist (langsets '(("script" . ((coff... | Set JS and CSS indents in web-mode to 2 | Set JS and CSS indents in web-mode to 2
| Emacs Lisp | mit | noraesae/dotfiles,noraesae/dotfiles,noraesae/dotfiles |
c86051ba22e21caf8fc20c2474d7714935658862 | site-lisp/db-utils-test.el | site-lisp/db-utils-test.el | ;;; db-utils-test.el -- Tests for db-utils -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(require 'ert)
(require 'db-utils)
(require 'cl-lib)
(ert-deftest db-utils-db/ntp-to-time ()
"Test NTP conversion to readable time with `db/ntp-to-time'."
(should (equal (db/ntp-to-time #xdcd2ac0c #x05c6dbac)
... | ;;; db-utils-test.el -- Tests for db-utils -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(require 'ert)
(require 'db-utils)
(require 'cl-lib)
(ert-deftest db-utils-db/ntp-to-time ()
"Test NTP conversion to readable time with `db/ntp-to-time'."
(should (equal (db/ntp-to-time #xdcd2ac0c #x05c6dbac)
... | Add obvious test for NTP conversion | Add obvious test for NTP conversion
This test could not have been added before, because conversion was not
guaranteed to work for dates before the unix epoch. It now is, and we finally
can check the start of the NTP epoch! :)
| Emacs Lisp | mit | exot/.emacs.d |
6871ddae87929dab8f28d7b2237ae2a2fd8361f8 | .dir-locals.el | .dir-locals.el | ((sh-mode . ((indent-tabs-mode . nil)
(sh-basic-offset . 2))))
| ((sh-mode . ((indent-tabs-mode . nil)
(sh-indentation . 2)
(sh-basic-offset . 2))))
| Use 2 spaces for indent | Use 2 spaces for indent
| Emacs Lisp | lgpl-2.1 | naoa/mroonga,naoa/mroonga,naoa/mroonga,yoku0825/mroonga,mroonga/mroonga,yoku0825/mroonga,naoa/mroonga,yoku0825/mroonga,yoku0825/mroonga,naoa/mroonga,yoku0825/mroonga,mroonga/mroonga,naoa/mroonga,mroonga/mroonga,mroonga/mroonga,yoku0825/mroonga |
98303f975b76326075e409548de45eb1cf054640 | user-lisp/conflicts-customisations.el | user-lisp/conflicts-customisations.el | ;;; conflicts-customisations.el -- Conveniences for handling files with conflicts
(defun wh/conflicts-list ()
"Show all the conflicts in the current buffer using occur-mode."
(interactive)
(occur "<<<<<<< ")
;; put mark on the first result in the occur window
(other-window 1)
(forward-line))
(use-package... | ;;; conflicts-customisations.el -- Conveniences for handling files with conflicts
(defun wh/conflicts-list ()
"Show all the conflicts in the current buffer using occur-mode."
(interactive)
(occur "<<<<<<< ")
;; put mark on the first result in the occur window
(other-window 1)
(forward-line))
(defun wh/sm... | Add helper for accepting and moving between merge conflicts | Add helper for accepting and moving between merge conflicts
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
6c3bf243b23ce733ec3a24a43a062da3fe40a79e | emacs.d/personal/settings/appearance.el | emacs.d/personal/settings/appearance.el | ;;; appearance.el --- Settings related to Emacs appearance
;;; Commentary:
;; Settings related to Emacs appearance
;;; Code:
;; hide the menu bar
(menu-bar-mode 0)
;; hide the scrollbars
(scroll-bar-mode -1)
;; disable the splash screen
(setq inhibit-splash-screen t)
;; load theme
(load-theme 'gruvbox t)
;; Spe... | ;;; appearance.el --- Settings related to Emacs appearance
;;; Commentary:
;; Settings related to Emacs appearance
;;; Code:
;; hide the menu bar
(menu-bar-mode 0)
;; hide the scrollbars
(scroll-bar-mode -1)
;; disable the splash screen
(setq inhibit-splash-screen t)
;; load theme
(load-theme 'gruvbox t)
;; Spe... | Change the font on graphical mode Emacs | Change the font on graphical mode Emacs
| Emacs Lisp | mit | caleb/dotfiles,caleb/dotfiles,caleb/dotfiles |
adb59eab48af27e2d2d8eafb4cd9ca922c6ad280 | my-misc.el | my-misc.el | ;; Seed the random-number generator
(random t)
;; Whitespace-style
(setq whitespace-style '(trailing lines space-before-tab
indentation space-after-tab)
whitespace-line-column 100)
;; Add Urban Dictionary to webjump (C-x g)
(eval-after-load "webjump"
'(add-to-list 'webjump-si... | ;; Seed the random-number generator
(random t)
;; Whitespace-style
(setq whitespace-style '(trailing lines space-before-tab
indentation space-after-tab)
whitespace-line-column 100)
;; Add Urban Dictionary to webjump (C-x g)
(eval-after-load "webjump"
'(add-to-list 'webjump-si... | Fix ido-ubiquitous for newer packages | Fix ido-ubiquitous for newer packages
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
9aafc69e7e429835a156856477b8ee52a122acae | init-extension/init-edts.el | init-extension/init-edts.el | (require 'edts-start)
;; (setq edts-log-level 'debug)
| (require 'edts-start)
;; (setq edts-log-level 'debug)
;; inherits faces from flycheck
(custom-set-faces
'(edts-face-error-line ((t (:inherit flycheck-error-face))))
'(edts-face-error-mode-line ((t (:inherit flycheck-error-face-mode-line))))
'(edts-face-warning-line ((t (:inherit flycheck-warning-face))))
'(edts-f... | Customize edts face for on the fly syntax check (inherits from flycheck faces). | Customize edts face for on the fly syntax check (inherits from flycheck faces).
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
282ecd416b6c9b91101e38b699623a468a0177b8 | lisp/init-direnv.el | lisp/init-direnv.el | ;;; init-direnv.el --- Integrate with direnv -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(defun sanityinc/maybe-enable-envrc-global-mode ()
(when (executable-find "direnv")
(envrc-global-mode)))
(when (maybe-require-package 'envrc)
(add-hook 'after-init-hook 'sanityinc/maybe-enable-envrc-global-mode)... | ;;; init-direnv.el --- Integrate with direnv -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(defun sanityinc/maybe-enable-envrc-global-mode ()
"Enable `envrc-global-mode' if `direnv' is installed."
(when (executable-find "direnv")
(envrc-global-mode)))
(when (maybe-require-package 'envrc)
(after-load ... | Add prefix binding of "C-c $" for commands in envrc-mode | Add prefix binding of "C-c $" for commands in envrc-mode
| Emacs Lisp | bsd-2-clause | qianwan/emacs.d,braveoyster/emacs.d,baohaojun/emacs.d,gsmlg/emacs.d,dcorking/emacs.d,blueseason/emacs.d,blueabysm/emacs.d,svenyurgensson/emacs.d,purcell/emacs.d,arthurl/emacs.d,lust4life/emacs.d,emuio/emacs.d,krzysz00/emacs.d,sgarciac/emacs.d |
89dd2f98a420e7ce45904e2f59f73de197c32fdf | modules/lang/erlang/config.el | modules/lang/erlang/config.el | ;;; lang/erlang/config.el -*- lexical-binding: t; -*-
(use-package! erlang
:mode ("\\.erlang\\'" . erlang-mode)
:mode ("/rebar\\.config\\(?:\\.script\\)?\\'" . erlang-mode)
:mode ("/\\(?:app\\|sys\\)\\.config\\'" . erlang-mode))
(use-package! flycheck-rebar3
:when (featurep! :checkers syntax)
:after flyche... | ;;; lang/erlang/config.el -*- lexical-binding: t; -*-
(use-package! erlang
:mode ("\\.erlang\\'" . erlang-mode)
:mode ("/rebar\\.config\\(?:\\.script\\)?\\'" . erlang-mode)
:mode ("/\\(?:app\\|sys\\)\\.config\\'" . erlang-mode))
(use-package! flycheck-rebar3
:when (featurep! :checkers syntax)
:after flyche... | Add LSP Support to Erlang | Add LSP Support to Erlang
| Emacs Lisp | mit | UndeadKernel/emacs_doom,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/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.em... |
f9b5b5fe70b7ed95b9cefc071fe80d2b482aa986 | radian-emacs/radian-yank.el | radian-emacs/radian-yank.el | ;;; radian-yank.el --- Killing and yanking
;; If you start typing when you have something selected, then the
;; selection will be deleted. If you press DEL while you have
;; something selected, it will be deleted rather than
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of... | ;;; radian-yank.el --- Killing and yanking
;; If you start typing when you have something selected, then the
;; selection will be deleted. If you press DEL while you have
;; something selected, it will be deleted rather than
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of... | Make delsel work with more Paredit commands | Make delsel work with more Paredit commands
| Emacs Lisp | mit | raxod502/radian,raxod502/radian |
63247185daa8666818ed9e5d5574860ecfde77f3 | 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 |
8b512aeaa2dfb383f4889f25c935821df9677ef8 | config/language_c.el | config/language_c.el | (require 'company)
;; (add-to-list 'company-backends 'company-c_headers)
;; Load with `irony-mode` as a grouped backend
;; (require 'company-irony-c-headers)
(eval-after-load 'company
'(add-to-list
'company-backends '(company-irony-c-headers company-irony)))
;; When compiler options change, call
;; `company-irony-c... | (require 'company)
;; (add-to-list 'company-backends 'company-c_headers)
;; Load with `irony-mode` as a grouped backend
;; (require 'company-irony-c-headers)
(eval-after-load 'company
'(add-to-list
'company-backends '(company-irony-c-headers company-irony)))
(eval-after-load 'flycheck
'(add-hook 'flycheck-mode-... | Add flycheck-irony to C/C++ nodes | Add flycheck-irony to C/C++ nodes
| Emacs Lisp | unlicense | schanur/emacs.d |
a332a8f043c8457fb23e709eb68722db4de6d237 | setup-files/setup-page-break-lines.el | setup-files/setup-page-break-lines.el | ;; Time-stamp: <2015-02-23 11:42:33 kmodi>
(use-package page-break-lines
:config
(progn
(setq page-break-lines-modes
'(emacs-lisp-mode
lisp-mode
scheme-mode
compilation-mode
outline-mode
help-mode
text-mode))
;; Calling `glob... | ;; Time-stamp: <2015-05-06 11:50:36 kmodi>
;; Show actual lines instead of the page break char ^L
;; https://github.com/purcell/page-break-lines
(use-package page-break-lines
:config
(progn
(setq page-break-lines-modes
'(emacs-lisp-mode
lisp-mode
scheme-mode
compi... | Enable pgbl mode for more major modes | Change: Enable pgbl mode for more major modes
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
62d874157b71d3507e91d6949cdd8f7a39ec50f5 | playbooks/ghc/files/.emacs.d/haskell.el | playbooks/ghc/files/.emacs.d/haskell.el | (check-packages '(haskell-mode ghc))
(require 'auto-complete)
(require 'haskell-mode)
(require 'haskell-indent)
(autoload 'ghc-init "ghc" nil t)
(defun my-haskell-config ()
"Haskell config"
(turn-on-haskell-indent)
(auto-complete-mode)
(ghc-init)
(add-hook 'after-save-hook 'flymake-start-syntax-check)
(de... | (check-packages '(haskell-mode ghc))
(require 'auto-complete)
(require 'haskell-mode)
(require 'haskell-indent)
(autoload 'ghc-init "ghc" nil t)
(defun my-haskell-config ()
"Haskell config"
(turn-on-haskell-indent)
(auto-complete-mode)
(ghc-init)
(add-hook 'after-save-hook 'flymake-start-syntax-check)
(de... | Add flymake next and prev errors | Add flymake next and prev errors
| Emacs Lisp | mit | ostapneko/dev-config |
b5c037f6b1cd54f72c3575c33adb2bcdaae678d7 | .dir-locals.el | .dir-locals.el | ((nil
(indent-tabs-mode . nil)
(tab-width . 8)
(c-basic-offset . 3)
(c-file-style . "stroustrup")
(eval . (progn
(c-set-offset 'innamespace '0)
(c-set-offset 'inline-open '0)))
)
)
| ((nil
(indent-tabs-mode . nil)
(tab-width . 8)
(c-basic-offset . 3)
(c-file-style . "stroustrup")
(fill-column . 78)
(eval . (progn
(c-set-offset 'innamespace '0)
(c-set-offset 'inline-open '0)))
)
)
| Add emacs setup for the docs/devinfo.html comment wrapping recommendation. | Add emacs setup for the docs/devinfo.html comment wrapping recommendation.
Reviewed-by: Brian Paul <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@vmware.com>
| Emacs Lisp | mit | dellis1972/glsl-optimizer,mapbox/glsl-optimizer,bkaradzic/glsl-optimizer,mcanthony/glsl-optimizer,wolf96/glsl-optimizer,zz85/glsl-optimizer,zz85/glsl-optimizer,tokyovigilante/glsl-optimizer,bkaradzic/glsl-optimizer,mcanthony/glsl-optimizer,djreep81/glsl-optimizer,wolf96/glsl-optimizer,wolf96/glsl-optimizer,zz85/glsl-op... |
a5930a21879a48a1a8455722151fbc6dab311154 | modules/lang/ess/packages.el | modules/lang/ess/packages.el | ;; -*- no-byte-compile: t; -*-
;;; lang/ess/packages.el
(package! ess :pin "2812b85880")
(package! ess-R-data-view :pin "d6e98d3ae1")
| ;; -*- no-byte-compile: t; -*-
;;; lang/ess/packages.el
(package! ess :pin "2812b85880")
(package! ess-R-data-view :pin "d6e98d3ae1")
(package! polymode :pin "3eab3c9eed")
(package! poly-R :pin "0443c89b4d")
| Add polymode to handle RMarkdown and RNoweb files | Add polymode to handle RMarkdown and RNoweb files
As of ESS 19+, ess-noweb and ess-swv libraries are now obsolete, and
polymode should be used instead (https://emacs.stackexchange.com/a/17065).
| Emacs Lisp | mit | UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hl... |
a0fd4359b250a6bbcda999abb14320d05c70c7a1 | radian-emacs/radian-patch.el | radian-emacs/radian-patch.el | ;;; radian-patch.el --- Patching functions in other packages
(require 'radian-package)
;; Occasionally you need to customize a small part of a large function
;; defined by another package. This library provides an elegant,
;; clear, and robust way of doing so. See the README [1].
;;
;; [1]: https://github.com/raxod50... | ;;; radian-patch.el --- Patching functions in other packages
(require 'radian-package)
;; Occasionally you need to customize a small part of a large function
;; defined by another package. This library provides an elegant,
;; clear, and robust way of doing so. See the README [1].
;;
;; [1]: https://github.com/raxod50... | Remove el-patch deferred installation support | Remove el-patch deferred installation support
| Emacs Lisp | mit | raxod502/radian,raxod502/radian |
415ebb2f012c4e2c943bea7d80468c0457e4d1cf | _packages.el | _packages.el | ;; Add melpa to package repos
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
(package-initialize)
;; Setup packages
(require 'setup-package)
;; Install extensions if they're missing
(defun init--install-packages ()
(packages-install
'(ze... | ;; Add melpa to package repos
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
(package-initialize)
;; Setup packages
(require 'setup-package)
;; Install extensions if they're missing
(defun init--install-packages ()
(packages-install
'(ze... | Add spaces (save and restore window configs) | Add spaces (save and restore window configs)
| Emacs Lisp | unlicense | jeroentbt/.emacs.d |
4ee502e36ffe281bca7bd6f3b43b79a421882e5d | init-anything.el | init-anything.el | (require 'anything-config)
;; From http://www.emacswiki.org/cgi-bin/wiki/AnythingSources
(defvar anything-c-source-occur
'((name . "Occur")
(init . (lambda ()
(setq anything-occur-current-buffer
(current-buffer))))
(candidates . (lambda ()
(let ((anything... | (require 'anything-config)
(setq anything-sources
'(anything-c-source-buffers
anything-c-source-recentf
anything-c-source-occur
anything-c-source-files-in-current-dir
anything-c-source-emacs-commands
anything-c-source-emacs-functions))
(setq anything-samewindow nil)
(setq... | Remove local anything-c-source-occur defn, which is now part of anything-config | Remove local anything-c-source-occur defn, which is now part of anything-config
| Emacs Lisp | bsd-2-clause | ernest-dzf/emacs.d,danfengcao/emacs.d,gsmlg/emacs.d,cyjia/emacs.d,purcell/emacs.d,exclamaforte/emacs.d,jthetzel/emacs.d,Shanicky/emacs.d,kongfy/emacs.d,zuoshifan/emacs.d,wegatron/emacs.d,zuoshifan/emacs.d,farzadbekran/emacs.d,LittleLmp/emacs.d,Jadecity/PurcellEmacs.d,braveoyster/emacs.d,qinshulei/emacs.d,Enzo-Liu/emacs... |
00ddb4d8509d6b0847b475106acdbb6f3a1fffc8 | config/language_bitbake.el | config/language_bitbake.el | ;;; package --- Summary
;;; Commentary:
;;; Code:
(require 'bitbake)
sddsf
(add-tsdfo-list 'auto-mode-alist '("\\.bb\\'" . bitbake-mode))
(add-to-list 'auto-mode-alist '("\\.bbappend\\'" . bitbake-mode))
| ;;; package --- Summary
;;; Commentary:
;;; Code:
(require 'bitbake)
(add-to-list 'auto-mode-alist '("\\.bb\\'" . bitbake-mode))
(add-to-list 'auto-mode-alist '("\\.bbappend\\'" . bitbake-mode))
| Fix syntax error in bitbake config file | Fix syntax error in bitbake config file
| Emacs Lisp | unlicense | schanur/emacs.d |
87d74bf5867be4c2d691ed83151825f527b885b6 | emacs/pyjab.el | emacs/pyjab.el | ;;; pyjab.el --- control purple-powered IM clients from emacs using pyjab
;; Copyright (C) 2011 - Jérémie Roquet
;; Author: Jérémie Roquet <arkanosis@gmail.com>
;; Maintainer: Jérémie Roquet <arkanosis@gmail.com>
;; Version: 0.1
;; Keywords: purple jabber client chat
;; URL: http://github.com/Arkanosis/pyjab
(defun ... | ;;; pyjab.el --- control purple-powered IM clients from emacs using pyjab
;; Copyright (C) 2011 - Jérémie Roquet
;; Author: Jérémie Roquet <arkanosis@gmail.com>
;; Maintainer: Jérémie Roquet <arkanosis@gmail.com>
;; Version: 0.1
;; Keywords: purple jabber client chat
;; URL: http://github.com/Arkanosis/pyjab
(defun ... | Fix the comment at the end of the emacs module | Fix the comment at the end of the emacs module
The module is of course pyjab.el | Emacs Lisp | mit | Arkanosis/pyjab |
7d86121913f8c88c42cee59990b9accdc56184c3 | init-package/init-flycheck.el | init-package/init-flycheck.el | (require 'flycheck)
(dolist (mode '(elixir
json
python
ruby))
(add-hook (intern (concat (symbol-name mode) "-mode-hook"))
'flycheck-mode))
(setq flycheck-check-syntax-automatically '(save mode-enabled))
| (require 'flycheck)
(dolist (mode '(c
elixir
json
python
ruby))
(add-hook (intern (concat (symbol-name mode) "-mode-hook"))
'flycheck-mode))
(setq flycheck-check-syntax-automatically '(save mode-enabled))
| Add flycheck support for c-mode | Add flycheck support for c-mode
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
b2175d4dca84aa245cd60062bab74c2debc4bc64 | modules/my-snippets.el | modules/my-snippets.el | ;;; my-snippets.el --- Snippets 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://ww... | ;;; my-snippets.el --- Snippets 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://ww... | Add official yasnippet snippets collection | Add official yasnippet snippets collection
| Emacs Lisp | apache-2.0 | timanin/emacs.d |
cda41d9043f5fa8fc582315e0023366af96be7d3 | init-package/init-fill-column-indicator.el | init-package/init-fill-column-indicator.el | (require 'fill-column-indicator)
(setq fci-rule-column 79)
(setq fci-rule-width 1)
(setq fci-enabled 0)
(defun toggle-fill-column-indicator ()
(interactive)
(make-local-variable 'fci-enabled)
(if (> fci-enabled 0) (deactivate-fci) (activate-fci)))
(defun activate-fci ()
(setq fci-enabled 1)
(fci-mode 1))
... | (require 'fill-column-indicator)
(setq fci-rule-width 1)
(setq fci-enabled 0)
(defun toggle-fill-column-indicator ()
(interactive)
(make-local-variable 'fci-enabled)
(if (> fci-enabled 0) (deactivate-fci) (activate-fci)))
(defun activate-fci ()
(setq fci-rule-column 79)
(setq fci-enabled 1)
(fci-mode 1))... | Fix correct column to highlight with fill-column-indicator | Fix correct column to highlight with fill-column-indicator
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
0cffce600ebcda2a8a96ea25dc5b2c68a2326697 | dotfiles/spacemacs.d/sql-indent-config.el | dotfiles/spacemacs.d/sql-indent-config.el | (defun configure-sql-indentation ()
"Configure the indentation settings for `sqlind-minor-mode'."
(require 'sql-indent-left)
(setq
sqlind-basic-offset 2
sqlind-indentation-offsets-alist
`((in-select-clause +)
(select-join-condition +)
(nested-statement-open sqlind-use-anchor-indentation +)
... | (defun configure-sql-indentation ()
"Configure the indentation settings for `sqlind-minor-mode'."
(require 'sql-indent-left)
(setq
sqlind-basic-offset 2
sqlind-indentation-offsets-alist
`((in-select-clause +)
(select-join-condition +)
(nested-statement-open sqlind-use-anchor-indentation +)
... | Indent continuations of UPDATE clauses | Indent continuations of UPDATE clauses
| Emacs Lisp | mit | razzolini/dotfiles,razzolini/dotfiles,razzolini/dotfiles |
fbaeea38a06fa22f6d91ff71b936f4765969f0bd | emacs.d/init.el | emacs.d/init.el | (require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
(require 'evil)
(evil-mode t)
(require 'org)
(setq org-log-done t)
| (require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
(require 'evil)
(evil-mode t)
(require 'org)
(setq org-log-done t)
(menu-bar-mode -1)
| Disable the emacs menu bar | Disable the emacs menu bar
| Emacs Lisp | mit | alcesleo/dotfiles,alcesleo/dotfiles |
a4b516cd479c94dc47cb9c063c91859b235b3ad6 | init-anything.el | init-anything.el | (require 'anything-config)
(setq anything-sources
'(anything-c-source-org-headline
anything-c-source-buffers
anything-c-source-recentf
anything-c-source-files-in-current-dir
anything-c-source-lacarte
anything-c-source-emacs-commands
anything-c-source-emacs-function... | (require 'anything-config)
(setq anything-sources
'(anything-c-source-ctags
anything-c-source-org-headline
anything-c-source-buffers
anything-c-source-recentf
anything-c-source-files-in-current-dir
anything-c-source-lacarte
anything-c-source-emacs-commands
... | Enable ctags support in anything.el, and add ruby-mode to the list of supported modes | Enable ctags support in anything.el, and add ruby-mode to the list of supported modes
| Emacs Lisp | bsd-2-clause | jachinpy/emacs.d,roxolan/emacs.d,jachinpy/emacs.d,46do14/emacs.d,alant/emacs.d,farzadbekran/emacs.d,ilove0518/emacs.d,ruiyang/emacs.d,kongfy/emacs.d,cjqw/emacs.d,Togal/emacs.d,lujianmei/emacs.d,modkzs/emcs.d,ruiyang/emacs.d,arthurl/emacs.d,zuoshifan/emacs.d,whizzzkid/emacs.d,gsmlg/emacs.d,zuoshifan/emacs.d,dcorking/ema... |
22782283e14a36635969d8b2011b484d54cbab3c | home/.emacs.d/lisp/init-flycheck.el | home/.emacs.d/lisp/init-flycheck.el | ;;; init-flycheck.el -- Flycheck setup
;;; Commentary:
;;; Load Flycheck and define custom checkers
;;; Code:
(use-package flycheck
:config
(flycheck-def-config-file-var flycheck-haml-lintrc haml-lint ".haml-lint.yml"
:safe #'stringp)
(flycheck-define-checker haml-lint
"Haml style checker using haml-lin... | ;;; init-flycheck.el -- Flycheck setup
;;; Commentary:
;;; Load Flycheck and define custom checkers
;;; Code:
(use-package flycheck
:config
(flycheck-def-config-file-var flycheck-haml-lintrc haml-lint ".haml-lint.yml" :safe #'stringp)
(flycheck-define-checker haml-lint
"Haml style checker using haml-lint
Se... | Add a hydra to Flycheck | Add a hydra to Flycheck
| Emacs Lisp | mit | cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles |
0b1311a22769bd4ea0cce819f37a5bce143f959c | Emacs/init.el | Emacs/init.el | ;; Gosin's Emacs Configuration 2021/01/09
;; add ELPA and MELPA package repos
(setq package-archives
'(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")))
;; user solarized dark color theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/solarized_theme")
(set-terminal-paramete... | ;; Gosin's Emacs Configuration 2021/01/09
;; add ELPA and MELPA package repos
(setq package-archives
'(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")))
;; user solarized dark color theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/solarized_theme")
(set-terminal-paramete... | Store back up files to temp directory for Emacs | Store back up files to temp directory for Emacs
| Emacs Lisp | mit | Gosin/Vim4Gosin |
d06f12bc431336921285d40bbbf4d2b83c0d1345 | init-csv.el | init-csv.el | (require-package 'csv-mode)
(require-package 'csv-nav)
(add-auto-mode 'csv-mode "\\.[Cc][Ss][Vv]\\'")
(autoload 'csv-nav-mode "csv-nav" "Major mode for navigating comma-separated value files." t)
(setq csv-separators '("," ";" "|" " "))
(provide 'init-csv)
| (require-package 'csv-mode)
(require-package 'csv-nav)
(add-auto-mode 'csv-mode "\\.[Cc][Ss][Vv]\\'")
(setq csv-separators '("," ";" "|" " "))
(provide 'init-csv)
| Remove redundant autoload for csv-nav-mode (fixed upstream) | Remove redundant autoload for csv-nav-mode (fixed upstream)
| Emacs Lisp | bsd-2-clause | kongfy/emacs.d,Togal/emacs.d,danfengcao/emacs.d,alant/emacs.d,zenith-john/emacs.d,kindoblue/emacs.d,ruiyang/emacs.d,Guoozz/emacs.d,jachinpy/emacs.d,jachinpy/emacs.d,farzadbekran/emacs.d,jkaessens/emacs.d,qinshulei/emacs.d,ruiyang/emacs.d,farzadbekran/emacs.d,emuio/emacs.d,mmqmzk/emacs.d,fengxl/emacs.d,whizzzkid/emacs.d... |
11b345bd4d338dc73befc3964ebb9c1a493eb7eb | lisp/init-elm.el | lisp/init-elm.el | (when (maybe-require-package 'elm-mode)
(setq-default elm-format-on-save t)
(after-load 'elm-mode
(diminish 'elm-indent-mode)
(add-hook 'elm-mode-hook
(lambda () (sanityinc/local-push-company-backend 'company-elm)))
(when (executable-find "elm-format")
(setq-default elm-format-on-sav... | (when (maybe-require-package 'elm-mode)
(setq-default elm-format-on-save t)
(after-load 'elm-mode
(diminish 'elm-indent-mode)
(add-hook 'elm-mode-hook
(lambda () (sanityinc/local-push-company-backend 'company-elm)))
(when (executable-find "elm-format")
(setq-default elm-format-on-sav... | Use elm-test-runner instead of elm-test | Use elm-test-runner instead of elm-test
| Emacs Lisp | bsd-2-clause | baohaojun/emacs.d,purcell/emacs.d,kongfy/emacs.d,krzysz00/emacs.d,mmqmzk/emacs.d,wegatron/emacs.d,qianwan/emacs.d,me020523/emacs.d,kindoblue/emacs.d,blueseason/emacs.d,gsmlg/emacs.d,svenyurgensson/emacs.d,cjqw/emacs.d,lust4life/emacs.d,emuio/emacs.d,arthurl/emacs.d,blueabysm/emacs.d,braveoyster/emacs.d,dcorking/emacs.d... |
3392676fcf5c59e1ff668078d7afb2c9093268df | init-haskell.el | init-haskell.el | (require-package 'haskell-mode)
(dolist (hook '(haskell-mode-hook inferior-haskell-mode-hook))
(add-hook hook 'turn-on-haskell-doc-mode))
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
(eval-after-load 'haskell-mode
'(progn
(define-key haskell-mode-map (kbd "C-c h") 'hoogle)
(define-key haskell-... | (require-package 'haskell-mode)
(dolist (hook '(haskell-mode-hook inferior-haskell-mode-hook))
(add-hook hook 'turn-on-haskell-doc-mode))
(add-auto-mode 'haskell-mode "\\.ghci\\'")
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
(eval-after-load 'haskell-mode
'(progn
(define-key haskell-mode-map (kbd... | Use haskell-mode for .ghci files | Use haskell-mode for .ghci files
| Emacs Lisp | bsd-2-clause | blueseason/emacs.d |
1105fe6a147860b0e13e584aa7ba48331bb954c1 | emacs.d/parts/web-tech-part.el | emacs.d/parts/web-tech-part.el | (use-package web-mode
:ensure t)
(use-package json-mode
:ensure t)
(use-package js2-mode
:ensure t)
(provide 'web-tech-part)
| (use-package web-mode
:ensure t
:config
(add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode))
(setq-default web-mode-code-indent-offset 2)
(setq-default web-mode-markup-indent-offset 2)
(setq-default web-mode-css-indent-offset 2))
(use-package json-mode
:ensure t)
(use-package js2-mode
:ensure t)
... | Make php default to web-mode | Make php default to web-mode
| Emacs Lisp | mit | ubercow/udots |
c3f12a793c709ca5954e0fe7c4a4a0160c3dd32d | init-package/init-volatile-highlights.el | init-package/init-volatile-highlights.el | (use-package volatile-highlights
:init (volatile-highlights-mode t)
:config
(progn
;; define extensions for evil mode
(vhl/define-extension 'evil_past_after 'evil-paste-after)
(vhl/install-extension 'evil_past_after)))
| (use-package volatile-highlights
:init (volatile-highlights-mode t))
| Remove evil config for volatile highlight (not working) | Remove evil config for volatile highlight (not working)
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
9ab347e99b9bfed0413b074306df4a0bd119d979 | home/.emacs.d/lisp/init-uml.el | home/.emacs.d/lisp/init-uml.el | ;;; init-uml.el -- uml inside emacs
;;; Commentary:
;;; edit and preview plant uml files inside Emacs
;;; Code:
(require 'use-package)
(use-package puml-mode
:mode (("\\.puml\\'" . puml-mode)
("\\.plantuml\\'" . puml-mode)))
(provide 'init-uml)
;;; init-uml.el ends here
| ;;; init-uml.el -- uml inside emacs
;;; Commentary:
;;; edit and preview plant uml files inside Emacs
;;; Code:
(require 'use-package)
(use-package plantuml-mode
:mode (("\\.puml\\'" . puml-mode)
("\\.plantuml\\'" . puml-mode)))
(provide 'init-uml)
;;; init-uml.el ends here
| Fix Plant UML Emacs package name | Fix Plant UML Emacs package name
| Emacs Lisp | mit | cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles |
92dd98734b66c482530a5b86099802111c18c75a | .emacs.d/modes.el | .emacs.d/modes.el | (column-number-mode t)
(display-time-mode 1)
(electric-pair-mode t)
(auto-fill-mode -1)
(global-linum-mode 1)
(setq-default indent-tabs-mode nil)
(popwin-mode 1)
(drag-stuff-global-mode 1)
(global-auto-complete-mode t)
(whole-line-or-region-mode t)
| (column-number-mode t)
(display-time-mode 1)
(electric-pair-mode t)
(auto-fill-mode -1)
(global-linum-mode 1)
(setq-default indent-tabs-mode nil)
(popwin-mode 1)
(delete-selection-mode 1)
(drag-stuff-global-mode 1)
(global-auto-complete-mode t)
(whole-line-or-region-mode t)
| Add deletion mode to emacs | Add deletion mode to emacs
| Emacs Lisp | mit | spapanik/configuration,spapanik/configuration |
78aae4069ad2ddba7506ae5f5688a286087cee9f | modes/eglot-conf.el | modes/eglot-conf.el | ;;; eglot-conf.el -- Settings for eglot
;;
;;; Commentary:
;;
;;; Code:
(require 'eglot)
(custom-set-variables
'(eglot-auto-display-help-buffer nil)
'(eglot-autoshutdown t))
(defvar pjones:eglot-doc-cleanup
(list
(list (rx (and "```haskell" ?\n (1+ (not (any ?:))) ?\n ":: ")
(group (1+ (not (any ?... | ;;; eglot-conf.el -- Settings for eglot
;;
;;; Commentary:
;;
;;; Code:
(require 'eglot)
(custom-set-variables
'(eglot-autoshutdown t))
(defun pjones:eglot--snippet-expansion-fn ()
"Keep eglot from using yasnippet."
nil)
(advice-add
'eglot--snippet-expansion-fn
:override #'pjones:eglot--snippet-expansion-fn)
... | Remove deprecated options and dead code | eglot: Remove deprecated options and dead code
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
f33cc3d16434e258b8b4c7af178a2d7c3a8b139e | layers/mfa-treemacs/packages.el | layers/mfa-treemacs/packages.el | ;; -*- lexical-binding: t -*-
(defconst mfa-treemacs-packages '(treemacs))
(defun mfa-treemacs/post-init-treemacs ()
(with-eval-after-load 'treemacs
;; Adjust icon sizes to the DPI of the display.
(spacemacs|do-after-display-system-init
(treemacs-resize-icons (* 22 (display-scaling-factor))))
;; F... | ;; -*- lexical-binding: t -*-
(defconst mfa-treemacs-packages '(treemacs treemacs-evil))
(defun mfa-treemacs/post-init-treemacs ()
(with-eval-after-load 'treemacs
;; Adjust icon sizes to the DPI of the display.
(spacemacs|do-after-display-system-init
(treemacs-resize-icons (* 22 (display-scaling-factor... | Fix customizations of Treemacs key bindings | Fix customizations of Treemacs key bindings
The customized key bindings for "h/l" did not take effect until this change.
| Emacs Lisp | mit | amfranz/spacemacs.d |
261eb24c95de31300b4e3e0bc9d2267b4bfc2c8c | modes/magit-conf.el | modes/magit-conf.el | ;;; magit-conf.el -- Customizations for magit.
(eval-when-compile
(defvar magit-last-seen-setup-instructions)
(setq magit-last-seen-setup-instructions "1.4.0")
(require 'magit))
;; Shamelessly stolen from http://whattheemacsd.com/.
(defadvice magit-status (around magit-fullscreen activate)
(window-configuratio... | ;;; magit-conf.el -- Customizations for magit.
(eval-when-compile
(defvar magit-last-seen-setup-instructions)
(setq magit-last-seen-setup-instructions "1.4.0")
(require 'magit))
(custom-set-variables
'(magit-popup-use-prefix-argument default))
;; Shamelessly stolen from http://whattheemacsd.com/.
(defadvice ma... | Fix an issue with magit | Fix an issue with magit
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
7371582a97e067fae0b38cb660563948a6e42ab8 | config/newemacs/settings/cedet-settings.el | config/newemacs/settings/cedet-settings.el | (require 'cc-mode)
(require 'semantic)
(global-semanticdb-minor-mode 1)
(global-semantic-idle-scheduler-mode 1)
(global-semantic-stickyfunc-mode 1)
(semantic-mode 1)
(defun rz/cedet-hook ()
(evil-leader/set-key
"j" 'semantic-ia-fast-jump
"cs" 'semantic-ia-show-summary))
(add-hook 'c-mode-common-hook 'rz/ce... | (require 'cc-mode)
(require 'semantic)
(global-semanticdb-minor-mode 1)
(global-semantic-idle-scheduler-mode 1)
(global-semantic-stickyfunc-mode 1)
(semantic-mode 1)
(defun rz/cedet-hook ()
(evil-leader/set-key
"j" 'semantic-ia-fast-jump
"cs" 'semantic-ia-show-summary
"ci" 'helm-semantic-or-imenu))
(ad... | Add a command to display helm semantic or imenu | Add a command to display helm semantic or imenu
| Emacs Lisp | mit | rogerzanoni/dotfiles |
17e5cdc46e2e0a71070bf63e98be2ba727d1a579 | setup-files/setup-paradox.el | setup-files/setup-paradox.el | ;; Time-stamp: <2015-10-09 16:49:24 kmodi>
;; Paradox
;; https://github.com/Malabarba/paradox
(use-package paradox
:commands (package-list-packages
paradox-list-packages hydra-launch/paradox-list-packages-and-exit)
:config
(progn
;; The "paradox-token" file is supposed to contain this line:
... | ;; Time-stamp: <2015-10-14 16:24:24 kmodi>
;; Paradox
;; https://github.com/Malabarba/paradox
(use-package paradox
:commands (package-list-packages
paradox-list-packages
hydra-launch/paradox-list-packages-and-exit)
:config
(progn
;; The "paradox-token" file is supposed to contain t... | Add hydra-paradox-filter, bound to "f" key | Add hydra-paradox-filter, bound to "f" key
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
2c81ddb96b7986343bff1be2208b3641b2af7186 | settings/lk/customizations.el | settings/lk/customizations.el | ;;;; lk/customipaczations.el -- custom functions which make using emacs easier
;;; Commentary:
;;; If stuff grows too big, move it out to a separate file
;;; Code:
;; Editing helpers
(defun lk/count-buffers ()
(length (buffer-list)))
;; OSX stuff, make sure alt is meta in GUI emacs
(defun mac-switch-meta nil
"s... | ;;;; lk/customipaczations.el -- custom functions which make using emacs easier
;;; Commentary:
;;; If stuff grows too big, move it out to a separate file
;;; Code:
;; Editing helpers
(defun lk/count-buffers ()
(length (buffer-list)))
;; OSX stuff, make sure alt is meta in GUI emacs
(defun mac-switch-meta nil
"s... | Make it work with Linux | [emacs] Make it work with Linux
| Emacs Lisp | mit | lukaszkorecki/cult-leader |
e8e29d55ce3c4e7b47b16828443483206a0e403a | lisp/init-fonts.el | lisp/init-fonts.el | ;;; Character sets
(defcustom sanityinc/force-default-font-for-symbols nil
"When non-nil, force Emacs to use your default font for symbols."
:type 'boolean)
(defun sanityinc/maybe-use-default-font-for-symbols ()
"Force Emacs to render symbols using the default font, if so configured."
(when sanityinc/force-de... | ;;; Character sets
(defcustom sanityinc/force-default-font-for-symbols nil
"When non-nil, force Emacs to use your default font for symbols."
:type 'boolean)
(defun sanityinc/maybe-use-default-font-for-symbols ()
"Force Emacs to render symbols using the default font, if so configured."
(when sanityinc/force-de... | Add Asian fonts fix for OSX | Add Asian fonts fix for OSX
| Emacs Lisp | bsd-2-clause | ttimasdf/emacs.d,ttimasdf/emacs.d,ttimasdf/emacs.d,ttimasdf/emacs.d,ttimasdf/emacs.d |
9bf1ccaac617fecd509b28e126c84b31f0eba8ab | 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)
|
(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-... | Fix M-n and M-p when LSP is active | Fix M-n and M-p when LSP is active
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
197a2a947b0dfec7146e0cdd6b714e165f971d43 | emacs/site-lisp/init-eshell.el | emacs/site-lisp/init-eshell.el | (use-package eshell-git-prompt
:config
(eshell-git-prompt-use-theme 'powerline))
(provide 'init-eshell)
| (use-package eshell-git-prompt
:hook
(eshell-mode . (lambda () (setq show-trailing-whitespace nil)))
:config
(eshell-git-prompt-use-theme 'powerline))
(provide 'init-eshell)
| Remove trailing whitespaces in eshell mode | Remove trailing whitespaces in eshell mode
| Emacs Lisp | mit | hongchangwu/dotfiles,hongchangwu/dotfiles |
05acabbcf0d41b6f853e88ee45f491018c752527 | emacs/emacs.d/my-helm.el | emacs/emacs.d/my-helm.el | (require 'helm-config)
(helm-mode 1)
(bind-keys :map shell-mode-map
("C-c C-l" . helm-comint-input-ring))
(bind-keys :map minibuffer-local-map
("C-c C-l" . helm-minibuffer-history))
(setq helm-M-x-fuzzy-match t)
(setq helm-buffers-fuzzy-matching t)
(require 'helm-ls-git)
(setq helm-ls-git-show... | (require 'helm-config)
(helm-mode 1)
(bind-keys :map shell-mode-map
("C-c C-l" . helm-comint-input-ring))
(bind-keys :map minibuffer-local-map
("C-c C-l" . helm-minibuffer-history))
(setq helm-grep-save-buffer-name-no-confirm t)
(setq helm-M-x-fuzzy-match t)
(setq helm-buffers-fuzzy-matching t)
... | Save w/o asking me the buffer name | Save w/o asking me the buffer name
| Emacs Lisp | mit | sri/dotfiles,sri/dotfiles,sri/dotfiles |
ecb0eebd0becf954e4e2165f67e4d8246bb6594a | common/_emacs.d/config/config-addons.el | common/_emacs.d/config/config-addons.el | ;;; Package -- Summary
;;; Commentary:
;;; Dumping ground for interactive functions, and things like that.
;;; Maybe extensions is a better name? Must ponder.
;;; Code:
;; This should really be region specific.
(defun toggle-comment-on-line ()
"Comment or uncomment current line."
(interactive)
(comment-or-uncomm... | ;;; Package -- Summary
;;; Commentary:
;;; Dumping ground for interactive functions, and things like that.
;;; Maybe extensions is a better name? Must ponder.
;;; Code:
;; This should really be region specific.
(defun toggle-comment-on-line ()
"Comment or uncomment current line."
(interactive)
(comment-or-uncomm... | Add a few more addons | Add a few more addons
| Emacs Lisp | mit | gehrman/dotfiles,gehrman/dotfiles |
156b29f1b7f82ab098b0f02316ac8f6792b8e263 | emacs.d/personal/init/packages.el | emacs.d/personal/init/packages.el | (prelude-require-packages '(ag
aggressive-indent
helm-ag
color-theme-sanityinc-tomorrow
gruvbox-theme
solarized-theme
monokai-theme
... | (prelude-require-packages '(
ag
aggressive-indent
chruby
color-theme-sanityinc-tomorrow
evil-args
evil-jumper
evil-matchit
... | Include chruby and projectile rails | Include chruby and projectile rails
Sorted the package list
| Emacs Lisp | mit | caleb/dotfiles,caleb/dotfiles,caleb/dotfiles |
b6f789a2762e7f737b04d92de88040b9d5344e25 | emacs/modes/markdown-mode-conf.el | emacs/modes/markdown-mode-conf.el | ;;; markdown-conf.el -- Settings for markdown-mode.
(eval-when-compile (require 'markdown-mode))
(setq markdown-command "pandoc -f markdown -t html"
markdown-follow-wiki-link-on-enter nil)
(defun pjones:markdown-mode-hook ()
"Set up key bindings and other crap for markdown-mode."
(local-set-key (kbd "C-c C-... | ;;; markdown-conf.el -- Settings for markdown-mode.
(eval-when-compile
(require 'markdown-mode))
(setq markdown-command "pandoc -f markdown -t html"
markdown-follow-wiki-link-on-enter nil)
(defun pjones:markdown-mode-hook ()
"Set up key bindings and other crap for markdown-mode."
(local-set-key (kbd "C-c ... | Use visual-line-mode instead of the deprecated longlines-mode | Emacs: Use visual-line-mode instead of the deprecated longlines-mode
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
625a8a9056aca9f3de25db45c5e03fb276b4d451 | modules/emacs/term/autoload.el | modules/emacs/term/autoload.el | ;;; emacs/term/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +term/open (&optional project-root)
"Open a terminal buffer in the current window. If PROJECT-ROOT (C-u) is
non-nil, cd into the current project's root."
(interactive "P")
(let ((default-directory (if project-root (doom-project-root 'no... | ;;; emacs/term/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +term/open (&optional project-root)
"Open a terminal buffer in the current window. If PROJECT-ROOT (C-u) is
non-nil, cd into the current project's root."
(interactive "P")
(let ((default-directory
(if project-root
... | Fix multi-term buffers missing from buffer list | Fix multi-term buffers missing from buffer list
Caused because switch buffer hooks weren't triggering, due to
multi-term's odd use of set-buffer before switch-to-buffer.
| Emacs Lisp | mit | UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlis... |
7d5f35b57824c0def907ff1660ce0b5cdf3f355b | emacs/site-lisp/init-company.el | emacs/site-lisp/init-company.el | ;; Company mode
(require 'company)
(add-hook 'after-init-hook 'global-company-mode)
(provide 'init-company)
| ;; Company mode
(require 'company)
(add-hook 'after-init-hook 'global-company-mode)
;; Fix compatibility issue with fill-column-indicator
(defun on-off-fci-before-company(command)
(when (string= "show" command)
(turn-off-fci-mode))
(when (string= "hide" command)
(turn-on-fci-mode)))
(advice-add 'company-c... | Fix compatibility issue with fill-column-indicator | Fix compatibility issue with fill-column-indicator
| Emacs Lisp | mit | hongchangwu/dotfiles,hongchangwu/dotfiles |
76bc65b6c9744dee35d65291e7da471972a18839 | home/.emacs.d/lisp/init-display.el | home/.emacs.d/lisp/init-display.el | ;;; init-display.el -- display setup
;;; Commentary:
;;; customize emacs display
;;; Code:
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)
(setq indicate-buffer-boundaries
'((t . right) (bottom . right)))
(setq indicate-empty-lines t)
(setq scroll-margin 3)
(setq scroll-step 1)
(setq-default scroll-... | ;;; init-display.el -- display setup
;;; Commentary:
;;; customize emacs display
;;; Code:
(require-package 'fill-column-indicator)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)
(setq indicate-buffer-boundaries
'((t . right) (bottom . right)))
(setq indicate-empty-lines t)
(setq scroll-margin 3)
... | Add fill-column indicator to Emacs | Add fill-column indicator to Emacs
| Emacs Lisp | mit | cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles,cartolari/dotfiles |
f01e1054943047741a6381683b7a52f05e4d7379 | elisp/setup-modes.el | elisp/setup-modes.el | ;;; setup-modes.el --- Modes that don't require separate files.
;;; Commentary:
;;; Code:
;; yaml-mode. mainly for syntax highlighting
(use-package yaml-mode
:ensure t ;; seems like overkill
:config
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)))
(use-package camcorder
:defer t)
;; not sure where ... | ;;; setup-modes.el --- Modes that don't require separate files.
;;; Commentary:
;;; Code:
;; yaml-mode. mainly for syntax highlighting
(use-package yaml-mode
:ensure t ;; seems like overkill
:config
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)))
(use-package camcorder
:defer t)
;; not sure where ... | Diminish subword mode to "w" | Diminish subword mode to "w"
| Emacs Lisp | mit | anachronic/emacs.d,anachronic/emacs.d |
a2efa2455807b0ac5e1548a863f774b301c0b566 | setup-files/setup-conf.el | setup-files/setup-conf.el | ;; Time-stamp: <2015-06-30 16:51:07 kmodi>
;; Conf Mode
(use-package conf-mode
:mode (("\\.conf\\'" . conf-space-mode)
("\\.setup.*\\'" . conf-space-mode)))
(provide 'setup-conf)
| ;; Time-stamp: <2017-08-15 12:05:32 kmodi>
;; Conf Mode
(use-package conf-mode
:mode (("\\.conf\\'" . conf-space-mode)
("\\.setup.*\\'" . conf-space-mode))
:config
(progn
(defun modi/conf-quote-normal ()
"Enable `conf-quote-normal' for *.setup files."
(when-let* ((fname (buffer-file-nam... | Set syntax of ' and " to punctuation for some conf-space-mode files | Set syntax of ' and " to punctuation for some conf-space-mode files
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
a76dff50da01000a236dff6693bc5f6ff98c72db | setup-files/setup-nim.el | setup-files/setup-nim.el | ;; Time-stamp: <2018-05-10 09:44:07 kmodi>
;; Nim
;; https://github.com/nim-lang/nim-mode
(use-package nim-mode
:ensure t
:mode (("\\.nim\\'" . nim-mode))
:config
(progn
(key-chord-define nim-mode-map "??" #'devdocs-lookup)
(with-eval-after-load 'smart-compile
(add-to-list 'smart-compile-alist
... | ;; Time-stamp: <2018-05-24 11:56:21 kmodi>
;; Nim
;; https://github.com/nim-lang/nim-mode
(use-package nim-mode
:ensure t
:mode (("\\.nim\\'" . nim-mode))
:chords (:map nim-mode-map
("??" . devdocs-lookup))
:config
(progn
(with-eval-after-load 'smart-compile
(add-to-list 'smart-compile-... | Move the nim-mode specific key-chord binding to :chords | Move the nim-mode specific key-chord binding to :chords
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
0d3504587d4e7a85b57da89201485d810d9dbb19 | .emacs.d/config/post-package-load.d/zz99_auto-mode-alist.el | .emacs.d/config/post-package-load.d/zz99_auto-mode-alist.el | (add-to-list 'auto-mode-alist '("\.S" . asm-mode))
| ;; Forcibly prepend the following auto-mode-alist.
(seq-doseq (mode '(("\\.[sS]\\'" . asm-mode)))
(add-to-list 'auto-mode-alist mode
nil (lambda (a b) nil)))
| Fix auto-mode-alist regex patter for asm-mode. | Fix auto-mode-alist regex patter for asm-mode.
| Emacs Lisp | apache-2.0 | pw4ever/dotemacs,pw4ever/dotemacs,pw4ever/dotemacs,pw4ever/dotemacs,pw4ever/dotemacs |
52bee5408a0949b35414446b20513b932e2c1347 | init-haskell.el | init-haskell.el | (require-package 'haskell-mode)
(setq haskell-font-lock-symbols t)
(add-hook 'haskell-mode-hook
(lambda ()
(define-key haskell-mode-map (kbd "C-c h") 'hoogle)
(turn-on-haskell-doc-mode)
(turn-on-haskell-indent)))
(provide 'init-haskell)
| (require-package 'haskell-mode)
(setq haskell-font-lock-symbols t)
(add-hook 'haskell-mode-hook
(lambda ()
(define-key haskell-mode-map (kbd "C-c h") 'hoogle)
(turn-on-haskell-doc-mode)
(turn-on-haskell-indent)))
(require-package 'flymake-hlint)
(add-hook 'haskell-mode-ho... | Use my new flymake-hlint with haskell source | Use my new flymake-hlint with haskell source
| Emacs Lisp | bsd-2-clause | blueseason/emacs.d |
8cd7417c23f5d54369c884816092b9fa78c4dedd | setup-files/setup-buffer-move.el | setup-files/setup-buffer-move.el | ;; Time-stamp: <2015-06-15 17:08:47 kmodi>
(use-package buffer-move
:config
(progn
(bind-to-modi-map "," #'buf-move-left)
(bind-to-modi-map "." #'buf-move-right)
(bind-to-modi-map "k" #'buf-move-up)
(bind-to-modi-map "K" #'buf-move-down)))
(provide 'setup-buffer-move)
| ;; Time-stamp: <2015-11-06 11:01:35 kmodi>
;; https://github.com/lukhas/buffer-move
(use-package buffer-move
:commands (modi/buf-move-left
modi/buf-move-right
modi/buf-move-up
modi/buf-move-down)
:init
(progn
(bind-to-modi-map "," #'modi/buf-move-left)
(bind-to-mod... | Make “move” the dflt behav for buf-move cmds | Make “move” the dflt behav for buf-move cmds
- Also added wrapper functions to pick either the 'swap or 'move
behavior
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.