  "C-x -" 'split-window-below
  "C-x |" 'split-window-right)
 
+(setq split-window-preferred-function 'split-window-sensibly
+      split-height-threshold 80
+      split-width-threshold 160)
+
 ;;;; >> Resizing windows <<
 
 (use-package windsize

(electric-indent-mode -1)

(defun danylo/fast-get-line ()
  (string-to-number (format-mode-line "%l")))

(defvar-local danylo/indent-char-min -1)
(defvar-local danylo/indent-disable nil)
(defun danylo/newline-with-indent (orig-fun &rest args)
  "Maintain default-directory when eval-buffer. Automatically
indents the new lines jit-lock style in case of a rapid-fire

(use-package magit
  ;; https://github.com/magit/magit
  ;; An interface to the version control system Git
  :bind (("C-x g" . magit-status))
  :init (setq magit-display-buffer-function
	      #'magit-display-buffer-same-window-except-diff-v1))

;;; ..:: Shell interaction ::..

