 
 ;; indentation
 (setq-default tab-width 2)
+(setq sh-basic-offset tab-width)
+
 ;; don't use tabs normally, except for a few special modes
 (setq-default indent-tabs-mode nil)
 (defun use-tabs () (setq indent-tabs-mode t))


;; text stuff
(setup-expecting "org-mode"
  (setq default-major-mode 'org-mode))
(prefer-coding-system 'utf-8)
(setq undo-limit 1000000)
(setq sentence-end-double-space nil)

    (define-key phi-search-default-map (kbd "C-c C-k")  'phi-search-mc/mark-all)))

;; edit symbol in multiple places simultaneously
(setup "iedit"
  (global-set-key (kbd "C-c ;") 'iedit-mode)
  (global-set-key (kbd "C-c C-;") 'iedit-mode-toggle-on-function))

