Fixed cursor, fixed iedit. Added i3-getip and led.sh.

Turned off scroll-conservatively because it made the cursor jump
erratically. Hooked into flyspell-prog-mode to delete C-; keybinding.
This commit is contained in:
tastytea 2019-03-23 08:46:20 +01:00
parent ebc82103d8
commit 64e8cf8c8b
2 changed files with 10 additions and 5 deletions

13
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-03-23 06:17:57 CET>
;;; Time-stamp: <2019-03-23 08:44:55 CET>
;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with
@ -122,8 +122,8 @@
;; Scroll 1 line at a time.
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1)))
;; Never recenter cursor while scrolling.
(setq scroll-conservatively 101)
;; ;; Never recenter cursor while scrolling.
;; (setq scroll-conservatively 101)
;; Scroll before cursor has reached top/bottom.
;; Way too slow with fci-mode and highlight-indent-guides activated.
@ -498,6 +498,10 @@
(executable-find "ispell"))
(unless slow-computer
(use-package flyspell
:init
(defun my/delete-flyspell-keybinding ()
"Delete \"C-;\" keybinding because iedit needs it."
(define-key flyspell-mode-map (kbd "C-;") nil))
:custom
(ispell-dictionary "english")
:config
@ -512,7 +516,8 @@
("<f6>" . my/toggle-flyspell)
:hook
;; Spellcheck comments.
(prog-mode . flyspell-prog-mode))))
(prog-mode . flyspell-prog-mode)
(flyspell-prog-mode . my/delete-flyspell-keybinding))))
;; Multiple cursors.
(use-package multiple-cursors

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 27000
127.0.0.1:51313 16158
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh