More stuff
This commit is contained in:
parent
12852fee74
commit
daa8c188e0
134
settings.org
134
settings.org
@ -5,58 +5,44 @@
|
||||
(setq inhibit-startup-screen t)
|
||||
#+END_SRC
|
||||
|
||||
** Disable menu bar
|
||||
** Disable bars
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(menu-bar-mode -1)
|
||||
(menu-bar-mode -1) ; Disable menubar
|
||||
(tool-bar-mode -1) ; Disable toolbar
|
||||
(scroll-bar-mode -1) ; Disable scrollbar
|
||||
#+END_SRC
|
||||
|
||||
** Other
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(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
|
||||
;(tooltip-mode -1) ; Disable tooltips
|
||||
;(set-fringe-mode 10) ; Give some breathing room
|
||||
;; Make ESC quit prompts
|
||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||
;; Initialize package sources
|
||||
(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))
|
||||
;(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||
|
||||
(require 'use-package)
|
||||
(setq use-package-always-ensure t)
|
||||
;(use-package command-log-mode)
|
||||
|
||||
(use-package command-log-mode)
|
||||
;(use-package ivy
|
||||
; :diminish
|
||||
; :bind (("C-s" . swiper)
|
||||
; :map ivy-minibuffer-map
|
||||
; ("TAB" . ivy-alt-done)
|
||||
; ("C-l" . ivy-alt-done)
|
||||
; ("C-j" . ivy-next-line)
|
||||
; ("C-k" . ivy-previous-line)
|
||||
; :map ivy-switch-buffer-map
|
||||
; ("C-k" . ivy-previous-line)
|
||||
; ("C-l" . ivy-done)
|
||||
; ("C-d" . ivy-switch-buffer-kill)
|
||||
; :map ivy-reverse-i-search-map
|
||||
; ("C-k" . ivy-previous-line)
|
||||
; ("C-d" . ivy-reverse-i-search-kill))
|
||||
; :config
|
||||
; (ivy-mode 1))
|
||||
|
||||
(use-package ivy
|
||||
:diminish
|
||||
:bind (("C-s" . swiper)
|
||||
:map ivy-minibuffer-map
|
||||
("TAB" . ivy-alt-done)
|
||||
("C-l" . ivy-alt-done)
|
||||
("C-j" . ivy-next-line)
|
||||
("C-k" . ivy-previous-line)
|
||||
:map ivy-switch-buffer-map
|
||||
("C-k" . ivy-previous-line)
|
||||
("C-l" . ivy-done)
|
||||
("C-d" . ivy-switch-buffer-kill)
|
||||
:map ivy-reverse-i-search-map
|
||||
("C-k" . ivy-previous-line)
|
||||
("C-d" . ivy-reverse-i-search-kill))
|
||||
:config
|
||||
(ivy-mode 1))
|
||||
|
||||
(use-package doom-modeline
|
||||
:ensure t
|
||||
:init (doom-modeline-mode 1)
|
||||
:custom ((doom-modeline-height 15)))
|
||||
;(use-package doom-modeline
|
||||
; :ensure t
|
||||
; :init (doom-modeline-mode 1)
|
||||
; :custom ((doom-modeline-height 15)))
|
||||
#+END_SRC
|
||||
|
||||
** Fonts config
|
||||
@ -68,3 +54,65 @@
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;(load-theme 'doom-palenight)
|
||||
#+END_SRC
|
||||
|
||||
* Package management
|
||||
** Set package sources
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(require 'package)
|
||||
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
|
||||
("org" . "https://orgmode.org/elpa/")
|
||||
("elpa" . "https://elpa.gnu.org/packages/")))
|
||||
(package-initialize)
|
||||
#+END_SRC
|
||||
|
||||
** Use-package
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(unless (package-installed-p 'use-package)
|
||||
(package-refresh-contents)
|
||||
(package-install 'use-package))
|
||||
|
||||
(require 'use-package)
|
||||
(setq use-package-always-ensure t)
|
||||
#+END_SRC
|
||||
|
||||
** Evil
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package evil
|
||||
:bind (("<escape>" . keyboard-escape-quit))
|
||||
:init
|
||||
;; allows for using cgn
|
||||
;; (setq evil-search-module 'evil-search)
|
||||
(setq evil-want-keybinding nil)
|
||||
;; no vim insert bindings
|
||||
(setq evil-undo-system 'undo-fu)
|
||||
:config
|
||||
(evil-mode 1))
|
||||
|
||||
;(use-package evil-collection
|
||||
; :after evil
|
||||
; :config
|
||||
; (setq evil-want-integration t)
|
||||
; (evil-collection-init))
|
||||
#+END_SRC
|
||||
|
||||
** Doom Modeline
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;(use-package doom-modeline
|
||||
; :init (doom-modeline-mode 1)
|
||||
; :custom ((doom-modeline-height 15)))
|
||||
#+END_SRC
|
||||
|
||||
** Ivy
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;(use-package ivy
|
||||
; :diminish
|
||||
; :config (ivy-mode 1))
|
||||
#+END_SRC
|
||||
|
||||
** Org Mode
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
#+END_SRC
|
||||
|
||||
* Keybindings
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user