;; UI/UX (setq inhibit-startup-message t) ;; make it look like neovim a little (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 175) (load-theme 'wombat) ;; Keymaps ;; Make ESC quit prompts (global-set-key (kbd "") 'keyboard-escape-quit) ;; Package related stuff (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) (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))