 			version-control t      ; Use version numbers on backups
 			delete-old-versions t  ; Automatically delete excess backups
 			kept-new-versions 20   ; how many of the newest versions to keep
-			kept-old-versions 5    ; and how many of the old
-			  )
+			kept-old-versions 5)   ; and how many of the old
+
 ;(use-package markdown-mode
 ;						 :ensure t
 ;						 :commands (markdown-mode gfm-mode)

	(open-line 1)
	(indent-for-tab-command))

;;(add-to-list 'load-path "~/elisp/neotree")
;;(require 'neotree)
;;(global-set-key [f8] 'neotree-toggle)

(global-set-key (kbd "M-o n") 'move-to-next-line)
(global-set-key (kbd "M-o p") 'move-to-prev-line)
(global-set-key (kbd "M-p") 'scroll-down-line-3)
(global-set-key (kbd "M-n") 'scroll-up-line-3)
(global-set-key (kbd "M-3") 'delete-other-windows) ; expand current pane
(global-set-key (kbd "M-4") 'split-window-below) ; split pane top/bottom
(global-set-key (kbd "M-2") 'delete-window) ; close current pane
(global-set-key (kbd "M-s") 'other-window) ; cursor to other pane
(global-set-key (kbd "M-SPC") 'switch-to-buffer)

;; (global-hl-line-mode 1)
;; (set-face-background 'hl-line "#bababa")
;; (set-face-foreground 'highlight nil)
(put 'dired-find-alternate-file 'disabled nil)
(add-hook 'dired-mode-hook
 (lambda ()
  (define-key dired-mode-map (kbd "^")
    (lambda () (interactive) (find-alternate-file "..")))
  ; was dired-up-directory
))

;; YML YAML mode

(add-hook 'yaml-mode-hook
					(lambda ()
						(define-key yaml-mode-map "\C-m" 'newline-and-indent)))

(require 'yaml-mode)
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))

;; (autoload 'whitespace-mode           "whitespace" "Toggle whitespace visualization."        t)
;; (autoload 'whitespace-toggle-options "whitespace" "Toggle local `whitespace-mode' options." t)

(global-set-key (kbd "C-t") 'select-frame-by-name)

(menu-bar-mode -1)
(show-paren-mode 1)
(setq show-paren-delay 0)

(windmove-default-keybindings 'meta)
(global-set-key (kbd "C-c h") 'windmove-left)
(global-set-key (kbd "C-c l") 'windmove-right)
(global-set-key (kbd "C-c k") 'windmove-up)
(global-set-key (kbd "C-c j") 'windmove-down)

(winner-mode 1)

 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(ac-js2-evaluate-calls t)
 '(blink-cursor-mode nil)
 '(c-basic-offset 2)
 '(fci-rule-color "#efefef")
 '(fill-nobreak-invisible nil)
 '(font-lock-global-modes (quote (not speedbar-mode)))
 '(font-use-system-font t)
 '(fringe-mode 0 nil (fringe))
 '(indent-tabs-mode t)
 '(ido-vertical-show-count t)
 '(js-indent-level 2)
 '(message-default-charset (quote iso-8859-1))
 '(nginx-indent-level 2)
 '(nginx-indent-tabs-mode t)
 '(package-selected-packages
	 (quote
		(avy cql-mode go-eldoc go-guru golint key-chord nginx-mode protobuf-mode go-complete dired-rainbow rainbow-mode web-mode multi-term go-impl go-errcheck php-mode magit jade-mode ## ac-js2 list-packages-ext helm-projectile tide projectile markdown-mode js2-mode go-mode)))
 '(projectile-global-mode t)
 '(scroll-bar-mode nil)
 '(semantic-stickyfunc-indent-string "")
 '(standard-indent 2)
 '(tab-stop-list (quote (2 4 6 8)))
 '(tab-width 2)
 '(tool-bar-mode nil)
 '(typescript-indent-level 2)
 '(window-divider-mode nil))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(default ((t (:background "white" :foreground "black" :height 113 :foundry "MS  " :family "Consolas"))))
 '(cursor ((t (:background "orange red"))))
 '(dired-directory ((t (:foreground "blue"))))
 '(flycheck-warning ((t (:underline (:color "gold" :style wave)))))
 '(font-lock-builtin-face ((t (:foreground "DeepPink3" :slant italic :weight normal))))
 '(font-lock-comment-face ((t (:background "#ffffdd" :foreground "#333" :slant italic))))
 '(font-lock-constant-face ((t (:foreground "blue violet"))))
 '(font-lock-doc-face ((t (:inherit font-lock-comment-face))))
 '(font-lock-function-name-face ((t (:foreground "DeepPink1" :weight normal))))
 '(font-lock-keyword-face ((t (:foreground "#2222ff" :weight normal))))
 '(font-lock-string-face ((t (:foreground "dark red" :slant italic :family "consolas"))))
 '(font-lock-type-face ((t (:foreground "dark cyan" :weight normal))))
 '(font-lock-variable-name-face ((t (:foreground "#6b2500"))))
 '(font-lock-warning-face ((t (:foreground "dark gray"))))
 '(ido-subdir ((t (:foreground "blue"))))
 '(js2-external-variable ((t (:foreground "orange"))))
 '(js2-function-call ((t (:foreground "deep pink"))))
 '(js2-function-param ((t nil)))
 '(js2-object-property ((t (:foreground "dark cyan"))))
 '(js2-private-function-call ((t (:foreground "deep pink"))))
 '(nobreak-space ((t (:background "magenta"))))
 '(whitespace-empty ((t nil)))
 '(whitespace-newline ((t (:foreground "white" :weight normal))))
 '(whitespace-space ((t (:foreground "white smoke"))))
 '(whitespace-tab ((t (:foreground "#ffffff")))))

;; custom-set-faces was added by Custom.
