 (electric-pair-mode 1) ; brace matching
 (setq-default indent-tabs-mode nil) ; disable tabs
 (setq-default show-trailing-whitespace t)
+(setq-default truncate-lines t)
+(unless (display-graphic-p) (menu-bar-mode -1)) ; disable menu bar in terminal
 
 ; Load path
 (add-to-list 'load-path "~/.emacs.d/themes/")

  :config
  (evil-mode 1)
  (setq x-select-enable-clipboard nil)
  (bind-keys :map evil-normal-state-map (", s" . split-window-below)
             :map evil-normal-state-map (", d" . split-window-right)
             :map evil-normal-state-map (", w" . other-window)

(use-package local)

; Theme
; use ansitheme if not in a gui
(if (display-graphic-p)
  (use-package onedark)
  (use-package ansitheme))
; (use-package natural)
(load-theme 'basic t)

; Fill
