papistui: Add page scroll and info window
Added info window displaying abstracts or citation information. Added quick page scrolling with <c-f> <c-u> mimicking vim.
This commit is contained in:
parent
0e12325730
commit
8bf61fc582
1 changed files with 21 additions and 2 deletions
|
@ -25,18 +25,37 @@ documentlist:
|
||||||
rowstyle: white_bg
|
rowstyle: white_bg
|
||||||
separator: " \u2502 "
|
separator: " \u2502 "
|
||||||
keymappings:
|
keymappings:
|
||||||
' ': mark_selected
|
' ': mark_down
|
||||||
/: search_mode
|
/: search_mode
|
||||||
<key_down>: scroll_down
|
<key_down>: scroll_down
|
||||||
<key_up>: scroll_up
|
<key_up>: scroll_up
|
||||||
|
<ctrl-f>: page_down
|
||||||
|
<ctrl-b>: page_up
|
||||||
'?': help
|
'?': help
|
||||||
G: jump_to_bottom
|
G: jump_to_bottom
|
||||||
e: edit
|
|
||||||
gg: jump_to_top
|
gg: jump_to_top
|
||||||
j: scroll_down
|
j: scroll_down
|
||||||
k: scroll_up
|
k: scroll_up
|
||||||
o: open
|
o: open
|
||||||
|
e: edit
|
||||||
|
n: papis edit -n papis_id:{doc['papis_id']}
|
||||||
q: quit
|
q: quit
|
||||||
|
t: tag
|
||||||
|
ii:
|
||||||
|
- info_toggle
|
||||||
|
- "Toggle info window"
|
||||||
|
ij:
|
||||||
|
- info_cycle
|
||||||
|
- "Cycle info windows"
|
||||||
|
infowindow:
|
||||||
|
default_on: False
|
||||||
|
views:
|
||||||
|
apa:
|
||||||
|
content: "{format_reference(doc)}"
|
||||||
|
abstract:
|
||||||
|
content: "{doc['abstract']}"
|
||||||
|
linewrap: True
|
||||||
|
height: 8
|
||||||
statusbar:
|
statusbar:
|
||||||
left:
|
left:
|
||||||
default: <black_white> {info["mode_upper"]} <black_white>
|
default: <black_white> {info["mode_upper"]} <black_white>
|
||||||
|
|
Loading…
Reference in a new issue