-
Notifications
You must be signed in to change notification settings - Fork 7
ConfigItem
Catalog of the config item within pophint.el/pophint-config.el.
- pophint:popup-chars
- pophint:select-source-chars
- pophint:select-source-method
- pophint:switch-source-char
- pophint:switch-source-reverse-char
- pophint:switch-source-delay
- pophint:switch-source-selectors
- pophint:switch-direction-char
- pophint:switch-direction-reverse-char
- pophint:switch-window-char
- pophint:popup-max-tips
- pophint:default-require-length
- pophint:switch-direction-p
- pophint:do-allwindow-p
- pophint:use-pos-tip
- pophint:set-allwindow-command
- pophint:set-not-allwindow-command
- pophint-config:set-automatically-when-marking
- pophint-config:set-yank-immediately-when-marking
- pophint-config:set-automatically-when-isearch
- pophint-config:set-do-when-other-window
- pophint-config:set-relayout-when-rangeyank-start
- pophint-config:set-w3m-use-new-tab
- pophint-config:set-goto-immediately-when-e2wm-array
- pophint-config:set-automatically-when-e2wm-array
- pophint-config:set-kill-region-kill-ring-save
- pophint-config:set-mark-direction
- pophint-config:set-isearch-yank-region-command
- pophint-config:set-tag-jump-command
Characters for the pop-up hint. In default, hjklyuiopnm
.
Characters for selecting source. In default, 123456789
.
pophint:select-source-method relates with this option.
Method for selecting source. One of the following. In default, use-source-char
.
This is able to select source using pophint:select-source-chars directly without pushing pophint:switch-source-char/ pophint:switch-source-reverse-char.
Also, pophint:switch-source-char/ pophint:switch-source-reverse-char can be used.
This is able to select source using pophint:popup-chars after pushing pophint:switch-source-char/ pophint:switch-source-reverse-char.
This is only able to switch source using pophint:switch-source-char/ pophint:switch-source-reverse-char.
Character for switching using source. In default, s
.
Character for switching using source in reverse. In default, S
.
Second for delay to switch source. In default, 0.5
.
Sources are switched without eval by pushing same key before the passage of this time.
If set nil
, source will be switched and evaluated immediately without delay.
List of dedicated selector for source. In default, nil
.
Example of setting is the following.
(setq pophint:switch-source-selectors '(("Quoted" . "q")
("Sym" . "s")))
Character for switching direction of pop-up. In default, d
.
Character for switching direction of pop-up in reverse. In default, D
.
Character for switching window of pop-up. In default, w
.
Maximum counts of the pop-up hint. In default, 200
.
If target window is multiple, This value is for each of windows.
If set nil
, means limitless, but I don't recommend it because performance decreases in large buffer.
Default minimum length of matched text for pop-up. In default, 2
.
The hint is not shown if the hint string length is shorter than this value.
Also, the requires
option value of the source is prior than this value.
Whether to switch direction of pop-up. In default, t
.
If set nil
, direction is always around
.
Whether to do pop-up at all windows. In default, nil
.
If set t
, allwindow
option is always enabled when do pophint:do
.
Whether to use pos-tip.el to show prompt. In default, nil
.
If use-pos-tip
option is given when pophint:do
, the option value is prior than this value.
Face for the pop-up hint.
Face for matched hint text.
Face for the part of bound key in prompt.
Buffer local sources for pophint:do-flexibly
.
This value may be different in each of buffer.
Global sources for pophint:do-flexibly
.
Sources for pophint:do-situationally
.
This sources needs to have the element of dedicated
and activebufferp
.
It's no need to add source into this list manually, because pophint:defsource
do that.
allwindow
option is enabled when do pophint:do
while do a given command.
Give a command name like the following.
(pophint:set-allwindow-command pophint:do-flexibly)
allwindow
option is disabled when do pophint:do
while do a given command.
The effect of this function is prior than any function which enable allwindow
option.
Give a command name like the following.
(pophint:set-not-allwindow-command pophint:do-flexibly)
Whether to show hint when do set-mark-command
/cua-set-mark
(C-SPC in default). In default, nil
.
About this effect, see BundledEffect.
If set t
to pophint-config:set-automatically-when-marking
,
Whether to do kill-ring-save
(C-w in default) immediately
when select a shown hint from pophint-config:set-automatically-when-marking
. In default, nil
.
Whether to show hint when do isearch-exit
(RET in default) while isearch
(C-s in default). In default, nil
.
About this effect, see BundledEffect.
Whether to show hint when do other-window
(C-x o in default). In default, nil
.
About this effect, see BundledEffect.
Whether to change window configuration temporarily when do "RangeYank" action. In default, nil
.
If set t
, do the following action when show hint for region end.
- Delete other window.
- The start of the region will be displayed at the upper left.
Whether to open w3m buffer in new tab when do function of pophint-config.el. In default, t
.
In array perspective of e2wm,
if show hint when do other-window
(C-x o in default),
Whether to do e2wm:dp-array-goto-prev-pst-command
(C-m in default) immediately
when select a shown hint. In default, nil
.
Whether to show hint when start array perspective of e2wm.
In default, nil
.
Whether to save the killed text into kill-ring by pophint-config:kill-region
/pophint-config:backward-kill-region
.
In default, t
.
Direction for showing hints when do mark command (C-SPC in default). In default, nil
.
Change command action to show hints and expand a query of isearch till the selected position.
Give a command name like the following.
(pophint-config:set-isearch-yank-region-command isearch-yank-line)
Also, if you don't want to change command, bind pophint-config:isearch-yank-region
to any key.
Before run the command jumps to definition, show hints for each of symbol and move to the selected position.
Give a command name like the following.
(pophint-config:set-tag-jump-command find-tag)