               ("f" . find-file-at-point)
               ("u" . browse-url-at-point))
 
+  :bind (:map rock/toggles
+              ("t" . toggle-truncate-lines)
+              ("w" . toggle-word-wrap))
+
   :bind (:map evil-normal-state-map
               ("C-h" . evil-window-left)
               ("C-j" . evil-window-down)

(use-package ranger
  :commands (ranger)
  :bind (:map rock/directories
              ("d" . ranger))
  :config
  (ranger-override-dired-mode t)
  (setq ranger-show-hidden t

        whitespace-action '(auto-cleanup)
        whitespace-style '(face tabs empty trailing lines-tail))
  (custom-set-faces '(whitespace-trailing ((t (:background "Grey16"))))
                    '(whitespace-empty ((t (:background "Grey16")))))
  :bind (:map rock/toggles
              ("f" . global-whitespace-mode)))

(use-package dired-x
  :ensure nil
