refactor(emacs): remove emacs from tracking
This commit is contained in:
parent
0aa0648cb7
commit
6fa9a437f9
1
dots/.config/.gitignore
vendored
1
dots/.config/.gitignore
vendored
@ -14,7 +14,6 @@
|
|||||||
!wezterm
|
!wezterm
|
||||||
!wofi
|
!wofi
|
||||||
!kitty
|
!kitty
|
||||||
!emacs
|
|
||||||
!alacritty
|
!alacritty
|
||||||
!git
|
!git
|
||||||
!gtk-3.0
|
!gtk-3.0
|
||||||
|
5
dots/.config/emacs/.gitignore
vendored
5
dots/.config/emacs/.gitignore
vendored
@ -1,5 +0,0 @@
|
|||||||
auto-save-list
|
|
||||||
eln-cache
|
|
||||||
elpa
|
|
||||||
transient
|
|
||||||
init.el~
|
|
@ -1,21 +0,0 @@
|
|||||||
(setq inhibit-startup-message t)
|
|
||||||
|
|
||||||
(scroll-bar-mode -1) ; Disable visible scrollbar
|
|
||||||
(tool-bar-mode -1) ; Disable the toolbar
|
|
||||||
(tooltip-mode -1) ; Disable tooltips
|
|
||||||
(set-fringe-mode 10) ; Give some breathing room
|
|
||||||
|
|
||||||
(menu-bar-mode -1) ; Disable the menu bar
|
|
||||||
|
|
||||||
(set-face-attribute 'default nil :font "JetBrains Mono" :height 100)
|
|
||||||
|
|
||||||
(load-theme 'wombat)
|
|
||||||
|
|
||||||
;; Make ESC quit prompts
|
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
|
||||||
|
|
||||||
;; Set line numbers
|
|
||||||
(column-number-mode)
|
|
||||||
(global-display-line-numbers-mode t)
|
|
||||||
|
|
||||||
(provide 'init-settings)
|
|
@ -1,24 +0,0 @@
|
|||||||
(setq inhibit-startup-message t)
|
|
||||||
|
|
||||||
(scroll-bar-mode -1) ; Disable visible scrollbar
|
|
||||||
(tool-bar-mode -1) ; Disable the toolbar
|
|
||||||
(tooltip-mode -1) ; Disable tooltips
|
|
||||||
(set-fringe-mode 10) ; Give some breathing room
|
|
||||||
|
|
||||||
(menu-bar-mode -1) ; Disable the menu bar
|
|
||||||
|
|
||||||
;; Set up the visible bell
|
|
||||||
(setq visible-bell t)
|
|
||||||
|
|
||||||
(set-face-attribute 'default nil :font "JetBrains Mono" :height 100)
|
|
||||||
|
|
||||||
(load-theme 'wombat)
|
|
||||||
|
|
||||||
;; Make ESC quit prompts
|
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
|
||||||
|
|
||||||
;; Set line numbers
|
|
||||||
(column-number-mode)
|
|
||||||
(global-display-line-numbers-mode t)
|
|
||||||
|
|
||||||
(provide 'init-settings)
|
|
@ -1,6 +0,0 @@
|
|||||||
(use-package doom-modeline
|
|
||||||
:ensure t
|
|
||||||
:init (doom-modeline-mode 1)
|
|
||||||
:custom ((doom-modeline-height 15)))
|
|
||||||
|
|
||||||
(provide 'init-doom-modeline)
|
|
@ -1,15 +0,0 @@
|
|||||||
(use-package evil
|
|
||||||
:ensure t
|
|
||||||
:init
|
|
||||||
(setq evil-want-integration t) ;; This is optional since it's already set to t by default.
|
|
||||||
(setq evil-want-keybinding nil)
|
|
||||||
:config
|
|
||||||
(evil-mode 1))
|
|
||||||
|
|
||||||
(use-package evil-collection
|
|
||||||
:after evil
|
|
||||||
:ensure t
|
|
||||||
:config
|
|
||||||
(evil-collection-init))
|
|
||||||
|
|
||||||
(provide 'init-evil)
|
|
@ -1,30 +0,0 @@
|
|||||||
(use-package ivy
|
|
||||||
:diminish
|
|
||||||
:init
|
|
||||||
(ivy-mode 1))
|
|
||||||
|
|
||||||
(use-package all-the-icons-ivy-rich
|
|
||||||
:ensure t
|
|
||||||
:init (all-the-icons-ivy-rich-mode 1)
|
|
||||||
:config
|
|
||||||
(setq all-the-icons-rich-icon t)
|
|
||||||
(setq all-the-icons-ivy-rich-color-icon t))
|
|
||||||
|
|
||||||
(use-package ivy-rich
|
|
||||||
:ensure t
|
|
||||||
:init
|
|
||||||
(ivy-rich-mode 1))
|
|
||||||
|
|
||||||
(use-package all-the-icons-completion
|
|
||||||
:init
|
|
||||||
(all-the-icons-completion-mode 1))
|
|
||||||
|
|
||||||
(all-the-icons-completion-mode)
|
|
||||||
|
|
||||||
(use-package swiper
|
|
||||||
:config
|
|
||||||
(general-define-key
|
|
||||||
:states 'normal
|
|
||||||
"/" 'swiper))
|
|
||||||
;
|
|
||||||
(provide 'init-ivy)
|
|
@ -1,4 +0,0 @@
|
|||||||
(use-package rainbow-delimiters
|
|
||||||
:hook (prog-mode . rainbow-delimiters-mode))
|
|
||||||
|
|
||||||
(provide 'init-rainbow-delimiters)
|
|
@ -1,7 +0,0 @@
|
|||||||
(use-package which-key
|
|
||||||
:init (which-key-mode 1)
|
|
||||||
:diminish which-key-mode
|
|
||||||
:config
|
|
||||||
(setq which-key-idle-delay 0.3))
|
|
||||||
|
|
||||||
(provide 'init-whichkey)
|
|
@ -1,31 +0,0 @@
|
|||||||
(add-to-list 'load-path "~/.config/emacs/config/plugins/config/")
|
|
||||||
|
|
||||||
(require 'package)
|
|
||||||
|
|
||||||
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
|
|
||||||
("org" . "https://orgmode.org/elpa/")
|
|
||||||
("elpa" . "https://elpa.gnu.org/packages/")))
|
|
||||||
|
|
||||||
(package-initialize)
|
|
||||||
(unless package-archive-contents
|
|
||||||
(package-refresh-contents))
|
|
||||||
|
|
||||||
;; Initialize use-package on non-Linux platforms
|
|
||||||
(unless (package-installed-p 'use-package)
|
|
||||||
(package-install 'use-package))
|
|
||||||
|
|
||||||
(require 'use-package)
|
|
||||||
(setq use-package-always-ensure t)
|
|
||||||
|
|
||||||
; Keep near top, after use-package
|
|
||||||
(use-package general)
|
|
||||||
(require 'general)
|
|
||||||
|
|
||||||
(require 'init-evil)
|
|
||||||
(require 'init-doom-modeline)
|
|
||||||
(require 'init-ivy)
|
|
||||||
(require 'init-whichkey)
|
|
||||||
(require 'init-rainbow-delimiters)
|
|
||||||
|
|
||||||
; Keep these at bottom
|
|
||||||
(provide 'init-plugins)
|
|
@ -1,18 +0,0 @@
|
|||||||
(add-to-list 'load-path "~/.config/emacs/config/")
|
|
||||||
(add-to-list 'load-path "~/.config/emacs/config/plugins/")
|
|
||||||
|
|
||||||
(require 'init-settings)
|
|
||||||
(require 'init-plugins)
|
|
||||||
|
|
||||||
(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 '(ivy doom-modeline 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.
|
|
||||||
)
|
|
Loading…
Reference in New Issue
Block a user