diff options
Diffstat (limited to 'emacs-prelude/personal/lisp/init-ui.el')
-rw-r--r-- | emacs-prelude/personal/lisp/init-ui.el | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/emacs-prelude/personal/lisp/init-ui.el b/emacs-prelude/personal/lisp/init-ui.el deleted file mode 100644 index a0d5cb1..0000000 --- a/emacs-prelude/personal/lisp/init-ui.el +++ /dev/null @@ -1,81 +0,0 @@ -(toggle-frame-maximized) - -(menu-bar-mode -1) -(tool-bar-mode -1) -(scroll-bar-mode -1) - -(prelude-require-package 'solarized-theme) -;(load-theme 'solarized-dark t) -(prelude-require-package 'modus-themes) - -;(setq modus-themes-syntax '(alt-syntax green-strings yellow-comments)) -(setq modus-themes-syntax '(green-strings yellow-comments) - modus-themes-paren-match '(bold intense underline) - ;modus-themes-diffs '(desaturated) - modus-themes-lang-checkers '(text-also background)) -(load-theme 'modus-vivendi t) - -(setq whitespace-line-column 120) - -(require 'hi-lock) -(defun my/toggle-highlight-symbol-at-point () - (interactive) - (if hi-lock-interactive-patterns - (unhighlight-regexp (car (car hi-lock-interactive-patterns))) - (highlight-symbol-at-point))) -(global-set-key (kbd "s-.") 'my/toggle-highlight-symbol-at-point) - -(unless (eq system-type 'darwin) - (prelude-require-package 'idle-highlight-mode) - (use-package idle-highlight-mode - :hook (prog-mode . idle-highlight-mode))) - -(use-package paren - :config - (show-paren-mode +1)) - -(global-set-key (kbd "C-x C-S-k") 'kill-this-buffer) - -(use-package miniedit - :commands minibuffer-edit - :init (miniedit-install)) - -(prelude-require-package 'ctrlf) -(use-package ctrlf - :init - (ctrlf-mode +1) - :bind - ("C-*" . ctrlf-forward-symbol-at-point) - ("M-s M-s" . ctrlf-toggle-symbol) - ("C-M-g" . ctrlf-cancel) - ("C-c o" . ctrlf-occur)) - -(prelude-require-package 'buffer-move) -(use-package buffer-move - :bind (("C-S-<up>" . buf-move-up) - ("C-S-<down>" . buf-move-down) - ("C-S-<left>" . buf-move-left) - ("C-S-<right>" . buf-move-right))) - -(prelude-require-package 'smartscan) -(use-package smartscan - :config - (global-smartscan-mode t) - :hook - (cider-repl-mode . (lambda () (smartscan-mode -1))) - (vterm-mode . (lambda () (smartscan-mode -1))) - (eshell-mode . (lambda () (smartscan-mode -1)))) - -;;(prelude-require-package 'fullframe) -;; (use-package fullframe -;; :after magit -;; :config -;; (fullframe magit-status magit-mode-quit-window)) - -(smartrep-define-key global-map - "C-x" '(("}" . enlarge-window-horizontally) - ("{" . shrink-window-horizontally) - ("^" . enlarge-window) - ("-" . shrink-window-if-larger-than-buffer))) - -(provide 'init-ui) |