Browse Source

Extra settings

Bob Mottram 6 months ago
parent
commit
bbe37befdb
1 changed files with 11 additions and 0 deletions
  1. 11 0
      emacs

+ 11 - 0
emacs

@@ -13,3 +13,14 @@
 (setq org-support-shift-select t)
 (setq org-directory "~/personal")
 (setq org-default-notes-file "~/personal/organiser.org")
+(add-hook 'sh-mode-hook 'flycheck-mode)
+;; ===== Remove trailing whitepace ======================================
+
+;;(add-hook 'before-save-hook 'delete-trailing-whitespace)
+
+;; Goto a line number with CTRL-l
+(global-set-key "\C-l" 'goto-line)
+;; ===== Enable Line and Column Numbering ===============================
+
+(line-number-mode 1)
+(column-number-mode 1)