diff options
author | Jesús <heckyel@hyperbola.info> | 2019-01-22 15:45:41 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-01-22 15:45:41 -0500 |
commit | ced0fe8f9ef7cd16ade900bb34393c627f6d0c69 (patch) | |
tree | 350d3a0cbb87b12a36c0dc12537c56a75a2668ae /lisp/init-gui.el | |
parent | d0f44d85466d7211d54e30970f29815842ff4180 (diff) | |
download | emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.lz emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.xz emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.zip |
Change directory lisp/ to modules/
FS #2
Diffstat (limited to 'lisp/init-gui.el')
-rw-r--r-- | lisp/init-gui.el | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/lisp/init-gui.el b/lisp/init-gui.el deleted file mode 100644 index 9bd32a5..0000000 --- a/lisp/init-gui.el +++ /dev/null @@ -1,68 +0,0 @@ -;;; init-gui.el --- .Emacs Configuration -*- lexical-binding: t -*- -;;; Commentary: -;; - -;;; Code: -;;----------------------- -;; Remove some GUI stuff -;;----------------------- -(setq use-file-dialog nil) -(setq use-dialog-box nil) -(setq inhibit-startup-screen t) -(setq inhibit-startup-echo-area-message t) -(tool-bar-mode 0) -(set-scroll-bar-mode nil) -(menu-bar-mode 0) -(setq make-backup-files nil) ; stop creating backup~ files -(setq auto-save-default nil) ; stop creating #autosave# files - -;;---------------------------------------------------------------------------- -;; Editor configuration -;;---------------------------------------------------------------------------- -(setq indicate-empty-lines t) - -(let ((no-border '(internal-border-width . 0))) - (add-to-list 'default-frame-alist no-border) - (add-to-list 'initial-frame-alist no-border)) - -(setq frame-title-format - '((:eval (if (buffer-file-name) - (abbreviate-file-name (buffer-file-name)) - "%b")))) -;; Non-zero values for `line-spacing' can mess up ansi-term and co, -;; so we zero it explicitly in those cases. -(add-hook 'term-mode-hook - (lambda () - (setq line-spacing 0))) - -;; Font theme (Monospace, or DejaVu Sans Mono if Monospace is not -;; present) -(condition-case nil - (set-frame-font "Hack-9") - ;; (set-frame-font "Monospace-9") - ;; (set-frame-font "Anonymous Pro-10") - (error (set-frame-font "DejaVu Sans Mono-10"))) - -;;---------------------------------------------------------------------------- -;; Configure keys -;;---------------------------------------------------------------------------- -(global-unset-key (kbd "C-z")) ; Stops C-z from minimizing window -(global-set-key (kbd "M-0") (lambda () (interactive) (modify-frame-parameters nil '((alpha . 100))))) ; M-0 standard visibility -(global-set-key (kbd "<f11>") 'myemacs/toggle-fullscreen) ; F11 FullScreen -(global-set-key (kbd "s-C-+") 'sacha/increase-font-size) ; C-+ increase font size -(global-set-key (kbd "s-C--") 'sacha/decrease-font-size) ; C-- decrease font size -(global-set-key (kbd "<f12>") 'revert-buffer-no-confirm) -(global-set-key (kbd "s-h") 'global-hl-line-mode) ; Highlight current line - - -;;---------------------------------------------------------------------------- -;; clock -;;---------------------------------------------------------------------------- - -(setq display-time-day-and-date t) -(display-time) - -(provide 'init-gui) - -;; End: -;;; init-gui.el ends here |