 (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)

(package-initialize)
(setq gc-cons-threshold 20000000)
(setq initial-scratch-message nil)

(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-language-environment 'utf-8)
(blink-cursor-mode 0)

(add-hook 'after-init-hook 'global-company-mode);Reccomended to be on the Top
(setq default-directory "~/Desktop/" )
(setq-default frame-title-format '("%f")) ;;Set file name as the frame title
(add-to-list 'default-frame-alist '(width  . 83))
(scroll-bar-mode -1)
;;(add-to-list 'default-frame-alist '(height . 40))
;;(setq initial-frame-alist '((left . 550) (top . 135)))
(setq browse-url-browser-function 'browse-url-default-windows-browser)

;;-------------------------------------Server------------------
(require 'server)

;; make electric-pair-mode work on more brackets
(setq electric-pair-pairs '(
			    (?\{ . ?\})
			    ) )

;;------------------------ORG-mode-----------------------------------------
