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 |
|---|---|---|---|---|---|---|---|---|---|
0e79e275ce28d1ca12f9be84ae59d74a0ea4407b | layers/+lang/extra-langs/packages.el | layers/+lang/extra-langs/packages.el | (setq extra-langs-packages
'(
arduino-mode
julia-mode
matlab-mode
qml-mode
scad-mode
stan-mode
thrift
wolfram-mode
))
(defun extra-langs/init-arduino-mode ()
(use-package arduino-mode :defer t))
(defun extra-langs/init-scad-mode ()
(use-package scad-mode :defer t))
(defun ex... | (setq extra-langs-packages
'(
arduino-mode
julia-mode
matlab-mode
qml-mode
scad-mode
stan-mode
thrift
wolfram-mode
))
(defun extra-langs/init-arduino-mode ()
(use-package arduino-mode :defer t))
(defun extra-langs/init-scad-mode ()
(use-package scad-mode :defer t))
(defun ex... | Add extension ".wl" for wolfram-mode | Add extension ".wl" for wolfram-mode
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
a35896e0535051288f14f8b88fe544baa2abd6f5 | 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 | svenyurgensson/emacs.d |
8778eb22883fcdbca757993a844c57b8589f3649 | modules/lang/lean/config.el | modules/lang/lean/config.el | ;;; lang/lean/config.el -*- lexical-binding: t; -*-
(after! lean-mode
(set-lookup-handlers! 'lean-mode
:definition #'lean-find-definition)
(sp-with-modes 'lean-mode
(sp-local-pair "/-" "-/")
(sp-local-pair "`" "`")
(sp-local-pair "{" "}")
(sp-local-pair "«" "»")
(sp-local-pair "⟨" "⟩")
... | ;;; lang/lean/config.el -*- lexical-binding: t; -*-
(after! lean-mode
(set-lookup-handlers! 'lean-mode
:definition #'lean-find-definition)
(sp-with-modes 'lean-mode
(sp-local-pair "/-" "-/")
(sp-local-pair "`" "`")
(sp-local-pair "{" "}")
(sp-local-pair "«" "»")
(sp-local-pair "⟨" "⟩")
... | Disable auto initializatinon of company in lean mode | Disable auto initializatinon of company in lean mode
Signed-off-by: Rudi Grinberg <4c46c202a3b8207ad5740134b125aae40c6c67a8@gmail.com>
| Emacs Lisp | mit | hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,Unde... |
c79a99254531e8609a9a84d8c7b974da318f8255 | modules/tools/vterm/packages.el | modules/tools/vterm/packages.el | ;; -*- no-byte-compile: t; -*-
;;; tools/vterm/packages.el
(package! vterm :recipe (:fetcher github :repo "akermu/emacs-libvterm"))
| ;; -*- no-byte-compile: t; -*-
;;; tools/vterm/packages.el
(package! vterm :recipe
(:fetcher github
:repo "akermu/emacs-libvterm"
:files ("*")))
| Include all files with vterm package | Include all files with vterm package
They are needed to compile vterm-module.so | Emacs Lisp | mit | hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/e... |
74830d52dc797025785903c6d858c6322407f8cc | site-lisp/gtags-tweaks.el | site-lisp/gtags-tweaks.el | (autoload 'gtags-mode "gtags" "" t)
(defun gtags-create-or-update ()
"Create or update the gnu global tag file."
(interactive)
(if (not (= 0 (call-process "global" nil nil nil " -p")))
(let ((olddir default-directory)
(topdir (read-directory-name
"gtags: top of source tree:... | (autoload 'gtags-mode "gtags" "" t)
(defun gtags-create-or-update ()
"Create or update the gnu global tag file."
(interactive)
(if (not (= 0 (call-process "global" nil nil nil " -p")))
(let ((olddir default-directory)
(topdir (read-directory-name
"gtags: top of source tree:... | Use specific Ruby (not very portable, needs fix) | Use specific Ruby (not very portable, needs fix)
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
d1c9d3400d7705a6f82d76c5a717cdcd97d86461 | init-rails.el | init-rails.el | (eval-after-load 'rinari
`(let ((rinari-lib-dir (directory-of-library "rinari")))
(unless (require 'jump nil t)
(error "jump.el not found; please run 'git submodule update --init' in %s"
rinari-lib-dir))
;; Prevent rinari from shadowing ruby-mode and inf-ruby with its bundled copies
... | (global-rinari-mode)
(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 -R app lib vendor test"))))
(provide 'init-rails)
| Use new global-rinari-mode in place of old hooks + rinari-launch scheme | Use new global-rinari-mode in place of old hooks + rinari-launch scheme
| Emacs Lisp | bsd-2-clause | pairyo/emacs.d,blueabysm/emacs.d,mmqmzk/emacs.d,mpwang/emacs.d,Shanicky/emacs.d,ruiyang/emacs.d,roxolan/emacs.d,zuoshifan/emacs.d,exclamaforte/emacs.d,danfengcao/emacs.d,caoyuanqi/emacs.d,svenyurgensson/emacs.d,scorpionis/emacs.d,farzadbekran/emacs.d,gsmlg/emacs.d,wegatron/emacs.d,jthetzel/emacs.d,Togal/emacs.d,ruiyang... |
005c96fbe544c22b1c65f1565e838b9ea80c6f3b | modules/syntax-check.el | modules/syntax-check.el | ;;; -*- lexical-binding: t -*-
;;; syntax-check.el --- Syntax checking settings.
;; Copyright (C) 2016 Sergey Timanin
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.ap... | ;;; -*- lexical-binding: t -*-
;;; syntax-check.el --- Syntax checking settings.
;; Copyright (C) 2016 Sergey Timanin
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;; http://www.ap... | Add key bindingings for flycheck. | Add key bindingings for flycheck.
| Emacs Lisp | apache-2.0 | timanin/emacs.d |
e65b06c3f3cc07db8a7fff0b04a9416737466e9c | layers/mfa-string-inflection/packages.el | layers/mfa-string-inflection/packages.el | (defconst mfa-string-inflection-packages '(string-inflection))
(defun mfa-string-inflection/init-string-inflection ()
(use-package string-inflection
:defer t
:init
(progn
(spacemacs/declare-prefix "xi" "string-inflection")
(spacemacs/set-leader-keys "xic" #'string-inflection-camelcase)
... | (defconst mfa-string-inflection-packages '(string-inflection))
(defun mfa-string-inflection/init-string-inflection ()
(use-package string-inflection
:defer t
:init
(progn
(spacemacs/declare-prefix "xi" "string-inflection")
(spacemacs/set-leader-keys "xic" #'string-inflection-camelcase)
... | Add binding for new string-inflection method | Add binding for new string-inflection method
| Emacs Lisp | mit | amfranz/spacemacs.d |
e23dc884b9c6f90910d149c3946aed58615fffb4 | 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 | blueseason/emacs.d |
298c66efec5397378156ddb3dc1260930d81fe42 | radian-emacs/radian-help.el | radian-emacs/radian-help.el | ;;; radian-help.el --- Improve the Emacs help system
(require 'radian-package)
;; This package provides several useful features, but the most
;; important is `describe-keymap'. Because the package is rather
;; outdated, it's not autoloaded. (But `use-package' takes care of
;; that for us.)
(use-package help-fns+
:d... | ;;; radian-help.el --- Improve the Emacs help system
(require 'radian-package)
;; This package provides several useful features, but the most
;; important is `describe-keymap'. Because the package is rather
;; outdated, it's not autoloaded. (But `use-package' takes care of
;; that for us.)
(use-package help-fns+
:d... | Make sure describe-symbol isn't unbound | Make sure describe-symbol isn't unbound
| Emacs Lisp | mit | raxod502/radian,raxod502/radian |
3906c1ffa6c9d868c3d74c2edf9c6ef531ab76fc | init-maxframe.el | init-maxframe.el | (require 'maxframe)
(when *is-cocoa-emacs*
(fset 'maximize-frame 'x-maximize-frame)
(fset 'restore-frame 'x-restore-frame))
(when *macbook-pro-support-enabled*
(setq mf-max-width 1440
mf-max-height 890
mf-display-padding-width 4
mf-offset-x 0
mf-display-padding-height (if ns-auto-h... | (require 'maxframe)
(when *is-cocoa-emacs*
(fset 'maximize-frame 'x-maximize-frame)
(fset 'restore-frame 'x-restore-frame))
(when *macbook-pro-support-enabled*
(setq mf-max-width 1440
mf-max-height 894
mf-display-padding-width 4
mf-offset-x 0
mf-display-padding-height (if ns-auto-h... | Tweak max window height for maxframe under OS X | Tweak max window height for maxframe under OS X
| Emacs Lisp | bsd-2-clause | bibaijin/emacs.d,dcorking/emacs.d,dhanunjaya/emacs.d,boblannon/emacs.d,lujianmei/emacs.d,roxolan/emacs.d,zuoshifan/emacs.d,benkha/emacs.d,farzadbekran/emacs.d,farzadbekran/emacs.d,ilove0518/emacs.d,hkcqr/emacs.d,Werewolflsp/emacs.d,danfengcao/emacs.d,whizzzkid/emacs.d,scorpionis/emacs.d,Jadecity/PurcellEmacs.d,46do14/e... |
0d4781bae15e5175dbbe6112e2761a3d23d22a95 | lisp/packages.el | lisp/packages.el | ;;; packages.el -- Emacs package management
(require 'package)
(defvar pjones:package-archives
'(("org" . "http://orgmode.org/elpa/")
("melpa" . "http://melpa.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/"))
"List of package archives to use with Emacs.")
(defvar pjones:pack... | ;;; packages.el -- Emacs package management
(require 'package)
(defvar pjones:package-archives
'(("org" . "http://orgmode.org/elpa/")
("melpa" . "http://melpa.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/"))
"List of package archives to use with Emacs.")
(defvar pjones:pack... | Add the no-littering package. Still need to configure it | Add the no-littering package. Still need to configure it
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
0a1a4776a866e9ea09aef42afe9a62959c1221c2 | emacs/common/.emacs.d/private/local/custom.el | emacs/common/.emacs.d/private/local/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.
'(global-hl-todo-mode t)
'(hl-todo-activate-in-modes (quote (prog-mode ya... | (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.
'(global-hl-todo-mode t)
'(hl-todo-activate-in-modes (quote (prog-mode ya... | Add note re: org-mode hack | [emacs] Add note re: org-mode hack
| Emacs Lisp | bsd-2-clause | lhrkkk/dotfiles,lhrkkk/dotfiles |
8d4ef1b16f0f96e06e4abd42f17e44572558167d | init-workgroups2.el | init-workgroups2.el | (require 'workgroups2)
(setq wg-use-default-session-file nil)
(workgroups-mode 1) ; put this one at the bottom of .emacs
;; by default, the sessions are saved in "~/.emacs_workgroups"
(provide 'init-workgroups2)
| (require 'workgroups2)
(workgroups-mode 1) ; put this one at the bottom of .emacs
;; by default, the sessions are saved in "~/.emacs_workgroups"
(provide 'init-workgroups2)
| Revert "prevent workgroups2 to load profile when start up" | Revert "prevent workgroups2 to load profile when start up"
This reverts commit 44cdfcb5a64062b5ba494efd02c3d882f3510389.
| Emacs Lisp | bsd-2-clause | zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d |
68815a6a3733cb2ac1d36fc133e71e80c28ca8aa | modules/ui/indent-guides/config.el | modules/ui/indent-guides/config.el | ;;; ui/indent-guides/config.el -*- lexical-binding: t; -*-
(use-package! highlight-indent-guides
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode)
:init
(setq highlight-indent-guides-method 'character)
:config
(defun +indent-guides-init-faces-h ()
(when (display-graphic-p)
(hig... | ;;; ui/indent-guides/config.el -*- lexical-binding: t; -*-
(use-package! highlight-indent-guides
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode)
:init
(setq highlight-indent-guides-method 'character)
;; HACK The default \x2502 appears to be slow on macOS. This needs more
;; testi... | Use (supposedly) faster indent-guides glyph | Use (supposedly) faster indent-guides glyph
| Emacs Lisp | mit | hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs |
ba0d09d4017c97ee424bfe515bef766b3385b31e | emacs/lisp/completion.el | emacs/lisp/completion.el | ;;; completion.el -- Configuration for completion, abbreviations, and shortcuts.
;; I don't want to type "yes".
(defalias 'yes-or-no-p 'y-or-n-p)
;; ido mode for mini-buffer completion (see also modes/ido-conf.el)
(require 'ido)
(ido-mode t)
;; Hippie expand
(setq hippie-expand-try-functions-list
'(try-expand-... | ;;; completion.el -- Configuration for completion, abbreviations, and shortcuts.
;; I don't want to type "yes".
(defalias 'yes-or-no-p 'y-or-n-p)
;; ido mode for mini-buffer completion (see also modes/ido-conf.el)
(require 'ido)
(ido-mode t)
;; If the current line is already indented, have the tab key try to
;; auto... | Update the tab key to run hippie-expand | Update the tab key to run hippie-expand
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
0aca6ae9ebbac13b491428b415512f25e90838e1 | emacs/.emacs.d/lisp/ds-css.el | emacs/.emacs.d/lisp/ds-css.el |
(require 'css-mode)
(add-hook 'css-mode-hook #'set-tab)
(add-hook 'css-mode-hook #'electric-operator-mode)
(add-hook 'css-mode-hook #'aggressive-indent-mode)
|
(require 'css-mode)
(add-hook 'css-mode-hook #'set-tab t)
(add-hook 'css-mode-hook #'electric-operator-mode)
(add-hook 'css-mode-hook #'aggressive-indent-mode)
| Fix tab key in css mode | Fix tab key in css mode
| Emacs Lisp | cc0-1.0 | davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles,davidshepherd7/dotfiles |
248ea4c2c762a84bf213b8880485b7c20dc86742 | modules/ui/hl-todo/autoload.el | modules/ui/hl-todo/autoload.el | ;;; ui/hl-todo/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +hl-todo|use-face-detection ()
"Use a different, more primitive method of locating todo keywords.
This is useful for major modes that don't use or have a valid syntax-table entry
for comment start/end characters."
(set (make-local-variab... | ;;; ui/hl-todo/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +hl-todo|use-face-detection ()
"Use a different, more primitive method of locating todo keywords.
This is useful for major modes that don't use or have a valid syntax-table entry
for comment start/end characters."
(set (make-local-variab... | Reset hl-todo-mode if already active | Reset hl-todo-mode if already active
| Emacs Lisp | mit | hlissner/doom-emacs,hlissner/doom-emacs,aminb/.emacs.d,aminb/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,aminb/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,aminb/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,aminb/.emacs.d,aminb/.emacs.d,hlissner/.emacs.d,... |
6863ad9905eaee115d71b4eecc2a2cafe93f1011 | lisp/init-grep.el | lisp/init-grep.el | ;;; init-grep.el --- Settings for grep and grep-like tools -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(setq-default grep-highlight-matches t
grep-scroll-output t)
(when *is-a-mac*
(setq-default locate-command "mdfind"))
(require-package 'wgrep)
(with-eval-after-load 'grep
(dolist (key (li... | ;;; init-grep.el --- Settings for grep and grep-like tools -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(setq-default grep-highlight-matches t
grep-scroll-output t)
(when *is-a-mac*
(setq-default locate-command "mdfind"))
(require-package 'wgrep)
(with-eval-after-load 'grep
(dolist (key (li... | Make it work with tramp | [WIP] rg: Make it work with tramp
| Emacs Lisp | bsd-2-clause | arthurl/emacs.d |
3462e3dc958e4148cd3d8a9c2fda440611285632 | layers/mfa-string-inflection/packages.el | layers/mfa-string-inflection/packages.el | (defconst mfa-string-inflection-packages '(string-inflection))
(defun mfa-string-inflection/init-string-inflection ()
(use-package string-inflection
:defer t
:init
(progn
(spacemacs/declare-prefix "xi" "string-inflection")
(spacemacs/set-leader-keys "xic" #'string-inflection-camelcase)
... | (defconst mfa-string-inflection-packages '(string-inflection))
(defun mfa-string-inflection/init-string-inflection ()
(use-package string-inflection
:defer t
:init
(progn
(spacemacs/declare-prefix "xi" "string-inflection")
(spacemacs/set-leader-keys "xiC" #'string-inflection-camelcase)
... | Revise key bindings for string-inflection package | Revise key bindings for string-inflection package
- camelCase -> c
- CamelCase -> C
- lisp -> l
| Emacs Lisp | mit | amfranz/spacemacs.d |
d6ccaf1251c7bc6feac84a0265d83f4d298f9417 | emacs/common/init.el | emacs/common/init.el | ;; common
(load-file "~/.emacs.d/conf/common/package.el")
(load-file "~/.emacs.d/conf/common/el-get.el")
(load-file "~/.emacs.d/conf/common/mailcrypt.el")
;; multi-term breaks with emacs 24.4
;;(load-file "~/.emacs.d/conf/common/multi-term.el")
(load-file "~/.emacs.d/conf/common/tramp.el")
(load-file "~/.emacs.d/conf... | ;; common
(load-file "~/.emacs.d/conf/common/package.el")
(load-file "~/.emacs.d/conf/common/el-get.el")
(load-file "~/.emacs.d/conf/common/mailcrypt.el")
;; multi-term breaks with emacs 24.4
;;(load-file "~/.emacs.d/conf/common/multi-term.el")
(load-file "~/.emacs.d/conf/common/tramp.el")
(load-file "~/.emacs.d/conf... | Fix the path to dired.el | Fix the path to dired.el
| Emacs Lisp | mit | PerlStalker/home-configs,PerlStalker/home-configs |
163d23a1a1fad123b7cd38fc843a40ab9d963f5f | init-maxframe.el | init-maxframe.el | (require 'maxframe)
(when *is-cocoa-emacs*
(fset 'maximize-frame 'x-maximize-frame)
(fset 'restore-frame 'x-restore-frame))
(when *macbook-pro-support-enabled*
(setq mf-max-width 1440)
(setq mf-max-height 898)
(setq mf-offset-x 0))
(defmacro with-selected-frame (frame &rest forms)
(let ((prev-frame (gensym... | (require 'maxframe)
(when *is-cocoa-emacs*
(fset 'maximize-frame 'x-maximize-frame)
(fset 'restore-frame 'x-restore-frame))
(when *macbook-pro-support-enabled*
(setq mf-max-width 1440)
(setq mf-max-height 890)
(setq mf-offset-x 0))
(defmacro with-selected-frame (frame &rest forms)
(let ((prev-frame (gensym... | Fix macbook pro max screen height | Fix macbook pro max screen height
| Emacs Lisp | bsd-2-clause | Werewolflsp/emacs.d,jkaessens/emacs.d,zuoshifan/emacs.d,zhuoyikang/emacs.d,atreeyang/emacs.d,zuoshifan/emacs.d,kindoblue/emacs.d,wenpincui/emacs.d,lromang/emacs.d,farzadbekran/emacs.d,boblannon/emacs.d,lust4life/emacs.d,carlosliu/emacs.d,farzadbekran/emacs.d,emuio/emacs.d,gsmlg/emacs.d,shafayetkhan/emacs.d,farzadbekran... |
06b98e3f90018a7e53a02eb0f61cc2d46e6425d5 | .emacs.d/custom.el | .emacs.d/custom.el | ;; custom.el
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(explicit-bash-args (quote ("--noediting" "--login" "-i")))
... | ;; 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.
'(explicit-bash-args (quote ("--noediting" "--login" "-i")))
... | Add feature-mode for writing gherkin format files. | Add feature-mode for writing gherkin format files.
| Emacs Lisp | mit | PurityControl/config-files,PurityControl/config-files |
72bdca6da3ed1e356e0b4f6d4ca7addf42d6be88 | link/.emacs.d/site-lisp/setup-tex.el | link/.emacs.d/site-lisp/setup-tex.el | (use-package tex
:ensure auctex
:init
(setq TeX-PDF-mode t)
(add-hook 'LaTeX-mode-hook 'visual-line-mode)
)
(use-package auctex-latexmk
:ensure t
:init (auctex-latexmk-setup)
(setq auctex-latexmk-inherit-TeX-PDF-mode t)
)
(use-package company-auctex
:ensure t
)
(provide 'setup-tex)
| (use-package tex
:ensure auctex
:init
(setq TeX-PDF-mode t)
(add-hook 'LaTeX-mode-hook 'visual-line-mode)
;; ##### Always ask for the master file
;; ##### when creating a new TeX file.
(setq-default TeX-master nil)
;; ##### Enable synctex correlation. From Okular just press
;; ##### Shift + Left cli... | Add sync for okular and emacs | Add sync for okular and emacs
| Emacs Lisp | mit | SteVwonder/dotfiles,SteVwonder/dotfiles,SteVwonder/dotfiles,SteVwonder/dotfiles |
896dae1d4b34c356f5a673fbeba41d4d5327db5a | setup-files/setup-magit.el | setup-files/setup-magit.el | ;; Time-stamp: <2016-05-19 22:18:00 kmodi>
;; magit
;; https://github.com/magit/magit
(use-package magit
:defer t)
(provide 'setup-magit)
;; |---------+----------------------------------|
;; | Binding | Description |
;; |---------+----------------------------------|
;; | j n | Jump to Un... | ;; Time-stamp: <2017-05-09 15:49:51 kmodi>
;; magit
;; https://github.com/magit/magit
(use-package magit
:bind (:map modi-mode-map
("C-c g". hydra-magit/body))
:commands (magit-status magit-log-all-branches)
:config
(progn
(defhydra hydra-magit (:color blue
:columns 4)
... | Add hydra-magit; bind to C-c g | Add hydra-magit; bind to C-c g
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
3d20cd04c4b831247c5f6d6ea46190db0e2c8e80 | 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
editorconfig
evil-args
... | (prelude-require-packages '(
ag
aggressive-indent
bats-mode
chruby
color-theme-sanityinc-tomorrow
editorconfig
ember-mode
... | Add handlebars and ember modes | Add handlebars and ember modes
| Emacs Lisp | mit | caleb/dotfiles,caleb/dotfiles,caleb/dotfiles |
33a2e3b87b5ea7a9034fc4e6e90161d8f5d89d83 | available-init/org-mode.el | available-init/org-mode.el | (req-package org
:mode ("\\.org\\'" . org-mode))
(req-package org-bullets
:require org
:init
(progn
(add-hook 'org-mode-hook 'org-bullets-mode)))
| (req-package org
:mode ("\\.org\\'" . org-mode)
:config
(progn
(add-to-list 'org-latex-packages-alist '("" "minted"))
(setq org-latex-listings 'minted)
(setq org-latex-pdf-process
'("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
"pdflatex -shell-escape ... | Add minted for latex code block | Add minted for latex code block
| Emacs Lisp | mit | linc01n/.emacs.d,linc01n/.emacs.d |
41dd1b351d87dbea85fddd5eeb8842026754e5b4 | emacs/lisp/seanmacs-version-control.el | emacs/lisp/seanmacs-version-control.el | ;;; seanmacs-version-control.el --- Version control -*- lexical-binding: t; -*-
;;; Commentary:
;; VC configuration.
;;; Code:
(use-package ediff
;; built-in
:init
(setq-default ediff-split-window-function #'split-window-horizontally
ediff-merge-split-window-function #'split-window-horizontally... | ;;; seanmacs-version-control.el --- Version control -*- lexical-binding: t; -*-
;;; Commentary:
;; VC configuration.
;;; Code:
(use-package ediff
;; built-in
:init
(setq-default ediff-split-window-function #'split-window-horizontally
ediff-merge-split-window-function #'split-window-horizontally... | Add modules section to magit status buffer | Add modules section to magit status buffer
| Emacs Lisp | mit | SCSmithr/dotfiles |
6837e4c5b8b0a6b9566ef91ef0ae33e789bb6fd4 | doom.d/config.el | doom.d/config.el | ;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here
(setq
doom-font (font-spec :family "Iosevka" :size 16)
doom-theme 'doom-one-light)
; doom-theme 'doom-molokai)
; ln -s /Users/david/Library/Mobile\ Documents/iCloud\~com\~appsonthemove\~beorg/Documents/org org
(setq org-a... | ;;; ~/.doom.d/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here
(setq
doom-font (font-spec :family "Iosevka" :size 16)
doom-theme 'leuven)
; doom-theme 'doom-molokai)
; ln -s /Users/david/Library/Mobile\ Documents/iCloud\~com\~appsonthemove\~beorg/Documents/org org
(setq org-agenda-fi... | Change color theme, track all under ~/org | Change color theme, track all under ~/org
| Emacs Lisp | mit | drmohundro/dotfiles |
bf3b15ce6d5c5abf3076e15b6ce7b4e4b2409ff4 | load/flyhooks.el | load/flyhooks.el | (require 'flycheck)
(flycheck-define-checker sbt
"Checker for compilation with SBT"
:command ("esbt")
:error-patterns
((error line-start "[error] " (file-name) ":" line ": "
(message (zero-or-more not-newline)
(one-or-more "\n" blank
(zero-or-more n... | (require 'flycheck)
(flycheck-define-checker sbt
"Checker for compilation with SBT"
:command ("esbt")
:error-patterns
((error line-start "[error] " (file-name) ":" line ": "
(message (zero-or-more not-newline)
(one-or-more "\n" blank
(zero-or-more n... | Tweak flycheck-check-buffer so it modifies the file | Tweak flycheck-check-buffer so it modifies the file
| Emacs Lisp | mit | kaidadragonfly/.emacs |
3b56770e6fa8e9fc5cd82a28b724626b26e5f9ee | elisp/setup-modes.el | elisp/setup-modes.el | ;;; setup-modes.el --- Modes that don't require separate files.
;;; Commentary:
;;; Code:
;; I used to have a prefix for the mode toggle, but I think hydras can be very useful, because the help can be displayed vertically.
(defhydra mode-toggle (:color blue
:columns 1)
"Toggle one of these mod... | ;;; setup-modes.el --- Modes that don't require separate files.
;;; Commentary:
;;; Code:
;; I used to have a prefix for the mode toggle, but I think hydras can be very useful, because the help can be displayed vertically.
(defhydra mode-toggle (:color blue
:columns 1)
"Toggle one of these mod... | Fix hl-line mode and bind mode hydra to meta-m map | Fix hl-line mode and bind mode hydra to meta-m map
| Emacs Lisp | mit | anachronic/emacs.d,anachronic/emacs.d |
137326c97124e8adeabaa314bd8f6b38562da535 | config/config-lsp.el | config/config-lsp.el | (defun /lsp/activate ()
(interactive)
(require-package 'lsp-mode)
(require-package 'lsp-ui)
(require-package 'lsp-treemacs)
(require-package 'company-lsp)
(setq lsp-prefer-flymake nil) ;; use flycheck
(setq lsp-session-file (concat dotemacs-cache-directory ".lsp-session-v1"))
(setq lsp-keep-workspace-... | (defgroup dotemacs-lsp nil
"Configuration options for LSP."
:group 'dotemacs
:prefix 'dotemacs-lsp)
(defcustom dotemacs-lsp/inhibit-paths '("node_modules")
"A list of paths that should not activate LSP."
:type '(repeat string)
:group 'dotemacs-lsp)
(defun /lsp/activate ()
(interactive)
(unless (seq... | Add inhibit filter for LSP | Add inhibit filter for LSP
| Emacs Lisp | mit | sameedali/dotemacs,sameedali/dotemacs,sameedali/dotemacs,sameedali/dotemacs,sameedali/dotemacs,bling/dotemacs |
29277c9b02811ede71ff8090a63a8bdb884cd397 | modules/ui/indent-guides/config.el | modules/ui/indent-guides/config.el | ;;; ui/indent-guides/config.el -*- lexical-binding: t; -*-
(def-package! highlight-indent-guides
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode)
:init
(setq highlight-indent-guides-method 'character
highlight-indent-guides-responsive 'top)
:config
;; Don't display first level o... | ;;; ui/indent-guides/config.el -*- lexical-binding: t; -*-
(def-package! highlight-indent-guides
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode)
:init
(setq highlight-indent-guides-method 'character
highlight-indent-guides-responsive 'top)
:config
;; Don't display first level o... | Disable indent guides in incompatible modes | Disable indent guides in incompatible modes
e.g. visual-line-mode & org-indent-mode
| Emacs Lisp | mit | UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlis... |
65d2b0133338a3ae9a5854612ea4076569a8d699 | modules/lang/haskell/+intero.el | modules/lang/haskell/+intero.el | ;;; lang/haskell/+intero.el -*- lexical-binding: t; -*-
;;;###if (featurep! +intero)
(def-package! intero
:commands intero-mode
:init
(defun +haskell|init-intero ()
"Initializes `intero-mode' in haskell-mode, unless stack isn't installed.
This is necessary because `intero-mode' doesn't do its own error check... | ;;; lang/haskell/+intero.el -*- lexical-binding: t; -*-
;;;###if (featurep! +intero)
(def-package! intero
:commands intero-mode
:init
(defun +haskell|init-intero ()
"Initializes `intero-mode' in haskell-mode, unless stack isn't installed.
This is necessary because `intero-mode' doesn't do its own error check... | Revert "Refuse to enable intero-mode if intero is absent" | Revert "Refuse to enable intero-mode if intero is absent"
This reverts commit 4f40fef59265d86ee25d458be9c478035b3cd9b4.
This was short sighted. The intero check doesn't find per-project built
instances of intero.
| Emacs Lisp | mit | hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,UndeadKernel/emacs_doom,hl... |
a1880183efe0bb677dfc10fbaa8005b12a6fae99 | config/key_bindings.el | config/key_bindings.el | (global-set-key (kbd "<f6>") 'toggle-menu-bar-mode-from-frame)
(global-set-key (kbd "<f7>") 'neotree-toggle)
(add-hook
'neotree-mode-hook
(lambda ()
(define-key neotree-mode-map (kbd "RET") 'neotree-enter-hide)))
(global-set-key (kbd "<f9>") 'format-buffer)
| (global-set-key (kbd "<f6>") 'toggle-menu-bar-mode-from-frame)
(global-set-key (kbd "<f7>") 'neotree-toggle)
(add-hook
'neotree-mode-hook
(lambda ()
(define-key neotree-mode-map (kbd "RET") 'neotree-enter-hide)))
(global-set-key (kbd "<f9>") 'format-buffer)
(global-set-key (kbd "<f9>") 'format-buffer)
(global-s... | Add new keybindings to eval complete buffer and to auto-indent complete buffer | Add new keybindings to eval complete buffer and to auto-indent complete buffer
| Emacs Lisp | unlicense | schanur/emacs.d |
55104b9f89b13c0d862bad147c96a64d96a92cd5 | modules/emacs/eshell/autoload/prompts.el | modules/emacs/eshell/autoload/prompts.el | ;;; emacs/eshell/autoload/prompts.el -*- lexical-binding: t; -*-
;;;###autoload
(defface +eshell-prompt-pwd '((t :inherit font-lock-constant-face))
"TODO"
:group 'eshell)
;;;###autoload
(defface +eshell-prompt-git-branch '((t :inherit font-lock-builtin-face))
"TODO"
:group 'eshell)
(defun +eshell--current-g... | ;;; emacs/eshell/autoload/prompts.el -*- lexical-binding: t; -*-
;;;###autoload
(defface +eshell-prompt-pwd '((t :inherit font-lock-constant-face))
"TODO"
:group 'eshell)
;;;###autoload
(defface +eshell-prompt-git-branch '((t :inherit font-lock-builtin-face))
"TODO"
:group 'eshell)
(defun +eshell--current-g... | Fix "home/~" PWD in eshell prompt | Fix "home/~" PWD in eshell prompt
| Emacs Lisp | mit | UndeadKernel/emacs_doom,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emac... |
69631691fb73fda5a06cec8194ebee3755ba61b9 | setup-files/setup-markdown.el | setup-files/setup-markdown.el | ;; Time-stamp: <2015-11-05 13:12:37 kmodi>
;; Markdown Mode
;; http://jblevins.org/projects/markdown-mode/
(use-package markdown-mode
:mode (("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:config
(progn
;; http://daringfireball.net/projects/markdown/
;; Download the Mark... | ;; Time-stamp: <2016-01-19 22:40:31 kmodi>
;; Markdown Mode
;; http://jblevins.org/projects/markdown-mode/
(use-package markdown-mode
:mode (("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:config
(progn
;; http://daringfireball.net/projects/markdown/
;; Download the Mark... | Check if Markdown.pl is available first | Check if Markdown.pl is available first
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
200c7143ab714f6b07763f9ce365bc91413ce803 | emacs/lisp/05-autocomplete.el | emacs/lisp/05-autocomplete.el |
(add-hook 'after-init-hook
;;; Load yasnippet first to avoid precedence issues
(lambda ()
(use-package yasnippet
:init
(progn
(yas-global-mode 1)))
)
((lambda ()
(use-package auto-complete-config
... | ; load yasnippet
(add-hook 'after-init-hook
; Load yasnippet first to avoid precedence issues
(lambda ()
(use-package yasnippet
:init
(progn
(yas-global-mode 1)))))
; load auto-complete-config
(add-hook 'after-init-hook
(la... | Split single add-hook lambda into 2. Moved some ac settings into use-package. | Split single add-hook lambda into 2. Moved some ac settings into use-package.
| Emacs Lisp | mit | skk/dotfiles,skk/dotfiles |
51014a4045fd1c5e589929dae8ccbc49d8edd90d | config/color_theme.el | config/color_theme.el | ;;; package --- Summary
;;; Commentary:
;;; Code:
;; (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")
;; (setq custom-enabled-themes "hipster")
;; (setq custom-safe-themes "hips... | ;;; package --- Summary
;;; Commentary:
;;; Code:
;; (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")
;; (setq custom-enabled-themes "hipster")
;; (setq custom-safe-themes "hips... | Use theme with more contrast | Use theme with more contrast
| Emacs Lisp | unlicense | schanur/emacs.d |
e091aebd9d2a89dcd1db2a13285d4c0de2f74e0a | emacs/emacs.d.symlink/init.el | emacs/emacs.d.symlink/init.el | (require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
(defvar my-packages '(starter-kit starter-kit-ruby starter-kit-js
starter-k... | (require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
(defvar my-packages '(starter-kit
starter-kit-ruby
starter-kit-js... | Add Erlang & Haskell support to Emacs | Add Erlang & Haskell support to Emacs
| Emacs Lisp | mit | jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles |
c69a85c8030a5c2f3cd98b7b00f244a963447c59 | modules/lang/kotlin/config.el | modules/lang/kotlin/config.el | ;;; lang/kotlin/config.el -*- lexical-binding: t; -*-
(after! kotlin-mode
(set-docsets! 'kotlin-mode "Kotlin")
(map! :map kotlin-mode-map
:localleader
:prefix ("b" . "build")
:desc "gradlew assemble" "a" (λ! (+kotlin/run-gradlew "assemble"))
:desc "gradlew build" "b" (λ! (+kotli... | ;;; lang/kotlin/config.el -*- lexical-binding: t; -*-
(use-package! kotlin-mode
:init
(when (featurep! +lsp)
(add-hook 'kotlin-mode-local-vars-hook #'lsp!)))
(after! kotlin-mode
(set-docsets! 'kotlin-mode "Kotlin")
(map! :map kotlin-mode-map
:localleader
:prefix ("b" . "build")
:... | Add LSP support to Kotlin | Add LSP support to Kotlin
`lsp-mode` has built in support for Kotlin. This makes it automatically used if you use the `+lsp` flag. | Emacs Lisp | mit | hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs_doo... |
08d398e5d3a1e104df0ae28e1293f81ab2da5ec8 | setup-files/setup-hungry-delete.el | setup-files/setup-hungry-delete.el | ;; Time-stamp: <2016-07-19 17:26:52 kmodi>
;; Hungry Delete
;; https://github.com/nflath/hungry-delete
(use-package hungry-delete
:config
(progn
(setq hungry-delete-chars-to-skip " \t\r\f\v")
(defun modi/turn-off-hungry-delete-mode ()
"Turn off hungry delete mode."
(hungry-delete-mode -1))
... | ;; Time-stamp: <2016-11-21 08:46:41 kmodi>
;; Hungry Delete
;; https://github.com/nflath/hungry-delete
(use-package hungry-delete
:config
(progn
(setq hungry-delete-chars-to-skip " \t\r\f\v")
;; Mon Nov 21 08:45:42 EST 2016 - kmodi
;; Override the default definitions of `hungry-delete-skip-ws-forward... | Patch hungry-delete functions: Do not auto delete EOL back-slashes | Patch hungry-delete functions: Do not auto delete EOL back-slashes
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
aa5b252786f5bbf00962da29b36cfc08b563de53 | layers/+vim/evil-snipe/packages.el | layers/+vim/evil-snipe/packages.el | (setq evil-snipe-packages '(evil-snipe))
(defun evil-snipe/init-evil-snipe ()
(use-package evil-snipe
:diminish evil-snipe-local-mode
:init
(setq evil-snipe-scope 'whole-buffer
evil-snipe-enable-highlight t
evil-snipe-enable-incremental-highlight t
evil-snipe-auto-disable-su... | (setq evil-snipe-packages '(evil-snipe))
(defun evil-snipe/init-evil-snipe ()
(use-package evil-snipe
:diminish evil-snipe-local-mode
:init
(setq evil-snipe-scope 'whole-buffer
evil-snipe-enable-highlight t
evil-snipe-enable-incremental-highlight t
evil-snipe-auto-disable-su... | Use separate hooks for override mode | evil-snipe: Use separate hooks for override mode
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
7cf284616708aa10c416cb8913cc83b177d740a3 | mfa-mwim/packages.el | mfa-mwim/packages.el | (defconst mfa-mwim-packages '(mwim))
(defun mfa-mwim/init-mwim ()
(use-package mwim
:defer t
:init
(progn
(global-set-key (kbd "C-a") #'mwim-beginning-of-code-or-line)
(global-set-key (kbd "C-e") #'mwim-end-of-code-or-line)
(global-set-key (kbd "<home>") #'mwim-beginning-of-line-or-code... | (defconst mfa-mwim-packages '(mwim))
(defun mfa-mwim/init-mwim ()
(use-package mwim
:defer t
:init
(progn
(global-set-key (kbd "C-a") #'mwim-beginning)
(global-set-key (kbd "C-e") #'mwim-end)
(global-set-key (kbd "<home>") #'mwim-beginning)
(global-set-key (kbd "<end>") #'mwim-end... | Make mwim motions play nice with evil repeat | Make mwim motions play nice with evil repeat
Also leave it up to mwim to choose where exactly to move to.
| Emacs Lisp | mit | amfranz/spacemacs.d |
d84a097947b9b1d0945a7073ed16cb3d75eb3a3f | doom_emacs/init.el | doom_emacs/init.el | ;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
(ivy +icons +prescient +fuzzy)
(company +auto)
:ui
doom
modeline
ophints
hl-todo
nav-flash
treemacs
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
window-select
hydra
ze... | ;;; init.el -*- lexical-binding: t; -*-
(doom!
:completion
(ivy +icons +prescient +fuzzy)
(company +auto)
:ui
doom
modeline
ophints
hl-todo
nav-flash
treemacs
(popup +all +defaults)
(pretty-code +fira)
vc-gutter
vi-tilde-fringe
window-select
hydra
ze... | Enable +peek in lsp module | Enable +peek in lsp module
| Emacs Lisp | mit | mpardalos/dotfiles,mpardalos/dotfiles |
c5fa30b51ee6581cd6bda5c35ebe1b1aa1c628bd | .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 hl-todo as a dependency | Add hl-todo as a dependency
| Emacs Lisp | mit | kotct/dot,kotct/dot |
facd83a54b208e7a01b9cfbb91772bccb23a773e | modules/ui/doom-dashboard/autoload.el | modules/ui/doom-dashboard/autoload.el | ;;; ui/doom-dashboard/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +doom-dashboard/open (frame)
"Switch to the dashboard in the current window, of the current FRAME."
(interactive (list (selected-frame)))
(with-selected-frame frame
(switch-to-buffer (doom-fallback-buffer))
(+doom-dashboa... | ;;; ui/doom-dashboard/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +doom-dashboard/open (frame)
"Switch to the dashboard in the current window, of the current FRAME."
(interactive (list (selected-frame)))
(with-selected-frame frame
(switch-to-buffer (doom-fallback-buffer))))
| Remove redundant reload in +doom-dashboard/open | Remove redundant reload in +doom-dashboard/open
| Emacs Lisp | mit | hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,UndeadKernel/emacs... |
27841643714cc1ac76b140018bcc4ea67fa81bae | user-lisp/eshell-customisations.el | user-lisp/eshell-customisations.el | (require 'em-cmpl)
;; Auto-complete in eshell should stop at the first ambiguity.
(setq eshell-cmpl-cycle-completions nil)
(defadvice eshell (around eshell-append-cwd (&optional arg) activate)
"New eshell buffers should be named according to their working directory."
(interactive "P")
(if (and arg (not (numberp... | (require 'em-cmpl)
;; Auto-complete in eshell should stop at the first ambiguity.
(setq eshell-cmpl-cycle-completions nil)
(defadvice eshell (around eshell-append-cwd (&optional arg) activate)
"New eshell buffers should be named according to their working directory."
(interactive "P")
(if (and arg (not (numberp... | Use default-directory to find which directory to use. | Use default-directory to find which directory to use.
dired buffers return nil for (buffer-file-name).
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
9d488b4036aafb1bad13f773be34aa6ed6b631bf | .emacs.d/config/global/eshell.el | .emacs.d/config/global/eshell.el | ;;; eshell.el --- Configuration for Eshell
;;; Commentary:
;;; Code:
;;; eshell.el ends here
| ;;; eshell.el --- Configuration for Eshell
;;; Commentary:
;; Load and configure Eshell with smart mode
;;; Code:
;; Load Eshell and Smart mode
(require 'eshell)
(require 'em-smart)
;; Settings
(setq eshell-where-to-jump 'begin)
(setq eshell-review-quick-commands nil)
(setq eshell-smart-space-goes-to-end t)
... | Configure Eshell and smart display | Configure Eshell and smart display
| Emacs Lisp | mit | madintist/emacs-config |
0ec385c60c0822038a7c9976638b3cd0b00fd0a5 | layers/+tools/ranger/packages.el | layers/+tools/ranger/packages.el | ;;; packages.el --- ranger Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2016 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 GNU Emacs.
;;
;;; License: GPLv3
(setq rang... | ;;; packages.el --- ranger Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2016 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 GNU Emacs.
;;
;;; License: GPLv3
(setq rang... | Fix misplaced keybinding definition for ranger | Fix misplaced keybinding definition for ranger
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
12a790e62958e89793a3e762ad3e0ec278924b09 | custom/51-undo-tree.el | custom/51-undo-tree.el | (use-package undo-tree)
;; undo
(add-hook 'ruby-mode-hook 'undo-tree-mode)
| (use-package undo-tree
:init
(add-hook 'ruby-mode-hook 'undo-tree-mode)
:defer)
| Convert undo tree into use-package format. | Convert undo tree into use-package format.
| Emacs Lisp | mit | map7/emacs-config,map7/emacs-config,map7/emacs-config |
fd6feeca2d3c73b8000b80cdccf07dfb07064ab1 | 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-... | Add vendor to load path | Add vendor to load path
| Emacs Lisp | unlicense | jeroentbt/.emacs.d |
58100c5fd3240e861d2f39c6ee164981584776fd | init-package/init-rainbow-identifiers.el | init-package/init-rainbow-identifiers.el | (use-package rainbow-identifiers
:init
(progn (add-hook 'prog-mode-hook 'rainbow-identifiers-mode)))
| (use-package rainbow-identifiers
:init
(add-to-hooks 'rainbow-identifiers-mode '(prog-mode-hook erlang-mode-hook)))
| Add rainbow identifiers to erlang-mode | Add rainbow identifiers to erlang-mode
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
15f35d4d3291b8a62489745cc650d993302547c9 | init-package/init-git-gutter-fringe.el | init-package/init-git-gutter-fringe.el | (use-package git-gutter-fringe
:commands git-gutter-mode
:init
(add-to-hooks 'git-gutter-mode '(erlang-mode-hook
org-mode-hook
prog-mode-hook
))
:config
(progn
(setq git-gutter:hide-gutter t)
;; Do... | (use-package git-gutter-fringe
:commands git-gutter-mode
:init
(add-to-hooks 'git-gutter-mode '(erlang-mode-hook
markdown-mode-hook
org-mode-hook
prog-mode-hook
))
:config
... | Add git-gutter-fringe to markdown mode hook | Add git-gutter-fringe to markdown mode hook
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
5a13ebd929ec9e273fa9c60676375cd309d587d8 | lisp/init-locales.el | lisp/init-locales.el | ;;; init-locales.el --- Configure default locale -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(defun sanityinc/utf8-locale-p (v)
"Return whether locale string V relates to a UTF-8 locale."
(and v (string-match-p "UTF-8" v)))
(defun sanityinc/locale-is-utf8-p ()
"Return t iff the \"locale\" command or en... | ;;; init-locales.el --- Configure default locale -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(defun sanityinc/locale-var-encoding (v)
"Return the encoding portion of the locale string V, or nil if missing."
(when v
(save-match-data
(let ((case-fold-search t))
(when (string-match "\\.\\([... | Streamline code for setting locales | Streamline code for setting locales
See #717
| Emacs Lisp | bsd-2-clause | sgarciac/emacs.d,baohaojun/emacs.d,dcorking/emacs.d,arthurl/emacs.d,krzysz00/emacs.d,svenyurgensson/emacs.d,blueseason/emacs.d,gsmlg/emacs.d,emuio/emacs.d,purcell/emacs.d,blueabysm/emacs.d,qianwan/emacs.d,lust4life/emacs.d,braveoyster/emacs.d |
08d296f6566f5eb5cd3347e6a59aa1a92c92b798 | lisp/init-grep.el | lisp/init-grep.el | (setq-default grep-highlight-matches t
grep-scroll-output t)
(when *is-a-mac*
(setq-default locate-command "mdfind"))
(when (and (executable-find "ag")
(maybe-require-package 'ag))
(require-package 'wgrep-ag)
(setq-default ag-highlight-search t)
(global-set-key (kbd "M-?") 'ag-project... | (setq-default grep-highlight-matches t
grep-scroll-output t)
(when *is-a-mac*
(setq-default locate-command "mdfind"))
(when (and (executable-find "ag")
(maybe-require-package 'ag))
(require-package 'wgrep-ag)
(setq-default ag-highlight-search t)
(global-set-key (kbd "M-?") 'ag-project... | Use deadgrep package when "rg" is available | Use deadgrep package when "rg" is available
| Emacs Lisp | bsd-2-clause | wegatron/emacs.d,gsmlg/emacs.d,blueseason/emacs.d,braveoyster/emacs.d,cjqw/emacs.d,kongfy/emacs.d,purcell/emacs.d,benkha/emacs.d,blueabysm/emacs.d,dcorking/emacs.d,arthurl/emacs.d,mmqmzk/emacs.d,krzysz00/emacs.d,baohaojun/emacs.d,me020523/emacs.d,sgarciac/emacs.d,kindoblue/emacs.d,lust4life/emacs.d,svenyurgensson/emacs... |
559ec4e4417a190341cdaa1a50203780f393f489 | lisp/init-misc.el | lisp/init-misc.el | ;;----------------------------------------------------------------------------
;; Misc config - yet to be placed in separate files
;;----------------------------------------------------------------------------
(add-auto-mode 'tcl-mode "Portfile\\'")
(fset 'yes-or-no-p 'y-or-n-p)
(add-hook 'prog-mode-hook 'goto-address... | ;;----------------------------------------------------------------------------
;; Misc config - yet to be placed in separate files
;;----------------------------------------------------------------------------
(add-auto-mode 'tcl-mode "Portfile\\'")
(fset 'yes-or-no-p 'y-or-n-p)
(add-hook 'prog-mode-hook 'goto-address... | Support quitting with C-c C-k in re-builder | Support quitting with C-c C-k in re-builder
| Emacs Lisp | bsd-2-clause | blueseason/emacs.d,emuio/emacs.d,kongfy/emacs.d,sgarciac/emacs.d,qianwan/emacs.d,arthurl/emacs.d,krzysz00/emacs.d,dcorking/emacs.d,cjqw/emacs.d,braveoyster/emacs.d,blueabysm/emacs.d,mmqmzk/emacs.d,purcell/emacs.d,me020523/emacs.d,kindoblue/emacs.d,svenyurgensson/emacs.d,wegatron/emacs.d,benkha/emacs.d,roxolan/emacs.d,l... |
b6d1f53370eca1a2517a51332594b5d642607413 | user-lisp/lsp-customisations.el | user-lisp/lsp-customisations.el |
(use-package lsp-mode
:config
;; For some reason icons aren't currently rendering, so don't show them.
(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 n... |
(use-package lsp-mode
:config
;; For some reason icons aren't currently rendering, so don't show them.
(setq lsp-modeline-code-actions-segments '(count name))
(setq lsp-rust-analyzer-cargo-watch-command "clippy")
(setq lsp-rust-clippy-preference "on")
(set-face-attribute 'lsp-lsp-flycheck-warning-unneces... | Enable clippy as check command fo rlints | Enable clippy as check command fo rlints
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
fddee40fc1a476b7079a8cbc449a6c4f43ffca86 | modes/flycheck-conf.el | modes/flycheck-conf.el | ;;; flycheck-conf.el -- Configuration for flycheck.
;;
;;; Commentary:
;;
;;; Code:
(require 'flycheck)
(custom-set-variables
'(flycheck-disabled-checkers '(javascript-gjslint))
'(flycheck-standard-error-navigation nil))
;;; flycheck-conf.el ends here
| ;;; flycheck-conf.el -- Configuration for flycheck.
;;
;;; Commentary:
;;
;;; Code:
(require 'flycheck)
(custom-set-variables
'(flycheck-disabled-checkers '(javascript-gjslint))
'(flycheck-emacs-lisp-load-path 'inherit)
'(flycheck-standard-error-navigation nil))
;;; flycheck-conf.el ends here
| Use the current load-path when running flycheck | elisp: Use the current load-path when running flycheck
This lets flycheck see the packages that are loaded into the current
Emacs session and prevents it from stopping at `require` lines due to
errors.
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
94a57f695ecc4000f0311d6b91070ff098694b9a | modules/tools/lsp/config.el | modules/tools/lsp/config.el | ;;; tools/lsp/config.el -*- lexical-binding: t; -*-
(setq lsp-session-file (concat doom-etc-dir "lsp-session")
lsp-auto-guess-root t
lsp-keep-workspace-alive nil)
(def-package! lsp-ui
:hook (lsp-mode . lsp-ui-mode)
:config
(setq lsp-prefer-flymake nil
lsp-ui-doc-max-height 8
lsp-ui-... | ;;; tools/lsp/config.el -*- lexical-binding: t; -*-
(setq lsp-session-file (concat doom-etc-dir "lsp-session")
lsp-auto-guess-root t
lsp-keep-workspace-alive nil)
;; Don't prompt to restart LSP servers while quitting Emacs
(add-hook! 'kill-emacs-hook (setq lsp-restart 'ignore))
(def-package! lsp-ui
:h... | Fix LSP restart prompt when killing Emacs | Fix LSP restart prompt when killing Emacs
| Emacs Lisp | mit | hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,UndeadKernel/emacs_doom,UndeadKernel/emacs_doom,hlissner/.emacs.d,hlissner/doom-emacs,UndeadKernel/emacs_doom,hlissner/doom-emacs,hlissner... |
6925e2124d18b0e493d75289d8d2e615e67d7198 | user-lisp/movement-customisations.el | user-lisp/movement-customisations.el | ;; avy -- quickly jump to an arbitrary word or line
(require 'avy)
(setq avy-case-fold-search nil)
;; Only consider the current window (i.e. the current buffer we're
;; focused in).
(setq avy-all-windows nil)
(setq avy-keys
(append (number-sequence ?a ?z) (number-sequence ?A ?Z)))
(define-key global-map (kbd "<f1... | ;; To be consistent with our paredit keybindings, use super for syntatic movement.
(global-set-key (kbd "s-a") #'beginning-of-defun)
;; avy -- quickly jump to an arbitrary word or line
(require 'avy)
(setq avy-case-fold-search nil)
;; Only consider the current window (i.e. the current buffer we're
;; focused in).
(set... | Add a super keybinding for beginning-of-defun. | Add a super keybinding for beginning-of-defun.
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
7ba82edcf5bf3cbdb989facba3f80df2a3f60ed7 | rc/color-theme.el | rc/color-theme.el | ;; =============================================================================
;; Color Theme
;; -----------------------------------------------------------------------------
;; Themes form Melpa
;; -----------------------------------------------------------------------------
;; (if (> (display-color-cells) 256)
;; ... | ;; =============================================================================
;; Color Theme
;; -----------------------------------------------------------------------------
;; Themes form Melpa
;; -----------------------------------------------------------------------------
;; (if (> (display-color-cells) 256)
;; ... | Use my customized monokai theme. | Use my customized monokai theme.
| Emacs Lisp | bsd-3-clause | peterhil/emacs-config |
2b689c7438c5cbfde480182f9514e1019fc7a849 | elisp/mode-setup.el | elisp/mode-setup.el | (require 'fractL)
;; ParEdit
(autoload 'paredit-mode "paredit"
"Minor mode for pseudo-structurally editing Lisp code." t)
;; File extensions/major mode bindings
(add-to-list 'auto-mode-alist '("\\.rkt$" . racket-mode))
(add-to-list 'auto-mode-alist '("\\.transit$" . fractL-mode))
(add-to-list 'auto-mode-alist '("\\... | (require 'fractL)
;; ParEdit
(autoload 'paredit-mode "paredit"
"Minor mode for pseudo-structurally editing Lisp code." t)
;; File extensions/major mode bindings
(add-to-list 'auto-mode-alist '("\\.rkt$" . racket-mode))
(add-to-list 'auto-mode-alist '("\\.transit$" . fractL-mode))
(add-to-list 'auto-mode-alist '("\\... | Add hook for racket-mode for .ls files | Add hook for racket-mode for .ls files
| Emacs Lisp | mit | schuster/dotfiles |
168717b668df780b5873b5e1a949d58a0688e6b4 | .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
'(
ng-add-c... | ;; 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
'(
comment-dwim
comment-line
ng-C-k
ng-C-w
ng-end
ng-home
))
(setq mc/... | Add comment commands to run-all list for multiple cursors | Add comment commands to run-all list for multiple cursors
| Emacs Lisp | mit | nguerrera/.dot |
d0452a861a2e491cd831001a3791c0cd66d9ea60 | layers/+vim/vim-empty-lines/packages.el | layers/+vim/vim-empty-lines/packages.el | (setq vim-empty-lines-packages
'(
(vim-empty-lines-mode :location local)
(vi-tilde-fringe :excluded t)
))
(defun vim-empty-lines/init-vim-empty-lines-mode ()
(use-package vim-empty-lines-mode
:diminish vim-empty-lines-mode
:init
(spacemacs/add-to-hooks (lambda () (vim-empty-... | (setq vim-empty-lines-packages
'(
(vim-empty-lines-mode :location local)
(vi-tilde-fringe :excluded t)
))
(defun vim-empty-lines/init-vim-empty-lines-mode ()
(use-package vim-empty-lines-mode
:diminish vim-empty-lines-mode
:init
(spacemacs/add-to-hooks (lambda () (vim-empty-... | Disable vim-empty-lines in unnecessary buffers | Disable vim-empty-lines in unnecessary buffers
*Messages* and which-key--buffer do not need empty line indicators.
Also break up an unnecessarily long line.
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
da4971d5d636cbe3ee528e108e71501e1b63f9e8 | init-xterm.el | init-xterm.el | (require 'init-frame-hooks)
(defun fix-up-xterm-control-arrows ()
(let ((map (if (boundp 'input-decode-map)
input-decode-map
function-key-map)))
(define-key map "\e[1;5A" [C-up])
(define-key map "\e[1;5B" [C-down])
(define-key map "\e[1;5C" [C-right])
(define-key map "... | (require 'init-frame-hooks)
(defun fix-up-xterm-control-arrows ()
(let ((map (if (boundp 'input-decode-map)
input-decode-map
function-key-map)))
(define-key map "\e[1;5A" [C-up])
(define-key map "\e[1;5B" [C-down])
(define-key map "\e[1;5C" [C-right])
(define-key map "... | Handle console-only Emacs builds, which lack mwheel-install | Handle console-only Emacs builds, which lack mwheel-install
Closes #85
| Emacs Lisp | bsd-2-clause | blueseason/emacs.d |
4aa47e8e738fa922851ba86b57cafc4847aa7422 | layers/mfa-ruby/packages.el | layers/mfa-ruby/packages.el | (defconst mfa-ruby-packages '(rubocop ruby-mode))
(defun mfa-ruby/post-init-rubocop ()
(spacemacs|hide-lighter rubocop-mode))
(defun mfa-ruby/post-init-ruby-mode ()
;; Ruby mode customizations
(with-eval-after-load 'ruby-mode
(add-hook 'ruby-mode-hook (lambda ()
(setq evil-sh... | ;; -*- lexical-binding: t -*-
(defconst mfa-ruby-packages '(rbenv rubocop ruby-mode))
(defun mfa-ruby/post-init-rbenv ()
;; It is unnecessary for rbenv to show the Ruby version in the modeline.
(setq rbenv-show-active-ruby-in-modeline nil))
(defun mfa-ruby/post-init-rubocop ()
(spacemacs|hide-lighter rubocop-m... | Move customization of rbenv to the proper use-package init block | Move customization of rbenv to the proper use-package init block
| Emacs Lisp | mit | amfranz/spacemacs.d |
27d6a746230e80a7064b2f1dd73bb78f16372bce | 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)
(after-load 'flycheck
(flyc... | (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)
| Revert "Add ruby flycheck checker locally until it is restored upstream" | Revert "Add ruby flycheck checker locally until it is restored upstream"
This reverts commit 4c387b5e3426f5bbddbbf3054961a2b45a3a27bc.
| Emacs Lisp | bsd-2-clause | me020523/emacs.d,Werewolflsp/emacs.d,jhpx/emacs.d,kongfy/emacs.d,wenpincui/emacs.d,jkaessens/emacs.d,mmqmzk/emacs.d,benkha/emacs.d,jachinpy/emacs.d,braveoyster/emacs.d,caoyuanqi/emacs.d,hkcqr/emacs.d,sgarciac/emacs.d,blueabysm/emacs.d,arthurl/emacs.d,alant/emacs.d,zhuoyikang/emacs.d,lromang/emacs.d,carlosliu/emacs.d,ha... |
5201f23b68ad8a169bfb62c255dfaf20529494a2 | init.el | init.el | ;;; init.el
;;
;; This is the first thing emacs loads
;; so we can specify all our customisations here
;; however, it makes sens to use emacs' own customisations functionality
;; (which you can access with M-x customize) for stylistic customisations
;; and use init.el for more complex stuff such as keybindings
;;
;; De... | ;;; init.el
;;
;; This is the first thing emacs loads
;; so we can specify all our customisations here
;; however, it makes sens to use emacs' own customisations functionality
;; (which you can access with M-x customize) for stylistic customisations
;; and use init.el for more complex stuff such as keybindings
;;
;; De... | Use latest org-mode from git | Use latest org-mode from git
| Emacs Lisp | mit | gilesp/emacs.d |
b154989485e7650a1447f878ee15a5322f33fe96 | init.el | init.el | ;; packages
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(when (< emacs-major-version 24)
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize)
| ;; packages
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(when (< emacs-major-version 24)
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize)
;; visual.
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
(add-... | Add visual y keybinds para magit | Add visual y keybinds para magit
| Emacs Lisp | mit | anachronic/emacs.d,anachronic/emacs.d |
e5d7472950e6940b015e0771b6546a0864c6b8dc | init-package/init-flycheck.el | init-package/init-flycheck.el | (use-package flycheck
:defer t
:init
(use-package flycheck-color-mode-line
:defer t
:init
(add-hook 'flycheck-mode-hook 'flycheck-color-mode-line-mode))
:config
(progn
(dolist (mode '(c
elixir
json
python
ruby))
... | (use-package flycheck
:defer t
:init
(progn
(dolist (mode '(c
elixir
json
python
ruby))
(add-hook (intern (concat (symbol-name mode) "-mode-hook"))
'flycheck-mode))
(use-package flycheck-color-mode-line
... | Fix lazy loading of flycheck | Fix lazy loading of flycheck
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
9e596c70af444e29abe3547721feb5b76a824afb | lisp/init-ledger.el | lisp/init-ledger.el | (when (maybe-require-package 'ledger-mode)
(add-to-list 'auto-mode-alist '("\\.ledger$" . ledger-mode))
(when (maybe-require-package 'flycheck-ledger)
(after-load 'flycheck
(after-load 'ledger-mode
(require 'flycheck-ledger))))
(after-load 'ledger-mode
(define-key ledger-mode-map (kbd "RE... | (when (maybe-require-package 'ledger-mode)
(when (maybe-require-package 'flycheck-ledger)
(after-load 'flycheck
(after-load 'ledger-mode
(require 'flycheck-ledger))))
(after-load 'ledger-mode
(define-key ledger-mode-map (kbd "RET") 'newline)
(define-key ledger-mode-map (kbd "C-o") 'open-l... | Drop auto-mode-alist entry for ledger-mode, now added upstream | Drop auto-mode-alist entry for ledger-mode, now added upstream
| Emacs Lisp | bsd-2-clause | purcell/emacs.d,me020523/emacs.d,baohaojun/emacs.d,krzysz00/emacs.d,blueabysm/emacs.d,emuio/emacs.d,sgarciac/emacs.d,arthurl/emacs.d,braveoyster/emacs.d,qianwan/emacs.d,lust4life/emacs.d,kindoblue/emacs.d,dcorking/emacs.d,cjqw/emacs.d,roxolan/emacs.d,blueseason/emacs.d,gsmlg/emacs.d,wegatron/emacs.d,benkha/emacs.d,mmqm... |
a6b5c488b8e47e5c3742b4a90c37910f92e61535 | .dir-locals.el | .dir-locals.el | ;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((c-mode . ((flycheck-clang-include-path . (
"./lib/include"
"./main/include"
)))))
| ;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((c-mode . ((flycheck-clang-include-path . (
"./lib/include"
"./main/include"
"./tests/incl... | Add tests include dir to dir locals | Add tests include dir to dir locals
| Emacs Lisp | bsd-2-clause | rumblesan/slowradio,rumblesan/slowradio,rumblesan/slowradio,rumblesan/slowradio,rumblesan/slowradio |
25f44194f863439a9f5591b37ea2b9ee24381b07 | doom_emacs/packages.el | doom_emacs/packages.el | ;; -*- no-byte-compile: t; -*-
(package! bison-mode)
(package! vimrc-mode)
(package! ripgrep)
(package! alloy-mode
:recipe (:host github :repo "dwwmmn/alloy-mode"))
(package! org-ref)
(package! evil-snipe :disable t)
| ;; -*- no-byte-compile: t; -*-
(package! bison-mode)
(package! vimrc-mode)
(package! ripgrep)
(package! alloy-mode
:recipe (:host github :repo "dwwmmn/alloy-mode"))
(package! org-ref)
(package! fill-column-indicator)
(package! evil-snipe :disable t)
| Add fill-column-indicator package to emacs | Add fill-column-indicator package to emacs
| Emacs Lisp | mit | mpardalos/dotfiles,mpardalos/dotfiles |
9a18bbc0ea326e37852c107ac08c6c8c8d286390 | site-lisp/clgc-ruby.el | site-lisp/clgc-ruby.el | (defun ruby-eval-buffer () (interactive)
"Evaluate the buffer with ruby."
(shell-command-on-region (point-min) (point-max) "ruby -w "))
(defun clgc-ruby-mode-hook ()
(require 'rinari)
(setq rinari-tags-file-name "TAGS")
(global-rinari-mode t))
(add-hook 'ruby-mode-hook 'clgc-ruby-mode-hook)
(add-hook 'rub... | (defun ruby-eval-buffer () (interactive)
"Evaluate the buffer with ruby."
(shell-command-on-region (point-min) (point-max) "ruby -w "))
(defun clgc-ruby-mode-hook ()
(require 'rinari)
(setq rinari-tags-file-name "TAGS")
(setq ruby-insert-encoding-magic-comment nil)
(setq ruby-align-to-stmt-keywords '(def... | Change the indentation rules and stop inserting magic UTF in ruby-mode | Change the indentation rules and stop inserting magic UTF in ruby-mode
| Emacs Lisp | bsd-3-clause | dgtized/dotfiles,dgtized/dotfiles,dgtized/dotfiles |
add29f1dc119d36841198d034d26d0c6d5f9900c | layers/my-evil/packages.el | layers/my-evil/packages.el | ;; -*- lexical-binding: t -*-
(defconst my-evil-packages '(evil
(evil-escape :excluded t)
evil-nerd-commenter))
(defun my-evil/post-init-evil ()
;; Do not move cursor back when exiting insert mode, and allow the cursor to
;; go past the last character of t... | ;; -*- lexical-binding: t -*-
(defconst my-evil-packages '(drag-stuff
evil
(evil-escape :excluded t)
evil-nerd-commenter))
(defun my-evil/init-drag-stuff ()
(use-package drag-stuff
:defer t
:init
(with-eval-after-load... | Use K/J to drag lines up and down in visual state | Use K/J to drag lines up and down in visual state
| Emacs Lisp | mit | amfranz/spacemacs.d |
3ba677fd1da5c8e58fd07bb302aec601810135b2 | lisp/init-clojure-cider.el | lisp/init-clojure-cider.el | (require 'init-clojure)
(when (maybe-require-package 'cider)
(setq nrepl-popup-stacktraces nil)
(after-load 'cider
(add-hook 'cider-mode-hook 'eldoc-mode)
(add-hook 'cider-repl-mode-hook 'subword-mode)
(add-hook 'cider-repl-mode-hook 'paredit-mode)
;; nrepl isn't based on comint
(add-hook 'ci... | (require 'init-clojure)
(when (maybe-require-package 'cider)
(setq nrepl-popup-stacktraces nil)
(after-load 'cider
(add-hook 'cider-mode-hook 'eldoc-mode)
(add-hook 'cider-repl-mode-hook 'subword-mode)
(add-hook 'cider-repl-mode-hook 'paredit-mode)
;; nrepl isn't based on comint
(add-hook 'ci... | Load flycheck-clojure only after loading cider | Load flycheck-clojure only after loading cider
Fixes #502, thanks @picong
| Emacs Lisp | bsd-2-clause | mmqmzk/emacs.d,wegatron/emacs.d,qianwan/emacs.d,sgarciac/emacs.d,purcell/emacs.d,krzysz00/emacs.d,blueabysm/emacs.d,emuio/emacs.d,kindoblue/emacs.d,me020523/emacs.d,benkha/emacs.d,blueseason/emacs.d,lust4life/emacs.d,kongfy/emacs.d,svenyurgensson/emacs.d,dcorking/emacs.d,braveoyster/emacs.d,baohaojun/emacs.d,cjqw/emacs... |
4a9b122c618648a60f929a61a6cd273a70cd1139 | lisp/init-rails.el | lisp/init-rails.el | (when (maybe-require-package 'rinari)
(after-load 'rinari
(diminish 'rinari-minor-mode "Rin"))
(global-rinari-mode))
(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... | (when (maybe-require-package 'projectile-rails)
(after-load 'projectile
(add-hook 'projectile-mode-hook 'projectile-rails-on)
(after-load 'guide-key
(add-to-list 'guide-key/guide-key-sequence "C-c r"))))
(provide 'init-rails)
| Drop rinari for Rails work: projectile-rails is sufficient | Drop rinari for Rails work: projectile-rails is sufficient
| Emacs Lisp | bsd-2-clause | arthurl/emacs.d,cjqw/emacs.d,kongfy/emacs.d,blueseason/emacs.d,gsmlg/emacs.d,svenyurgensson/emacs.d,purcell/emacs.d,dcorking/emacs.d,sgarciac/emacs.d,wegatron/emacs.d,mmqmzk/emacs.d,baohaojun/emacs.d,kindoblue/emacs.d,qianwan/emacs.d,krzysz00/emacs.d,blueabysm/emacs.d,me020523/emacs.d,braveoyster/emacs.d,benkha/emacs.d... |
bda3aef96235891bd4f78f3ab0f5847b884c25d5 | pastebin.el | pastebin.el | ;;; pastebin.el --- pastebin example with simple-httpd
(require 'cl)
(require 'url-util)
(require 'simple-httpd)
(defvar pastebin-data-root (file-name-directory load-file-name))
(defvar pastebin-db (make-hash-table))
(defun pastebin-get-file (file)
(with-temp-buffer
(insert-file-literally (expand-file-name fi... | ;;; pastebin.el --- pastebin example with simple-httpd
(require 'cl)
(require 'url-util)
(require 'simple-httpd)
(defvar pastebin-data-root (file-name-directory load-file-name))
(defvar pastebin-db (make-hash-table))
(defun pastebin-get-file (file)
(with-temp-buffer
(insert-file-literally (expand-file-name fi... | Put IDs in base 16. | Put IDs in base 16.
| Emacs Lisp | unlicense | skeeto/emacs-pastebin |
0fa74bb8480d2b46fcd4e38ffbe28c2b6e97e0ca | install_elpa.el | install_elpa.el | (setq user-init-file "/tmp/.emacs")
;; Marmalade: http://marmalade-repo.org/
(require 'package)
(add-to-list 'package-archives
'("marmalade" .
"http://marmalade-repo.org/packages/"))
(package-initialize)
(package-refresh-contents)
(package-install 'color-theme)
(package-install 'gh)
(package-install 'gist)... | (setq user-init-file "/tmp/.emacs")
;; Marmalade: http://marmalade-repo.org/
(require 'package)
(add-to-list 'package-archives
'("marmalade" .
"http://marmalade-repo.org/packages/"))
(package-initialize)
(package-refresh-contents)
(package-install 'color-theme)
(package-install 'gh)
(package-install 'gist)... | Add pkg-info package (depended on by nrepl.el) | Emacs: Add pkg-info package (depended on by nrepl.el)
| Emacs Lisp | mit | Moocar/dotfiles |
e7f84f67657a64c622b3124a793dfbc7a27535df | load/rb.el | load/rb.el | (add-hook
'ruby-mode-hook
(lambda ()
;; Check spelling.
(flyspell-prog-mode)
;; Don't autofill
(auto-fill-mode 0)
;; Make enter indent.
(local-set-key (kbd "C-m") 'reindent-then-newline-and-indent)
;; Clean up whitespace on save.
(add-hook 'before-save-hook 'whitespace-cleanup nil t)
;; Reb... | (add-hook
'ruby-mode-hook
(lambda ()
;; Check spelling.
(flyspell-prog-mode)
;; Don't autofill
(auto-fill-mode 0)
;; Make enter indent.
(local-set-key (kbd "C-m") 'reindent-then-newline-and-indent)
;; Clean up whitespace on save.
(add-hook 'before-save-hook 'whitespace-cleanup nil t)
;; Reb... | Switch over to using Elixir `end` highlighting pattern | Switch over to using Elixir `end` highlighting pattern
| Emacs Lisp | mit | kaidadragonfly/.emacs |
decd961bc06e42ee4f0a1a75b5e66e62c066fcc8 | setup-package.el | setup-package.el | (require 'package)
(defvar marmalade '("marmalade" . "http://marmalade-repo.org/packages/"))
(defvar gnu '("gnu" . "http://elpa.gnu.org/packages/"))
(defvar melpa '("melpa" . "http://melpa.milkbox.net/packages/"))
;; Add marmalade to package repos
(add-to-list 'package-archives marmalade)
(add-to-list 'package-archiv... | (require 'package)
(defvar marmalade '("marmalade" . "http://marmalade-repo.org/packages/"))
(defvar gnu '("gnu" . "http://elpa.gnu.org/packages/"))
(defvar melpa '("melpa" . "http://melpa.milkbox.net/packages/"))
;; Add marmalade to package repos
(add-to-list 'package-archives marmalade)
(add-to-list 'package-archiv... | Make sure to fetch package-lists if needed. | Make sure to fetch package-lists if needed.
| Emacs Lisp | bsd-2-clause | AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d,AlejandroCatalina/emacs.d |
056f394ae08fb49f4a7d9a3f3a77e5ad928f2e11 | init-ido.el | init-ido.el | ;; Use C-f during file selection to switch to regular find-file
(ido-mode t) ; use 'buffer rather than t to use only buffer switching
(ido-everywhere t)
(setq ido-enable-flex-matching t)
(setq ido-use-filename-at-point nil)
(setq ido-auto-merge-work-directories-length 0)
;; Allow the same buffer to be open in differe... | ;; Use C-f during file selection to switch to regular find-file
(ido-mode t) ; use 'buffer rather than t to use only buffer switching
(ido-everywhere t)
(setq ido-enable-flex-matching t)
(setq ido-use-filename-at-point nil)
(setq ido-auto-merge-work-directories-length 0)
(setq ido-show-dot-for-dired t)
;; Allow the s... | Include '.' in ido file completion lists, allowing quick switch to dired | Include '.' in ido file completion lists, allowing quick switch to dired
| Emacs Lisp | bsd-2-clause | danfengcao/emacs.d,atreeyang/emacs.d,dongdonghu/.emacs.d,qianwan/emacs.d,jachinpy/emacs.d,farzadbekran/emacs.d,mpwang/emacs.d,farzadbekran/emacs.d,hkcqr/emacs.d,jachinpy/emacs.d,zuoshifan/emacs.d,lromang/emacs.d,braveoyster/emacs.d,kindoblue/emacs.d,Togal/emacs.d,scorpionis/emacs.d,renatoriccio/emacs.d,qinshulei/emacs.... |
5f0afe95eb796b02f5d9c88b5a0ffcb73c1a600c | init-sql.el | init-sql.el | (require-package 'sql-indent)
(eval-after-load 'sql
'(load-library "sql-indent"))
(eval-after-load 'sql
'(when (featurep 'dash-at-point)
(defun sanityinc/maybe-set-dash-db-docset ()
(when (eq sql-product 'postgres)
(setq dash-at-point-docset "psql")))
(add-hook 'sql-mode-hook 'sanityinc/... | (require-package 'sql-indent)
(eval-after-load 'sql
'(load-library "sql-indent"))
(eval-after-load 'sql
'(when (package-installed-p 'dash-at-point)
(defun sanityinc/maybe-set-dash-db-docset ()
(when (eq sql-product 'postgres)
(setq dash-at-point-docset "psql")))
(add-hook 'sql-mode-hoo... | Use package-installed-p to detect dash-at-point | Use package-installed-p to detect dash-at-point
| Emacs Lisp | bsd-2-clause | blueseason/emacs.d |
4cf14534a6656a6dbc7323a63204c294fd69546b | init-growl.el | init-growl.el | (require 'todochiku) ;; growl notifications when compilation finishes
(setq todochiku-icons-directory (expand-file-name "~/.emacs.d/site-lisp/todochiku-icons"))
;;----------------------------------------------------------------------------
;; Use terminal-notifier in OS X Mountain Lion
;; https://github.com/alloy/ter... | (require 'todochiku) ;; growl notifications when compilation finishes
(setq todochiku-icons-directory (expand-file-name "~/.emacs.d/site-lisp/todochiku-icons"))
(defcustom terminal-notifier-path
"/Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier"
"Path to the terminal-notifier app for Mountain L... | Tidy up terminal-notifier code, and skip file test when not on OS X | Tidy up terminal-notifier code, and skip file test when not on OS X
| Emacs Lisp | bsd-2-clause | pairyo/emacs.d,zuoshifan/emacs.d,farzadbekran/emacs.d,jhpx/emacs.d,lust4life/emacs.d,Shanicky/emacs.d,qianwan/emacs.d,scorpionis/emacs.d,purcell/emacs.d,dongdonghu/.emacs.d,shafayetkhan/emacs.d,zuoshifan/emacs.d,modkzs/emcs.d,benkha/emacs.d,baohaojun/emacs.d,dhanunjaya/emacs.d,zuoshifan/emacs.d,caoyuanqi/emacs.d,ilove0... |
23fc9a3fdd418116bd88bd82d36cd1bd37eaf879 | emacs.d/config/config-server.el | emacs.d/config/config-server.el | (server-start)
;; make C-x k work for emacsclient sessions too.
(add-hook 'server-switch-hook
(lambda ()
(when server-buffer-clients
(local-set-key (kbd "C-x k") 'server-edit)
)
)
)
| (server-start)
(defun my/kill-buffer-or-server-edit ()
(interactive)
(if server-buffer-clients
(server-edit)
(kill-buffer)
)
)
;; make C-x k work for emacsclient sessions too.
(add-hook 'server-switch-hook
(lambda ()
(local-set-key (kbd "C-x k") 'my/kill-buffer-or-server-edit)
)
)
| Fix handling of C-x k. | Fix handling of C-x k.
| Emacs Lisp | bsd-3-clause | shaleh/dot-files |
de4c3b9495d2cbfb00b180ac35b241d599f0a5e7 | lisp/init-osx-keys.el | lisp/init-osx-keys.el | (when *is-a-mac*
(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'meta)
(setq default-input-method "MacOSX")
;; Make mouse wheel / trackpad scrolling less jerky
(setq mouse-wheel-scroll-amount '(1
((shift) . 5)
((control))))
... | (when *is-a-mac*
(setq mac-command-modifier 'meta)
(setq mac-option-modifier 'none)
(setq default-input-method "MacOSX")
;; Make mouse wheel / trackpad scrolling less jerky
(setq mouse-wheel-scroll-amount '(1
((shift) . 5)
((control))))
... | Change meta key to none | Change meta key to none
| Emacs Lisp | bsd-2-clause | shafayetkhan/emacs.d |
3e017598ba6762e7d27e9cbc9f47a28f8dec53b7 | modes/switch-window-conf.el | modes/switch-window-conf.el | ;;; switch-window-conf.el -- Settings for switch-window.
(eval-when-compile
(require 'switch-window))
(custom-set-variables
'(switch-window-shortcut-style 'qwerty)
'(switch-window-increase 8)
'(switch-window-timeout 5)
'(switch-window-threshold 2)
'(switch-window-preferred 'ivy)
'(switch-window-configuration-c... | ;;; switch-window-conf.el -- Settings for switch-window.
;;
;;; Commentary:
;;
;;; Code:
(require 'switch-window)
(custom-set-variables
'(switch-window-shortcut-style 'qwerty)
'(switch-window-minibuffer-shortcut ?z)
'(switch-window-timeout 5)
'(switch-window-threshold 2)
'(switch-window-preferred 'ivy)
'(switch-... | Update settings to better support EXWM | switch-window: Update settings to better support EXWM
| Emacs Lisp | bsd-3-clause | pjones/emacsrc |
81e1ee7915aa362418b2a3b8c7639931d51a6ae3 | emacs/emacs.d/my-region-bindings-mode.el | emacs/emacs.d/my-region-bindings-mode.el | (require 'region-bindings-mode)
(require 'multiple-cursors)
(region-bindings-mode-enable)
(bind-keys :map region-bindings-mode-map
("p" . previous-line)
("e" . end-of-line)
("a" . beginning-of-line)
("w" . forward-word)
("b" . backward-word)
("a" . mc/... | (require 'region-bindings-mode)
(require 'multiple-cursors)
(region-bindings-mode-enable)
(bind-keys :map region-bindings-mode-map
("l" . mc/edit-lines)
("w" . count-words-region)
("u" . upcase-region)
("d" . downcase-region)
("m" . apply-macro-to-region-lines)
... | Add keys when region is active | Add keys when region is active
| Emacs Lisp | mit | sri/dotfiles,sri/dotfiles,sri/dotfiles |
b80f5daf5965ca4b8db6a4fb4d3b6eb324627d6f | modules/lang/scala/packages.el | modules/lang/scala/packages.el | ;; -*- no-byte-compile: t; -*-
;;; lang/scala/packages.el
(package! sbt-mode :pin "633a315ad4")
(package! scala-mode :pin "46bb948345")
| ;; -*- no-byte-compile: t; -*-
;;; lang/scala/packages.el
(package! sbt-mode :pin "633a315ad4")
(package! scala-mode :pin "46bb948345")
(when (featurep! +lsp)
(package! lsp-metals :pin "5468b638cd81b7d9ce9edc652c281b28bd775c23"))
| Add separate package for lsp-metals | Add separate package for lsp-metals
lsp-metals was extracted out of lsp-emacs into a separate package. This
change adds that separate package to the scala module when the lsp
feature is selected.
Fixes hlissner/doom-emacs#3362
| Emacs Lisp | mit | hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/doom-emacs,hlissner/doom-emacs,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/.emacs.d,hlissner/doom-emacs |
5f14b83b93c55074c46debf530b9001d6d37b139 | emacs/ar/ar-shell.el | emacs/ar/ar-shell.el | ;;; ar-shell.el --- Shell support.
;;; Commentary:
;; Shell helpers.
(require 'comint)
(defun ar/shell-cd (dir-path)
"Change shell current working directory to DIR-PATH.
Like shell-pop--cd-to-cwd-shell, but without recentering."
(unless (string-equal mode-name "Shell")
(error "Not in Shell mode"))
(messag... | ;;; ar-shell.el --- Shell support.
;;; Commentary:
;; Shell helpers.
(require 'comint)
(defun ar/shell-cd (dir-path)
"Change shell current working directory to DIR-PATH.
Like shell-pop--cd-to-cwd-shell, but without recentering."
(unless (string-equal mode-name "Shell")
(error "Not in Shell mode"))
(messag... | Send command to shell mode | Send command to shell mode
| Emacs Lisp | bsd-2-clause | xenodium/dotfiles,xenodium/dotfiles |
af4c1dd40ab77d26db790853001b5bff5274749d | 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... | Switch back to lsp for haskell in emacs | Switch back to lsp for haskell in emacs
| Emacs Lisp | mit | mpardalos/dotfiles,mpardalos/dotfiles |
df11105874481aa50affc888bd50c4805e370c9d | emacs/.emacs.d/config/my-lookfeel.el | emacs/.emacs.d/config/my-lookfeel.el | ;; linum-relative: Vim-like relative line numbers
;; https://github.com/coldnew/linum-relative
(use-package linum-relative
:ensure linum-relative
:init
(linum-relative-global-mode 1))
;; Disable the intro screen & message
(setq inhibit-splash-screen t
inhibit-startup-echo-area-message t
inhibit-start... | ;; linum-relative: Vim-like relative line numbers
;; https://github.com/coldnew/linum-relative
(use-package linum-relative
:ensure linum-relative
:init
(linum-relative-global-mode 1))
;; atom-one-dark-theme: An Emacs port of the Atom One Dark theme from Atom.io.
;; https://github.com/jonathanchu/atom-one-dark-th... | Add atom-one-dark-theme package to Emacs | Add atom-one-dark-theme package to Emacs
Change colourscheme to look like that of the Atom editor.
| Emacs Lisp | unlicense | Llewxamris/dotfiles |
300261f4050a761d3f307634b1f366d89209aa4c | config/eshell-parameters.el | config/eshell-parameters.el | ;; Emacs configuration
;; Parameters for eshell.
;; Make eshell open in a new window instead of replacing the current buffer in
;; the current window.
(setq-default display-buffer-alist '(("\\`\\*e?shell" display-buffer-pop-up-window)))
;; Set eshell data directory and alias file.
(setq-default eshell-directory-name... | ;; Emacs configuration
;; Parameters for eshell.
;; Make eshell open in a new window instead of replacing the current buffer in
;; the current window.
(setq-default display-buffer-alist '(("\\`\\*e?shell" display-buffer-pop-up-window)))
;; Set eshell data directory and alias file.
(setq-default eshell-directory-name... | Use less calls to setq-default | Use less calls to setq-default
| Emacs Lisp | mit | Guilz/emacs.d |
acd2d3649a553fe0c191d22c132cc366de2ca8db | user-lisp/lsp-customisations.el | user-lisp/lsp-customisations.el |
(use-package lsp-mode
:config
;; For some reason icons aren't currently rendering, so don't show them.
(setq lsp-modeline-code-actions-segments '(count name))
(setq lsp-rust-analyzer-cargo-watch-command "clippy")
(setq lsp-rust-clippy-preference "on")
(set-face-attribute 'lsp-lsp-flycheck-warning-unneces... |
(use-package lsp-mode
:config
;; For some reason icons aren't currently rendering, so don't show them.
(setq lsp-modeline-code-actions-segments '(count name))
(setq lsp-rust-analyzer-cargo-watch-command "clippy")
(setq lsp-rust-clippy-preference "on")
(set-face-attribute 'lsp-lsp-flycheck-warning-unneces... | Add keybinding for xref in LSP | Add keybinding for xref in LSP
| Emacs Lisp | mit | Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d,Wilfred/.emacs.d |
b117a8a57921df883c7d0f157e97a9c6d091d63e | Packages/settings/setup-theme.el | Packages/settings/setup-theme.el | (use-package spacemacs-theme
:defer t
:init
(setq default-frame-alist (quote ((fullscreen . maximized))))
(load-theme 'spacemacs-dark t)
)
(use-package spaceline
:defer t
:init
(setq powerline-default-separator 'arrow-fade)
)
(use-package spaceline-config
:demand t
:ensure spaceline
:config
... | (use-package spacemacs-theme
:defer t
:init
(setq default-frame-alist (quote ((fullscreen . maximized))))
(load-theme 'spacemacs-dark t)
)
(use-package spaceline
:defer t
:init
(setq powerline-default-separator 'slant)
(setq ns-use-srgb-colorspace nil)
(setq powerline-height 15)
)
(use-package s... | Disable srgb colorspace and set powerline-height to 15 | Disable srgb colorspace and set powerline-height to 15
| Emacs Lisp | mit | hsienchiaolee/aquamacs |
4441aed29aba572f86b20e046409e5eb682adb94 | init-package/init-smartparens.el | init-package/init-smartparens.el | (use-package smartparens-config
:commands smartparens-mode
:init
(add-to-hooks 'smartparens-mode '(prog-mode-hook
erlang-mode-hook
)))
| (use-package smartparens-config
:commands smartparens-mode
:init
(add-to-hooks 'smartparens-mode '(erlang-mode-hook
markdown-mode-hook
prog-mode-hook
)))
| Add smartparens to markdown mode hook | Add smartparens to markdown mode hook
| Emacs Lisp | mit | tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs |
34dfeff044bf90934ff591d3652d8f4f7553f138 | setup-files/setup-git-link.el | setup-files/setup-git-link.el | ;; Time-stamp: <2016-02-05 16:30:43 kmodi>
;; Git Link
;; https://github.com/sshaw/git-link
(use-package git-link
:bind (:map region-bindings-mode-map
("g" . modi/git-link-force-hash))
:config
(progn
(defun modi/git-link-force-hash ()
"This function is the same as `git-link' except that it co... | ;; Time-stamp: <2016-02-17 11:00:18 kmodi>
;; Git Link
;; https://github.com/sshaw/git-link
(use-package git-link
:bind (:map region-bindings-mode-map
("g" . modi/git-link-force-hash))
:config
(progn
(defun modi/git-link-force-hash ()
"This function is the same as `git-link' except that it co... | Add git-link support for emacs source code | Add git-link support for emacs source code
- for git.savannah.gnu.org repos
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
6f32ff6797db1b61d54bc4699196460d9ac9d2ef | setup-files/setup-paradox.el | setup-files/setup-paradox.el | ;; Time-stamp: <2016-05-19 21:38:52 kmodi>
;; Paradox
;; https://github.com/Malabarba/paradox
(use-package paradox
:defer t
:config
(progn
;; The "paradox-token" file is supposed to contain this line:
;; (setq paradox-github-token "<YOUR_TOKEN>")
(load (locate-user-emacs-file "paradox-token") :n... | ;; Time-stamp: <2017-04-11 17:55:49 kmodi>
;; Paradox
;; https://github.com/Malabarba/paradox
(use-package paradox
:defer 10
:config
(progn
;; The "paradox-token" file is supposed to contain this line:
;; (setq paradox-github-token "<YOUR_TOKEN>")
(load (locate-user-emacs-file "paradox-token") :... | Load paradox after idle time of 10 seconds | Load paradox after idle time of 10 seconds
| Emacs Lisp | mit | kaushalmodi/.emacs.d,kaushalmodi/.emacs.d |
baa738ecd3937811b8e173eca68138b807dcfae5 | 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)
| (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"))
(define-abbrev org-mode-abbrev-... | Add an abbrev binding to the digraph template | Add an abbrev binding to the digraph template
| Emacs Lisp | bsd-3-clause | dgtized/dotfiles,dgtized/dotfiles,dgtized/dotfiles |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.