emacs 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. (custom-set-variables
  2. ;; custom-set-variables was added by Custom.
  3. ;; If you edit it by hand, you could mess it up, so be careful.
  4. ;; Your init file should contain only one such instance.
  5. ;; If there is more than one, they won't work right.
  6. '(column-number-mode t)
  7. '(custom-enabled-themes (quote (deeper-blue)))
  8. '(font-use-system-font t)
  9. '(package-selected-packages (quote (helm flycheck-checkbashisms)))
  10. '(show-paren-mode t))
  11. (custom-set-faces
  12. ;; custom-set-faces was added by Custom.
  13. ;; If you edit it by hand, you could mess it up, so be careful.
  14. ;; Your init file should contain only one such instance.
  15. ;; If there is more than one, they won't work right.
  16. '(default ((t (:family "Source Code Pro" :foundry "ADBO" :slant normal :weight normal :height 180 :width normal)))))
  17. (setq org-support-shift-select t)
  18. (setq org-directory "~/personal")
  19. (setq org-default-notes-file "~/personal/organiser.org")
  20. (add-hook 'sh-mode-hook 'flycheck-mode)
  21. ;; ===== Remove trailing whitepace ======================================
  22. ;;(add-hook 'before-save-hook 'delete-trailing-whitespace)
  23. ;; Goto a line number with CTRL-l
  24. (global-set-key "\C-l" 'goto-line)
  25. ;; ===== Enable Line and Column Numbering ===============================
  26. (line-number-mode 1)
  27. (column-number-mode 1)
  28. (add-hook 'org-mode-hook 'visual-line-mode)