Browse Source

No more slow scroll

I had to disable the fancy smooth scrolling because it makes next-line
go obscenely slow, which gets unusable with multiple-cursors.
I also made some small modifications to get rid of work stuff.
master 4 years ago
  1. 12
  2. 2
  3. 2
  4. 18


@ -102,6 +102,12 @@
;; - Treacherous: vc-annotate uses the revision which the buffer has, which if you commit from DSVN
;; does not update (i.e. look at the mode line revision). You need to revert the buffer then do vc-annotate to see the true state
;; - Isearch: Customize colors
;; - Search Everything/projectile-find-files which will work on non-vc dirs
;; - Code reference to org: mark block of code, run command; command copies string to clipboard with file:line org link and code block. Good for deep dives where you have to take notes
;; Split todo
;; - Put all things which are user-specific at the top of respective files
;; - Search: Make Codesearch data folder user-specific
;; Criticism improvements:
;; - [DONE] Select word at point
@ -268,9 +274,9 @@ static char *gnus-pointer[] = {
'(linum-format " %7i ")
'(org-support-shift-select t)
'(("marmalade" . "")
("gnu" . "")
("melpa" . "")))
(("gnu" . "")
("melpa" . ""))))
'(web-mode rainbow-mode ivy-xref expand-region ivy engine-mode diminish iy-go-to-char magit dsvn delight adaptive-wrap web-beautify etags-select simpleclip yasnippet swiper company auto-complete clang-format avy ag xah-find flx-ido ido-vertical-mode sublime-themes smooth-scrolling alect-themes base16-theme powerline darktooth-theme projectile smex fiplr helm-dash better-defaults multiple-cursors zenburn-theme marmalade-demo))
'(pos-tip-background-color "#36473A")


@ -212,7 +212,7 @@ If there's a string at point, offer that as a default."
;; The filter which will apply to codesearch results. Things matching this regex will be removed.
;; This is useful for e.g. filtering autogenerated code files
;; Note that this will also remove code lines which match this pattern, so make the regex robust to that
(setq macoy-codesearch-ignore-lines-pattern "_ast\.|_autogen|\.wiki")
(setq macoy-codesearch-ignore-lines-pattern "_ast\.|_autogen")
(defun macoy-codesearch-search-with-filter-directory (pattern directory)


@ -50,7 +50,7 @@
;; Files to use this mode
;; Function list


@ -28,16 +28,20 @@
;; Scrolling
;; scroll one line at a time (less "jumpy" than defaults)
(setq mouse-wheel-scroll-amount '(2 ((shift) . 2))) ;; Two lines at a time
(setq mouse-wheel-progressive-speed nil) ;; don't accelerate scrolling
;; (setq mouse-wheel-follow-mouse 't) ;; scroll window under mouse
;;(setq scroll-step 1) ;; keyboard scroll one line at a time
;; (setq scroll-conservatively 10000)
;; (setq auto-window-vscroll nil)
(require 'smooth-scrolling)
(smooth-scrolling-mode 1)
;; When the cursor scrolls off the screen, this makes the window scroll by a dozen or so lines
;; instead of jumping to the top of the window
;; Disabled because of poor performance
;; (require 'smooth-scrolling)
;; (smooth-scrolling-mode 0)
;; Make scrolling less jumpy
(setq scroll-step 1)
(setq scroll-conservatively 10000)
;; This causes next-line to be ridiculously slow when turned on, so I've disabled it
(setq auto-window-vscroll nil)
;; Powerline: nicer status bar