Skip to content

Commit

Permalink
add flycheck
Browse files Browse the repository at this point in the history
  • Loading branch information
newagebegins committed Nov 9, 2015
1 parent bb3ce6e commit e11b979
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion init.el
Expand Up @@ -13,6 +13,7 @@
projectile
helm-projectile
helm-descbinds
flycheck
ag))

;; Install missing packages.
Expand Down Expand Up @@ -80,9 +81,11 @@

(winner-mode)
(setq set-mark-command-repeat-pop t)
(global-auto-revert-mode 1)
(desktop-save-mode 1)

(global-auto-revert-mode 1)
(setq auto-revert-interval 1)

(setq coffee-tab-width 2)
(setq ruby-insert-encoding-magic-comment nil)

Expand All @@ -109,6 +112,8 @@

(helm-descbinds-mode)

(add-hook 'after-init-hook #'global-flycheck-mode)

(defvar my-keys-minor-mode-map (make-keymap) "my-keys-minor-mode keymap.")

(define-key my-keys-minor-mode-map [f10] 'recompile)
Expand All @@ -135,6 +140,7 @@
(define-key my-keys-minor-mode-map (kbd "C-c e") 'point-to-register)
(define-key my-keys-minor-mode-map (kbd "C-c r") 'jump-to-register)
(define-key my-keys-minor-mode-map (kbd "M-t") 'helm-semantic-or-imenu)
(define-key my-keys-minor-mode-map (kbd "M-y") 'helm-show-kill-ring)

(define-key my-keys-minor-mode-map (kbd "M-l") 'toggle-input-method)
(define-key isearch-mode-map (kbd "M-l") 'isearch-toggle-input-method)
Expand Down

0 comments on commit e11b979

Please sign in to comment.