Xah Talk Show 2025-01-16 Ep607 Emacs Lisp, HTML Ruby Markup Chinese, Jump to String

By Xah Lee. Date: .
vidthumb 2BFquEm2L8k
vidthumb 2BFquEm2L8k

https://youtu.be/2BFquEm2L8k

(defun xah-backward-string ()
  "Move cursor to the next occurrence of string syntax.
Created: 2025-01-16
Version: 2025-01-16"
  (interactive)
  (re-search-backward "\\s\"" nil t)
  (re-search-backward "\\s\"" nil t)
)

(defun xah-forward-string ()
  "Move cursor to the next occurrence of string syntax.
Created: 2025-01-16
Version: 2025-01-16"
  (interactive)
  (re-search-forward "\\s\"" nil t)
  (re-search-forward "\\s\"" nil t))

(keymap-global-set "<f5>" 'xah-backward-string)
(keymap-global-set "<f6>" 'xah-forward-string)