summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2022-09-06 08:56:04 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2022-09-06 08:56:04 -0400
commitbdb3bf9f1c8d67d4c76f488ea8b5d29c16d632dc (patch)
treea784346a0ae3acbd420296d41a462072e2e3c85f
parentad7f668eda2b496f8579ce388fa45dac3b482489 (diff)
Better padding and file search
-rw-r--r--.gitignore1
-rw-r--r--init.el23
-rw-r--r--lisp/general.el12
3 files changed, 31 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index cf43fe9..f205f1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ projects
.mc-lists.el
.emacs.desktop.lock
projectile.cache
+ido.last
diff --git a/init.el b/init.el
index 4a91f67..efb7ba8 100644
--- a/init.el
+++ b/init.el
@@ -60,11 +60,30 @@
'(org-agenda-files (list org-directory))
'(org-directory "~/Documents/org")
'(package-selected-packages
- '(smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
+ '(ido-vertical-mode ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
- )
+ '(org-block ((t (:inherit fixed-pitch))))
+ '(org-code ((t (:inherit (shadow fixed-pitch)))))
+ '(org-document-info ((t (:foreground "dark orange"))))
+ '(org-document-info-keyword ((t (:inherit (shadow fixed-pitch)))))
+ '(org-document-title ((t (:inherit default :weight normal :foreground "#000000" :family "Sans Serif" :height 1.5 :underline t :weight:bold))))
+ '(org-level-1 ((t (:inherit default :weight normal :foreground "#000000" :family "Sans Serif" :height 1.1 :weight bold))))
+ '(org-level-2 ((t (:inherit default :weight normal :foreground "#000000" :family "Sans Serif" :height 1.0))))
+ '(org-level-3 ((t (:inherit default :weight normal :foreground "#000000" :family "Sans Serif" :height 0.9))))
+ '(org-level-4 ((t (:inherit default :weight normal :foreground "#000000" :family "Sans Serif" :height 0.8))))
+ '(org-level-5 ((t (:inherit default :weight normal :foreground "#000000" :family "Sans Serif"))))
+ '(org-level-6 ((t (:inherit default :weight normal :foreground "#000000" :family "Sans Serif"))))
+ '(org-level-7 ((t (:inherit default :weight normal :foreground "#000000" :family "Sans Serif"))))
+ '(org-level-8 ((t (:inherit default :weight normal :foreground "#000000" :family "Sans Serif"))))
+ '(org-link ((t (:foreground "royalblue" :underline t))))
+ '(org-meta-line ((t (:inherit (font-lock-comment-face fixed-pitch)))))
+ '(org-property-value ((t (:inherit fixed-pitch))) t)
+ '(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
+ '(org-table ((t (:inherit fixed-pitch :foreground "#83a598"))))
+ '(org-tag ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8))))
+ '(org-verbatim ((t (:inherit (shadow fixed-pitch))))))
;;; init.el ends here
diff --git a/lisp/general.el b/lisp/general.el
index 0b0d7ca..dce56ed 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -34,14 +34,14 @@
(global-linum-mode 1)
;;(require 'minimap)
;;(minimap-mode 1)
-(require 'perfect-margin)
-(perfect-margin-mode 1)
+(setq-default left-fringe-width 10)
+(setq-default right-fringe-width 0)
+(set-face-attribute 'fringe nil :background "white")
;; Initialization screen
(setq inhibit-splash-screen t)
(setq initial-scratch-message "")
(setq initial-major-mode 'text-mode)
- ;(desktop-save-mode 1)
;; Projectile for project navigation
(require 'projectile)
@@ -50,6 +50,12 @@
(define-key projectile-mode-map [?\s-t] 'projectile-switch-project)
(define-key projectile-mode-map [?\s-p] 'projectile-find-file)
+;; Ido mode text matching
+(ido-mode t)
+(setq ido-enable-flex-matching t)
+(require 'ido-vertical-mode)
+(ido-vertical-mode)
+
;; Tree
(require 'neotree)
(global-set-key [f8] 'neotree-toggle)