From 83dc9de244821f055c38dde97081bbe98ac3fd28 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Sat, 22 Jul 2017 18:46:21 +0200 Subject: [PATCH] +fixes --- .emacs | 25 +- emacs.html | 1280 +++++++++++++++++++++++++++------------------------- 2 files changed, 682 insertions(+), 623 deletions(-) diff --git a/.emacs b/.emacs index bda194f..e7ef60d 100644 --- a/.emacs +++ b/.emacs @@ -1,4 +1,4 @@ -;; Toms Emacs Config - portable - version (20170719.01) -*-emacs-lisp-*- +;; Toms Emacs Config - portable - version (20170722.01) -*-emacs-lisp-*- ;; * Introduction ;; This is my emacs config, it is more than twenty years old. It @@ -565,6 +565,9 @@ ;; - kill-all-buffers now uses 'autoscratch-buffer ;; - renamce autoscratch +;; 20170722.01: +;; - added followcursor-mode + ;; ** TODO ;; - check helpful https://github.com/wilfred/helpful @@ -593,7 +596,7 @@ ;; My emacs config has a version (consisting of a timestamp with a ;; serial), which I display in the mode line. So I can clearly see, if ;; I'm using an outdated config somewhere. -(defvar tvd-emacs-version "20170719.01") +(defvar tvd-emacs-version "20170722.01") ;; -------------------------------------------------------------------------------- @@ -4300,6 +4303,24 @@ defun." (local-set-key (kbd "C-l") 'tvd-suggest-reload) (local-set-key (kbd "") 'tvd-suggest-jump))))) +;; *** Followcursor Mode + +;; [[https://github.com/TLINDEN/followcursor-mode][source on github]] + +;; From time to time I need to refactor configs and the like based on +;; lists. For example in the left window I have a list of bgp peers +;; and in the right window a config file for all peers which I have to +;; modify based on current settings. With followcursor-mode I can put +;; point on an ip address and the line in the config containing this +;; ip address will be highlighted. If I move on to the next address +;; the next line on the right will be highlighted. + +;; The mode is a work-in-progress... + +(require 'followcursor-mode) + + + ;; ** Emacs Interface ;; *** Parens diff --git a/emacs.html b/emacs.html index 66f1ed2..716a45b 100644 --- a/emacs.html +++ b/emacs.html @@ -3,12 +3,12 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + - +