dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: 467c42e396a4366b287b82ebcbfd5c22359a4bd2
Parent: 60dd4b73646a81ff73b97e3ba7823e63ea21c295
Author: Randy Palamar
Date:   Fri,  5 Mar 2021 17:01:39 -0700

remove emacs config and .exrc

emacs is not good even with control in the correct (unix) location

Diffstat:
D.config/emacs/.gitignore | 6------
D.config/emacs/config.org | 111-------------------------------------------------------------------------------
D.config/emacs/init.el | 30------------------------------
D.exrc | 5-----
4 files changed, 0 insertions(+), 152 deletions(-)

diff --git a/.config/emacs/.gitignore b/.config/emacs/.gitignore @@ -1,6 +0,0 @@ -auto-save-list/ -config.el -elpa/ -kkcrc -server/ -transient/ diff --git a/.config/emacs/config.org b/.config/emacs/config.org @@ -1,111 +0,0 @@ -* Aesthetics -** Theme -#+BEGIN_SRC emacs-lisp - (use-package nofrils-acme-theme - :ensure t) - (require 'nofrils-acme-theme) - (load-theme 'nofrils-acme t) -#+END_SRC - -** Remove graphics bars -#+BEGIN_SRC emacs-lisp -(tool-bar-mode -1) -(menu-bar-mode -1) -(scroll-bar-mode -1) -#+END_SRC - -* Keybinds -** Buffers -*** Kill Current Buffer -#+BEGIN_SRC emacs-lisp - (defun kill-current-buffer () - "kills focused buffer" - (interactive) - (kill-buffer (current-buffer))) - (global-set-key (kbd "C-x k") 'kill-current-buffer) -#+END_SRC - -*** ibuffer -#+BEGIN_SRC emacs-lisp - (global-set-key (kbd "C-x b") 'ibuffer) -#+END_SRC - -** which-key -#+BEGIN_SRC emacs-lisp - (use-package which-key - :ensure t - :config (which-key-mode)) -#+END_SRC -** Live Config Reload -#+BEGIN_SRC emacs-lisp - (defun config-reload () - "Reloads ~/.config/emacs/config.org at runtime" - (interactive) - (org-babel-load-file (expand-file-name "~/.config/emacs/config.org"))) - (global-set-key (kbd "C-c r") 'config-reload) -#+END_SRC - -* Programming -** C -#+BEGIN_SRC emacs-lisp - (setq c-default-style "bsd" - c-basic-offset 8) - - (setq-default tab-width 8 - indent-tabs-mode t) -#+END_SRC - -** Git -#+BEGIN_SRC emacs-lisp - (use-package magit - :ensure t - :bind - ("M-g" . magit-status)) -#+END_SRC - -* Misc -** Autosave -#+BEGIN_SRC emacs-lisp -(setq make-backup-files nil) -(setq auto-save-default nil) -#+END_SRC - -** Async -#+BEGIN_SRC emacs-lisp - (use-package async - :ensure t - :init (dired-async-mode 1)) -#+END_SRC - -** Org-Mode -*** Common -#+BEGIN_SRC emacs-lisp - (setq org-src-tab-acts-natively t) - (setq org-confirm-babel-evaluate nil) - (setq org-log-done t) - (setq org-agenda-files (quote ("~/org/school.org"))) -#+END_SRC - -*** Org-Bullets -#+BEGIN_SRC emacs-lisp - (use-package org-bullets - :ensure t - :config - (add-hook 'org-mode-hook (lambda () (org-bullets-mode)))) -#+END_SRC -*** Source Tags -Hitting tab after an "<el" in an org-mode file will create a template for elisp insertion. -#+BEGIN_SRC emacs-lisp - (add-to-list 'org-structure-template-alist - '("el" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC")) -#+END_SRC - -** UTF-8 -Only use UTF-8, as god intended -#+BEGIN_SRC emacs-lisp - (setq locale-coding-system 'utf-8) - (set-terminal-coding-system 'utf-8) - (set-keyboard-coding-system 'utf-8) - (set-selection-coding-system 'utf-8) - (prefer-coding-system 'utf-8) -#+END_SRC diff --git a/.config/emacs/init.el b/.config/emacs/init.el @@ -1,30 +0,0 @@ -;;; Package Archives -(require 'package) -(setq package-enable-at-startup nil) - -(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") - ("melpa" . "https://melpa.org/packages/") - ("org" . "https://orgmode.org/elpa/"))) -(package-initialize) - -;;; Bootstrap use-package -(unless (package-installed-p 'use-package) - (package-refresh-contents) - (package-install 'use-package)) - -;;; Load actual config file -(when (file-readable-p "~/.config/emacs/config.org") - (org-babel-load-file (expand-file-name "~/.config/emacs/config.org"))) - -(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. - '(package-selected-packages (quote (which-key magit org-bullets use-package)))) -(custom-set-faces - ;; custom-set-faces 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. - '(default ((t (:family "Go Mono" :foundry " " :slant normal :weight normal :height 158 :width normal))))) diff --git a/.exrc b/.exrc @@ -1,5 +0,0 @@ -:set ai -:set ruler -:set smd - -map gq :.!fmt -w 72