New emacs config.
This commit is contained in:
parent
d73bdd1c63
commit
4db4dc1aa2
|
@ -2,7 +2,7 @@
|
|||
"auto_complete_delay": 20,
|
||||
"color_scheme": "Monokai Pro (Filter Spectrum).sublime-color-scheme",
|
||||
"font_face": "Iosevka Regular",
|
||||
"font_size": 12,
|
||||
"font_size": 13,
|
||||
"ignored_packages":
|
||||
[
|
||||
"Rust",
|
||||
|
|
51
london/.emacs.d/.gitignore
vendored
Normal file
51
london/.emacs.d/.gitignore
vendored
Normal file
|
@ -0,0 +1,51 @@
|
|||
# -*- mode: gitignore; -*-
|
||||
*~
|
||||
\#*\#
|
||||
/.emacs.desktop
|
||||
/.emacs.desktop.lock
|
||||
*.elc
|
||||
auto-save-list
|
||||
tramp
|
||||
.\#*
|
||||
|
||||
# Org-mode
|
||||
.org-id-locations
|
||||
*_archive
|
||||
|
||||
# flymake-mode
|
||||
*_flymake.*
|
||||
|
||||
# eshell files
|
||||
/eshell/history
|
||||
/eshell/lastdir
|
||||
|
||||
# elpa packages
|
||||
/elpa/
|
||||
|
||||
# reftex files
|
||||
*.rel
|
||||
|
||||
# AUCTeX auto folder
|
||||
/auto/
|
||||
|
||||
# cask packages
|
||||
.cask/
|
||||
dist/
|
||||
|
||||
# Flycheck
|
||||
flycheck_*.el
|
||||
|
||||
# server auth directory
|
||||
/server/
|
||||
|
||||
# projectiles files
|
||||
.projectile
|
||||
|
||||
# directory configuration
|
||||
.dir-locals.el
|
||||
|
||||
# network security
|
||||
/network-security.data
|
||||
|
||||
session.*
|
||||
.cache/
|
54
london/.emacs.d/init.el
Normal file
54
london/.emacs.d/init.el
Normal file
|
@ -0,0 +1,54 @@
|
|||
;; Mostly following along with System Crafter's videos.
|
||||
;; So this will look pretty familiar.
|
||||
(setq inhibit-startup-message t)
|
||||
|
||||
(scroll-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(tooltip-mode -1)
|
||||
(set-fringe-mode 10)
|
||||
|
||||
(menu-bar-mode -1)
|
||||
|
||||
(set-face-attribute 'default nil :font "IBM Plex Mono" :height 120)
|
||||
|
||||
;; Packages stuff.
|
||||
(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))
|
||||
|
||||
(unless (package-installed-p 'use-package)
|
||||
(package-install 'use-package))
|
||||
|
||||
(require 'use-package)
|
||||
(setq use-package-always-ensure t)
|
||||
|
||||
(use-package monokai-pro-theme
|
||||
:ensure t
|
||||
:config
|
||||
(load-theme 'monokai-pro-spectrum t))
|
||||
|
||||
(use-package treemacs
|
||||
:ensure t
|
||||
:defer t
|
||||
:ini
|
||||
:bind (:map global-map
|
||||
("M-0" . treemacs-select-window)
|
||||
("C-x t t" . treemacs)))
|
||||
(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 '(treemacs use-package monokai-pro-theme)))
|
||||
(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.
|
||||
)
|
|
@ -22,7 +22,8 @@ export NVM_DIR="$HOME/.nvm"
|
|||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
export GOPATH="/home/gsimmer/Projects/go"
|
||||
export PATH="/home/gsimmer/.local/bin:$GOPATH/bin:$PATH"
|
||||
export CARGOPATH="/home/gsimmer/.cargo/bin"
|
||||
export PATH="/home/gsimmer/.local/bin:$GOPATH/bin:$CARGOPATH:$PATH"
|
||||
|
||||
# Starship init.
|
||||
#eval "$(starship init zsh)"
|
||||
|
|
Loading…
Reference in a new issue