 (global-set-key (kbd "<f7>") 'flyspell-mode) ;Activates the spell-checker
 (global-set-key (kbd "C-x g") 'magit-status)
 (global-set-key (kbd "M-z") 'shell-command)
+(global-set-key (kbd "C-x 2") 'my-window-split-v)
+(global-set-key (kbd "C-x 3") 'my-window-split-h)
 (define-key evil-normal-state-map (kbd "C-h") 'evil-window-left)
 (define-key evil-normal-state-map (kbd "C-j") 'evil-window-down)
 (define-key evil-normal-state-map (kbd "C-k") 'evil-window-up)
 (define-key evil-normal-state-map (kbd "C-l") 'evil-window-right)
 (define-key evil-normal-state-map (kbd "z") 'org-open-at-point)
+(define-key evil-visual-state-map (kbd "L") 'end-of-line)
+(define-key evil-visual-state-map (kbd "H") 'beginning-of-line)
 
 ;;This section uses the key-chord minor mode
 (setq key-chord-two-keys-delay  0.5) ;0.5 seconds delay time
-
 ;;Exit insert mode by pressing j and then j quickly
 (key-chord-define evil-insert-state-map "jj" 'evil-normal-state)
 (key-chord-define evil-normal-state-map "rr" 'revert-buffer-no-confirm)

(add-hook 'sgml-mode-hook 'emmet-mode)
(add-hook 'sgml-mode-hook 'rainbow-delimiters-mode)
(add-hook 'js-mode-hook 'rainbow-delimiters-mode)
(add-hook 'css-mode-hook 'emmet-mode)
(add-hook 'css-mode-hook 'rainbow-mode)
(add-hook 'css-mode-hook 'rainbow-delimiters-mode)
(add-hook 'css-mode-hook '(lambda () (interactive) (column-marker-1 80)))
(add-hook 'org-mode-hook 'org-cd)
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
(add-hook 'web-mode-hook  'my-web-mode-hook)
(add-hook 'web-mode-hook  'rainbow-delimiters-mode)
(add-hook 'web-mode-hook  'emmet-mode)
(add-hook 'magit-status-mode-hook 'magit-keys)
(add-hook 'magit-log-mode-hook 'magit-keys)
(add-hook 'magit-diff-mode-hook 'magit-keys)

;;-------------------------WEB-mode--------------
(require 'web-mode)
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.css\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
