 ;; scroll a long line individually like nano, instead of vertically shifting the whole document
 (setq auto-hscroll-mode 'current-line)
 
+(setq scroll-preserve-screen-position t)
+
 ;; holding shift during navigation doesn't expand selection
 (setq shift-select-mode nil)
 
 ;; scroll horizontally
 (put 'scroll-left 'disabled nil)
 (put 'scroll-right 'disabled nil)
+
+;; better scrolling
+(pixel-scroll-mode 1)
 
 ;; highlight and auto-create matching parentheses
 (show-paren-mode 1)

             (move-beginning-of-line nil)
             (org-insert-heading nil t)
             (insert date))))))
  ;; tags and captures
  (setq org-tag-persistent-alist
        '(("note")

  :config
  (setq highlight-indent-guides-method 'character))

;; shorten repeatable commands
(repeat-mode 1)
(setq repeat-keep-prefix t)

;;;;; Text manipulation

