aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-24 00:41:13 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-24 00:41:13 +0100
commitab4f73cfbe2c9fd03baf415ced8e384cce72f5d0 (patch)
tree9fb72f80560503820028fceae6b598f0c48d230c /Emacs/.config
parent9321a5bcfe7e18a2fb12f69af36e209d41229f1d (diff)
downloaddotfiles-ab4f73cfbe2c9fd03baf415ced8e384cce72f5d0.tar.gz
dotfiles-ab4f73cfbe2c9fd03baf415ced8e384cce72f5d0.tar.bz2
dotfiles-ab4f73cfbe2c9fd03baf415ced8e384cce72f5d0.zip
~some edits to main emacs to make it easier to use
Diffstat (limited to 'Emacs/.config')
-rw-r--r--Emacs/.config/emacs/init.el14
1 files changed, 10 insertions, 4 deletions
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))