removed .el files

This commit is contained in:
Chad Nelson 2025-02-20 10:41:09 -07:00
parent 24d307ae8e
commit bcd509f331
24 changed files with 2 additions and 296 deletions

View file

@ -1,4 +0,0 @@
(use-package eglot
:config
(add-to-list 'eglot-server-programs
'(php-ts-mode . ("phpactor" "language-server"))))

View file

@ -1,56 +0,0 @@
(use-package emacs
:bind
(("C-c f f" . toggle-frame-fullscreen))
:config
;; Disable tool-bar
(tool-bar-mode -1)
;; Enable horizontal mouse scroll
(setq mouse-wheel-tilt-scroll t)
;; Enable electric indent mode
(electric-pair-mode t)
;; Switch meta command key
(setq mac-command-modifier 'meta)
;; Enable which-key
(which-key-mode)
;; Enable completion preview
;;(global-completion-preview-mode)
;; Set font
(set-face-attribute 'default t :font "JetBrains Mono" :height 120)
;; Fontify code blocks in markdown mode
;;(setq markdown-fontify-code-blocks-natively t)
;; Enable SPC option in minibuffer
;;(define-key minibuffer-local-completion-map (kbd "SPC") 'self-insert-command)
;; Disable native comp warnings
(setq native-comp-async-report-warnings-errors 'silent)
;; Save history of minibuffer
(savehist-mode)
;; Set cursor type
(setq-default cursor-type 'bar)
;; Automatically reread from disk if the underlying file changes
(setq auto-revert-interval 1)
(setq auto-revert-check-vc-info t)
(global-auto-revert-mode)
;; Don't litter file system with *~ backup files; put them all inside
(defun my--backup-file-name (fpath)
"Return a new file path of a given file path. If the new path's directories does not exist, create them."
(let* ((backupRootDir "~/.config/emacs/emacs-backup/")
(filePath (replace-regexp-in-string "[A-Za-z]:" "" fpath )) ; remove Windows driver letter in path
(backupFilePath (replace-regexp-in-string "//" "/" (concat backupRootDir filePath "~") )))
(make-directory (file-name-directory backupFilePath) (file-name-directory backupFilePath))
backupFilePath))
(setq make-backup-file-name-function 'my--backup-file-name)
)

View file

@ -1,5 +0,0 @@
(use-package hyperbole
:ensure t
:defer t
:config
(hyperbole-mode 1))

View file

@ -1,34 +0,0 @@
(use-package org-contrib
:ensure t)
(use-package ob-php
:ensure t)
(use-package org
:config
(require 'org-tempo)
(setq org-src-preserve-indentation nil
org-edit-src-content-indentation 0)
;; active Babel languages
(org-babel-do-load-languages
'org-babel-load-languages
'((php . t)
(scheme . t)))
;;(verb . t)))
(add-to-list 'org-src-lang-modes '("php" . php-ts))
(setq org-src-fontify-natively t
;;org-src-tab-acts-natively t
org-confirm-babel-evaluate nil
;;org-edit-src-content-indentation 0
)
(setq org-agenda-files (directory-files-recursively "/Users/cnelson/.org" "\\.org$"))
(eval-after-load "org"
'(require 'ox-md nil t))
)
(use-package htmlize
:ensure t)

View file

@ -1,6 +0,0 @@
(use-package treesit
:config
(setq treesit-language-source-alist
'(;;(php "https://github.com/tree-sitter/tree-sitter-php" "master" "php/src")
;;(dockerfile "https://github.com/camdencheek/tree-sitter-dockerfile" "main" "src")
(yaml "https://github.com/ikatyang/tree-sitter-yaml" "master" "src"))))