emacs.d/bundle/bundle--defaults.el

52 lines
1.6 KiB
EmacsLisp
Raw Normal View History

;; General userinterface and appearance
(tool-bar-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(horizontal-scroll-bar-mode -1)
(global-hl-line-mode 1)
(define-key menu-bar-tools-menu [games] nil)
2020-11-19 19:48:22 +01:00
(display-time-mode 1)
(global-prettify-symbols-mode 1)
;; Cursor and mouse
(column-number-mode -1)
(mouse-wheel-mode 1)
(blink-cursor-mode -1)
;; Customization for locale, environment and computer
(setq-default european-calendar-style 't)
(setq-default calendar-christian-all-holidays-flag t)
(setq-default calendar-date-style (quote iso))
(setq-default calendar-view-diary-initially-flag t)
(setq-default calendar-week-start-day 1)
(setq-default ispell-program-name "aspell")
(setq-default shell-file-name "/bin/bash")
(setq-default tex-shell-file-name "/bin/bash")
(setq-default grep-command "grep -i -nH -e ")
;; Files and sessions
(setq-default auto-save-timeout 60)
;; Tabs, spaces, lines and parenthesis
(show-paren-mode 1)
(setq-default indent-tabs-mode nil)
(setq-default line-spacing nil)
(setq-default make-backup-files nil)
(setq-default browse-url-browser-function (quote eww-browse-url))
(setq tab-width 4)
(setq sentence-end-double-space nil)
(setq next-line-add-newlines t)
(setq require-final-newline 't)
;; Miscellaneous
(require 'cl)
(setq-default inhibit-startup-buffer-menu t
inhibit-startup-screen t)
(put 'narrow-to-region 'disabled nil)
(put 'narrow-to-page 'disabled nil)
(setq default-major-mode 'text-mode)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(defalias 'yes-or-no-p 'y-or-n-p)
2020-11-19 19:48:22 +01:00
(setq-default shr-cookie-policy nil)
(setq-default tramp-default-method "ssh")