-
Notifications
You must be signed in to change notification settings - Fork 7
ConfigHelp
By purpose, introduce configuration.
Also, see the help of config item.
- Change number of hint
- Change character of hint
- Change method to select source
- Change key bind when select hint
- Config for the extended other package function by pophint-config.el
- Show hint in all windows
- Change list of the handled source by
pophint:do-flexibly
- Disable changing direction
- Not show hint for short string
- Change face
Set number to pophint:popup-max-tips
.
If the number of the shown hint is too many, it maybe happen that performance come down.
I recommend to set a largest number as much as possible with keeping smooth action in your environment.
Set characters to pophint:popup-chars
.
The required key-stroke decreases with increasing the number of the character.
In default, the value is set for being able to operate with only right hand.
* Don't set the character being included in config of Change key bind when select hint.
There are the following methods to select source.
- Push the dedicated key to switch source one right.
- Push the dedicated key to switch source one left.
- Push the key bound to each of source to select the source.
For choice of method and config of them, set the following item.
pophint:select-source-chars
pophint:select-source-method
pophint:switch-source-char
pophint:switch-source-reverse-char
pophint:switch-source-delay
* Don't set the character being included in config of Change character of hint /
Change key bind when select hint to pophint:select-source-chars
.
Set key-stroke ot pophint:switch-XXX-char
.
* Don't set the character being included in config of Change character of hint.
Use pophint-config:set-XXX
.
If you want to change the key binding in w3m buffer, re-define pophint-config:w3m-set-keys
.
The default definition is the following.
(defun pophint-config:w3m-set-keys ()
(local-set-key (kbd "f") 'pophint:do-w3m-anchor)
(local-set-key (kbd "F") 'pophint-config:w3m-anchor-open-invert)
(local-set-key (kbd "C-c C-e") 'pophint-config:w3m-anchor-open-new-tab-continuously)
(local-set-key (kbd "; o") 'pophint-config:w3m-anchor-open)
(local-set-key (kbd "; t") 'pophint-config:w3m-anchor-open-new-tab)
(local-set-key (kbd "; F") 'pophint-config:w3m-anchor-open-new-tab-continuously)
(local-set-key (kbd "; y") 'pophint-config:w3m-anchor-yank)
(local-set-key (kbd "; v") 'pophint-config:w3m-anchor-view-source)
(local-set-key (kbd "; RET") 'pophint-config:w3m-anchor-focus))
If you want always to show hints in all window, set t to pophint:do-allwindow-p
.
If you want to choice the command for enable/disable, use pophint:set-allwindow-command
/pophint:set-not-allwindow-command
.
I recommend to enable as much as possible with keeping smooth action in your environment.
This config relates to config of Change number of hint.
Add/Remove source to pophint:global-sources
/pophint:sources
.
About defining source, see API.
If you want to disable switching direction, set nil to pophint:switch-direction-p
.
I recommend this config because the message in minibuffer is shorter.
Set number to pophint:default-require-length
.
Set face to pophint:XXX-face
.