Remove dotfiles.el
This module is a bit stale.
This commit is contained in:
parent
946ccfb247
commit
408a25415c
3 changed files with 1 additions and 59 deletions
|
@ -21,7 +21,6 @@
|
|||
(require 'ssh)
|
||||
(require 'clipboard)
|
||||
(require 'battery)
|
||||
(require 'dotfiles)
|
||||
(require 'bookmark)
|
||||
(require 'keyboard)
|
||||
(require 'irc)
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
Loading…
Reference in a new issue