This package contains a Transient menu for I-Search. When in basic I-Search mode, this menu can be raised by pressing the C-o
key. A menu of different isearch commands will be offered as shown below:
Use the following lines to install casual-isearch-tmenu.
(require 'casual-isearch)
(keymap-set isearch-mode-map "C-o" #'casual-isearch-tmenu)
Alternately install with use-package
using the following initialization:
(use-package casual-isearch
:ensure t
:bind (:map isearch-mode-map ("C-o" . casual-isearch-tmenu)))
The keybinding to casual-isearch-tmenu
can be changed to user preference.
The following I-Search commands are grouped as follows in the Transient menu casual-isearch-tmenu
. Keys associated with each command are shown enclosed in parentheses.
isearch-edit-string
(e
)isearch-yank-word-or-char
(w
)isearch-yank-symbol-or-char
(s
)isearch-yank-line
(l
)isearch-yank-kill
(y
)isearch-forward-thing-at-point
(t
)
isearch-query-replace
(r
)isearch-query-replace-regexp
(x
)
isearch-toggle-regexp
(X
)isearch-toggle-symbol
(S
)isearch-toggle-word
(W
)isearch-toggle-case-fold
(F
)isearch-toggle-lax-whitespace
(L
)
isearch-occur
(o
)isearch-highlight-regexp
(h
)isearch-highlight-lines-matching-regexp
(H
)
isearch-repeat-forward
(n
)isearch-repeat-backward
(p
)
The Transient key C-q
will dismiss the menu.
When in search mode (typically via the keybinding C-s
or C-r
), pressing the keybinding C-o
(or binding of your preference) will raise the Transient menu casual-isearch-tmenu
. Once raised, only the I-Search commands in the Replace and Misc sections will automatically dismiss the menu when selected. All other I-Search commands will not dismiss the menu.
Note that editing the search text via isearch-edit-string
will enter a recursive editing mode that is normally exited when pressing the return key.
Use C-g
to dismiss this Transient menu.
Casual I-Search is part of a suite of porcelains for different Emacs packages.
To get all current and future Casual porcelains, please install Casual Suite from MELPA.
User Interfaces currently supported by Casual are listed below:
- Casual I-Search - a Transient menu for I-Search.
- Casual Calc - a Transient user interface for Calc.
- Casual Dired - a Transient user interface for the Dired file manager.
- Casual Info - a Transient user interface for Info.
- Casual Bookmarks - a Transient user interface for Bookmarks.
- Casual IBuffer - a Transient user interface for IBuffer.
- Casual RE-Builder - a Transient user interface for RE-Builder.
- Casual Avy - a Transient user interface for Avy.
Users who prefer finer grained control over package installation can install each user interface above individually.
If you enjoy using Casual I-Search, consider making a modest financial contribution to help support its development and maintenance.