阅读:3039回复:5
Pentadactyl, Passkeys 的复杂功能怎么用?
对Vimp3的状态栏无爱,暂时叛逃dactyl阵营,关于 Passkeys 取代 feedsomekeys 问题,
帮助中叙述: More subtle and complex pass through can be achieved using groups and mode-specific mappings utilizing the <Pass> pseudo-key. 参考链接: https://groups.google.com/group/pentada ... c62835d1e# group! greader -locations=https://www.google.com/reader/* nnoremap -group greader J j<pass> group! greader -locations=https://www.google.com/reader/* map -b J <C-v>j 以上试过都无效, 到底该怎么用啊? |
|
1楼#
发布于:2011-04-10 08:19
set passkeys+=<URL>:<Keys>
要 Pass 的单键放在冒号后面,组合键用","分割 例如 在 twitter 屏蔽 j、k、s、r、v、?、-、n、回车,几个单键和 gh、gr、Shift+r 几个组合键可以写成 set passkeys+=twitter.com:jksrv?-n<CR>,gh,gr,<S-r>` 要用 Group 也行,就是比较麻烦: group gr -locations=https://www.google.com/reader/* noremap -g=gr j <Pass> //还原 j 的本来功能; noremap -g=gr K <C-v>k //用大写 K 还原小写 k 的功能。 |
|
2楼#
发布于:2011-04-10 08:19
|
|
|
3楼#
发布于:2011-04-10 08:19
|
|
4楼#
发布于:2011-04-10 08:19
峄峰:set passkeys+=<URL>:<Keys> noremap -g=gr K <C-v>k 我想要的就是这个功能, pass后再映射,语法貌似没错,可就是无效啊T_T |
|
5楼#
发布于:2011-04-10 08:19
我试了一下,在我这里是起了作用了,但是奇怪的是按键本身的定义同样也会生效。按下 K 的效果就成了翻到前一封信的同时向上翻页了,囧.
![]() Pentadactyl hg6126 (created: 2011/04/09 00:00:05) running on: Mozilla/5.0 (X11; Linux i686; rv:2.0b13pre) Gecko/20110322 Firefox/4.0b13pre |
|