       whitespace-style '(face trailing newline))
 
 (require 'shrink-whitespace)
-(global-set-key (kbd "M-\\") 'shrink-whitespace)
+(bind-key "M-\\" 'shrink-whitespace)
 
 (require 'expand-region)
-(global-set-key (kbd "C-=") 'er/expand-region)
+(bind-key "C-=" 'er/expand-region)
 
 (require 'visual-regexp)
-(global-set-key (kbd "C-c r") 'vr/replace)
+(bind-key "C-c r" 'vr/replace)
 
 (diminish 'eldoc-mode)
 (setq eldoc-idle-delay 0.2)

(key-chord-mode +1)

;; (require 'jump-char)
;; (global-set-key (kbd "M-m") #'jump-char-forward)
;; (global-set-key (kbd "M-M") #'jump-char-backward)

(require 'unfill)
(global-set-key [remap fill-paragraph] #'unfill-toggle)

(require 'dired)
(require 'dired-collapse)


(require 'avy)
(setq avy-background t)
(bind-keys ("C-;" . avy-goto-word-or-subword-1)
           ("M-m" . avy-goto-char-timer))
(bind-key "C-;" 'avy-isearch isearch-mode-map)

(require 'key-seq)
(key-seq-define-global "jj" 'avy-goto-word-or-subword-1)
