diff options
author | William Carroll <wpcarro@gmail.com> | 2020-04-05T14·58+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-04-05T14·58+0100 |
commit | 408a25415c0f04b3d4fa878871869d5e63a080f7 (patch) | |
tree | 4566044062e03b9a397c69f8a721e8725599af98 /emacs | |
parent | 946ccfb2477504111ff35e0ef60b4a89bda71210 (diff) |
Remove dotfiles.el
This module is a bit stale.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.el | 1 | ||||
-rw-r--r-- | emacs/.emacs.d/wpc/dotfiles.el | 55 | ||||
-rw-r--r-- | emacs/.emacs.d/wpc/window-manager.el | 4 |
3 files changed, 1 insertions, 59 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 787d55971640..9de983518502 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -21,7 +21,6 @@ (require 'ssh) (require 'clipboard) (require 'battery) -(require 'dotfiles) (require 'bookmark) (require 'keyboard) (require 'irc) diff --git a/emacs/.emacs.d/wpc/dotfiles.el b/emacs/.emacs.d/wpc/dotfiles.el deleted file mode 100644 index 0afe04bbd66b..000000000000 --- a/emacs/.emacs.d/wpc/dotfiles.el +++ /dev/null @@ -1,55 +0,0 @@ -;;; dotfiles.el --- Elisp to make dotfile management -*- lexical-binding: t -*- -;; Author: William Carroll <wpcarro@gmail.com> - -;;; Commentary: -;; Quickly edit commonly used files. - -;;; Code: - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Dependencies -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -(require 'macros) -(require 'f) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; API -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -(defconst dotfiles/install-kbds? t - "When t, install the keybindings.") - -(defconst dotfiles/directory (getenv "BRIEFCASE") - "The root directory of my configuration files.") - -(defconst dotfiles/whitelist - `(("dotfiles" . ,dotfiles/directory) - ("functions" . "~/functions.zsh") - ("aliases" . "~/aliases.zsh") - ("variables" . "~/variables.zsh") - ("Xresources" . "~/.Xresources.shared") - ("xsession" . "~/.xsessionrc.shared") - ("tmux" . "~/.tmux.conf") - ("zshrc" . "~/.zshrc") - ("config.fish" . "~/.config/fish/config.fish") - ("configuration.nix" . "~/Dropbox/programming/nixify/configuration.nix") - ("init.el" . "~/.emacs.d/init.el") - ("init.vim" . "~/.config/nvim/init.vim")) - "Dotfiles that I commonly edit.") - -(defun dotfiles/edit () - "Select a dotfile from ivy and edit it in an Emacs buffer." - (interactive) - (ivy-read - "Dotfile: " - dotfiles/whitelist - :action (>> cdr find-file))) - -(defun dotfiles/find-emacs-file (name) - "Call `find-file' on NAME located in dotfiles's emacs.d directory." - (find-file - (f-join dotfiles/directory "emacs/.emacs.d" name))) - -(provide 'dotfiles) -;;; dotfiles.el ends here diff --git a/emacs/.emacs.d/wpc/window-manager.el b/emacs/.emacs.d/wpc/window-manager.el index 6b152a283f9c..1fe1e1a546b3 100644 --- a/emacs/.emacs.d/wpc/window-manager.el +++ b/emacs/.emacs.d/wpc/window-manager.el @@ -24,7 +24,6 @@ (require 'kbd) (require 'ivy-helpers) (require 'display) -(require 'dotfiles) (require 'org-helpers) (require 'vterm-mgt) (require 'dash) @@ -408,8 +407,7 @@ This function asssumes that BUFFER passes the `exwm/exwm-buffer?' predicate." ;; Briefcase ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (progn - (exwm/switch "Briefcase") - (dotfiles/find-emacs-file "init.el")) + (exwm/switch "Briefcase")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Terminal ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |