From ab4f73cfbe2c9fd03baf415ced8e384cce72f5d0 Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 24 May 2020 00:41:13 +0100 Subject: ~some edits to main emacs to make it easier to use --- Emacs/.config/emacs/init.el | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el index db2e269..abc0185 100644 --- a/Emacs/.config/emacs/init.el +++ b/Emacs/.config/emacs/init.el @@ -1,4 +1,6 @@ +(setq user-emacs-directory (expand-file-name "~/.config/emacs/")) (setq straight-use-package-by-default t) + (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) @@ -13,10 +15,13 @@ (load bootstrap-file nil 'nomessage)) (straight-use-package 'use-package) -(setq user-emacs-directory (expand-file-name "~/.config/emacs/")) - (setq ring-bell-function 'ignore) + (tool-bar-mode -1) +(scroll-bar-mode -1) +(tab-bar-mode -1) +(hs-minor-mode +1) + (load-theme 'tango-dark) (use-package evil @@ -57,7 +62,7 @@ (leader :infix "b" "n" #'next-buffer - "p" #'prev-buffer + "p" #'previous-buffer "b" #'counsel-switch-buffer "i" #'ibuffer) @@ -81,7 +86,7 @@ :keymaps 'ivy-mode-map "C-j" #'ivy-next-line-or-history "C-k" #'ivy-previous-line-or-history) - :config + :init (counsel-mode +1)) (use-package org) @@ -137,5 +142,6 @@ +oreoline-lsp-segment telephone-line-flycheck-segment)) (evil . (telephone-line-airline-position-segment)))) + (telephone-line-mode +1) :config (size-indication-mode +1)) -- cgit v1.2.3-13-gbd6f