;;; ui.el --- Specific UI definitions. ;; Disable the menubar, scrollbar, and toolbar (menu-bar-mode -1) (scroll-bar-mode -1) (if window-system (tool-bar-mode -1) ) ;; Enable column numbers (column-number-mode 1) ;; Ivy (use-package ivy :ensure t :config (ivy-mode 1) (setq ivy-use-virtual-buffers t) (setq enable-recursive-minibuffers t) (setq ivy-use-selectable-prompt t)) ;; Swiper to replace ISearch (use-package swiper :ensure t :bind (("C-s" . swiper))) ;; Counsel to force other stuff in emacs to use ;; ivy for completion (use-package counsel :ensure t :config (counsel-mode 1)) ;; Enable semantic for language-aware editing commands (setq semantic-mode 't) ;; Nice tree (use-package neotree :ensure t :commands neotree-toggle :init (setq neo-theme (if (display-graphic-p) 'icons 'arrow)) :bind ("C-`" . neotree-toggle) :requires all-the-icons) ;; Install all-the-icons and it's fonts if they are not already installed. (use-package all-the-icons :ensure t :config (unless (member "all-the-icons" (font-family-list)) (all-the-icons-install-fonts t))) ;; Theme (use-package zerodark-theme :ensure t :requires all-the-icons :config (load-theme 'zerodark t) (zerodark-setup-modeline-format)) ;; Buffer configuration (use-package all-the-icons-ibuffer :ensure t :hook (ibuffer-mode . all-the-icons-ibuffer-mode) :requires all-the-icons) ;; Modeline configuration (display-battery-mode 1) (display-time-mode 1) (column-number-mode 1) ;; Line numbers (display-line-numbers-mode 1)