     (add-to-list 'default-frame-alist '(width . 150))))
 ;; Show line numbers
 (global-linum-mode 1)
+;; Show column
+(setq column-number-mode t)
+;; Highlight cursor
+(global-hl-line-mode 1)
+;; Show parenthesis
+(show-paren-mode 1)
 ;; Don't show splash screen
 (setq inhibit-startup-message t)
 
 ; Disable warning on opening symlinks to version-controlled files
 (setq vc-follow-symlinks t)
+; Disable warning on opening file in a project with big ctags
+(setq large-file-warning-threshold nil)
 
 ;; Indentation
 (setq-default indent-tabs-mode nil)
 (setq-default tab-width 2)
-(setq js-indent-level 2)
+(setq-default sh-basic-offset 2)
+(setq-default sh-indentation 2)
 ;; Delete trailing whitespaces
 (add-hook 'before-save-hook 'delete-trailing-whitespace)
+
+;; Keep track of recent files
+(require 'recentf)
+(recentf-mode 1)
+(setq recentf-max-menu-items 150)
+(setq recentf-max-saved-items 500)
+(global-set-key "\C-x\ \C-r" 'helm-recentf)
+;; Keep track of window configurations
+(when (fboundp 'winner-mode)
+  (winner-mode 1))
+;; Keep track of previous mini-buffer commands (notably compile)
+(savehist-mode 1)
+
+;; VIM-like behavior with underscore and word-selection/navigation commands
+;; For ruby (see https://github.com/syl20bnr/spacemacs/blob/develop/doc/FAQ.org#include-underscores-in-word-motions)
+(add-hook 'ruby-mode-hook #'(lambda () (modify-syntax-entry ?_ "w")))
 
 ;; Backup files in a dedicated directory
 (setq backup-directory-alist '(("." . "~/.emacs.d/backups")))

(setq helm-M-x-fuzzy-match t)
;; Fuzzy matching on help (describe-function, describe-variable, among others)
(setq helm-mode-fuzzy-match t)
;; Evil quickscope
(global-evil-quickscope-always-mode 1)

;; Projectile
(projectile-global-mode)
(helm-projectile-on)
;; Expand-region
(global-set-key (kbd "C-=") 'er/expand-region)


(provide '.emacs)
;;; .emacs ends here


;; Add packages here
(defvar packages-to-install
  '(ag
    avy
    coffee-mode
    copyit
    expand-region
    evil
    evil-exchange
    evil-quickscope
    evil-visualstar
    flycheck
    evil-rails
    github-browse-file
    git-gutter
    helm
    helm-ag
    helm-gtags
    helm-projectile
    json-mode
    magit
    magit-gh-pulls
    evil-magit
    evil-surround
    projectile
    projectile-rails
    puppet-mode
    rbenv
    rspec-mode
    ruby-end
    sass-mode
    terraform-mode
    yaml-mode
    which-key
    zenburn-theme))

(package-initialize)
