Variable: ghostel-word-boundary-string

ghostel-word-boundary-string is a customizable variable defined in ghostel.el.

Value

"       \"'`|:;,()[]{}<>$│"

Documentation

Characters that terminate words in ghostel buffers.

Mirrors Ghostty's selection-word-chars default. Characters not listed here are word constituents, so double-click selects whole hostnames
(api.example.com) and paths (~/src/foo/bar.txt).

The value is realized into ghostel-mode-syntax-table, which drives mouse word selection and word-based motion/search. Use setopt or customize-set-variable so the table is rebuilt.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defcustom ghostel-word-boundary-string " \t\"'`|:;,()[]{}<>$│"
  "Characters that terminate words in ghostel buffers.

Mirrors Ghostty's `selection-word-chars' default.  Characters not listed
here are word constituents, so double-click selects whole hostnames
\(`api.example.com') and paths (`~/src/foo/bar.txt').

The value is realized into `ghostel-mode-syntax-table', which drives mouse
word selection and word-based motion/search.
Use `setopt' or `customize-set-variable' so the table is rebuilt."
  :type 'string
  :initialize #'custom-initialize-default
  :set (lambda (sym newval)
         (set-default sym newval)
         (when (boundp 'ghostel-mode-syntax-table)
           (ghostel--rebuild-mode-syntax-table))))