about summary refs log blame commit diff stats
path: root/emacs-prelude/personal/lisp/init-ui.el
blob: c382469aa0d7ef72082b1c4cb39c9694fcc0add1 (plain) (tree)
1
2
3
4
5
6
7
8
9





                        

                                          
 

                                 
                  
                                             



                                                                   
                                                                 
 



                       





                                                    




                                





                                           
 
                  
(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)

(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)

(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
  :config
  (ctrlf-mode +1))

(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)))

(provide 'init-ui)