diff --git a/.gitignore b/.gitignore index b2be92b7..7bc599fd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ result +\#*\# diff --git a/config/emacs/#init.el# b/config/emacs/#init.el# new file mode 100644 index 00000000..2ae6e1d6 --- /dev/null +++ b/config/emacs/#init.el# @@ -0,0 +1,34 @@ +q(setq inhibit-startup-message t) + +(scroll-bar-mode -1) +(tool-bar-mode -1) +(tooltip-mode -1) +(set-fringe-mode 10) + +(menu-bar-mode -1) + +;; bell +(setq visible-bell t) + +;; font +(set-face-attribute `default nil :font "JetBrains Mono" :height 150) + +(load-theme 'tango-dark) + +;; packages +(require `package) + +(setq package-archives `(("mepla" . "https://melpa.org/packages/") + ("org" . "https://orgemode.org/elpa/") + ("elpa" . "https://elpa.gnu.org/packages/"))) + +(package-initialize) +(unless package-archive-contents + (package-refresh-contents)) + +;; Init package for non-linux +(unless (package-installed-p `use-package)qui + (package-install `use-package)) + +(require 'use-package) +(setq use-package-always-ensure t) \ No newline at end of file diff --git a/config/emacs/init.el b/config/emacs/init.el index 9864894f..9818619e 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -14,3 +14,21 @@ (set-face-attribute `default nil :font "JetBrains Mono" :height 150) (load-theme 'tango-dark) + +;; packages +(require `package) + +(setq package-archives `(("mepla" . "https://melpa.org/packages/") + ("org" . "https://orgemode.org/elpa/") + ("elpa" . "https://elpa.gnu.org/packages/"))) + +(package-initialize) +(unless package-archive-contents + (package-refresh-contents)) + +;; Init package for non-linux +(unless (package-installed-p `use-package) + (package-install `use-package)) + +(require 'use-package) +(setq use-package-always-ensure t) \ No newline at end of file