From c7190d960b42750f0b9127835f90311235085d34 Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Sat, 6 Apr 2019 18:37:41 -0500 Subject: [PATCH] Fixed comments and some formatting things --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 37b7d60..f409566 100644 --- a/init.el +++ b/init.el @@ -37,10 +37,12 @@ (add-to-list 'auto-mode-alist '("~/.ssh/config\\'" . ssh-config-mode)) (require 'yaml-mode) (add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) +;; Window movement (global-set-key (kbd "C-c ") 'windmove-left) (global-set-key (kbd "C-c ") 'windmove-right) (global-set-key (kbd "C-c ") 'windmove-up) (global-set-key (kbd "C-c ") 'windmove-down) + (global-set-key (kbd "C-;") 'iedit-mode) ;; Web-mode (require 'web-mode) @@ -52,6 +54,7 @@ (add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) +;; Custom (setq dired-listing-switches "-alh") (defun duplicate-line() (interactive) @@ -68,7 +71,8 @@ (global-set-key (kbd "C-") 'recentf-open-files) (global-set-key (kbd "C-x g") 'magit-status) (setq inhibit-startup-screen t) -(setq ls-lisp-use-insert-directory-program t) ;; use external ls +;; use external ls +(setq ls-lisp-use-insert-directory-program t) (cond ;; Windows fixes ((string-equal system-type "windows-nt")