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
macoymadson@gmail.com 4 years ago
parent
commit
4ecc3596e2
  1. 12
      Emacs/dotEmacs.el
  2. 2
      Emacs/search.el
  3. 2
      Emacs/syntaxes.el
  4. 18
      Emacs/visual-early.el

12
Emacs/dotEmacs.el

@ -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)
'(package-archives
'(("marmalade" . "https://marmalade-repo.org/packages/")
("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/")))
(quote
(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.org/packages/"))))
'(package-selected-packages
'(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")

2
Emacs/search.el

@ -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)
(interactive

2
Emacs/syntaxes.el

@ -50,7 +50,7 @@
)
;; Files to use this mode
'(".Layer\\'")
'(".ExampleExtension\\'")
;; Function list
nil

18
Emacs/visual-early.el

@ -28,16 +28,20 @@
;; Scrolling
;; https://www.emacswiki.org/emacs/SmoothScrolling
;; 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

Loading…
Cancel
Save