src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/edit/listing.d.elv (about) 1 # Common binding table for [listing modes](#listing-modes). 2 var listing:binding { } 3 4 # Accepts the current selected listing item. 5 fn listing:accept { } 6 7 # Moves the cursor up in listing mode. 8 fn listing:up { } 9 10 # Moves the cursor down in listing mode. 11 fn listing:down { } 12 13 # Moves the cursor up in listing mode, or to the last item if the first item is 14 # currently selected. 15 fn listing:up-cycle { } 16 17 # Moves the cursor down in listing mode, or to the first item if the last item is 18 # currently selected. 19 fn listing:down-cycle { } 20 21 # Moves the cursor up one page. 22 fn listing:page-up { } 23 24 # Moves the cursor down one page. 25 fn listing:page-down { } 26 27 # Starts the history listing mode. 28 fn histlist:start { } 29 30 # Toggles deduplication in history listing mode. 31 # 32 # When deduplication is on (the default), only the last occurrence of the same 33 # command is shown. 34 fn histlist:toggle-dedup { } 35 36 # Keybinding for the history listing mode. 37 # 38 # Keys bound to [edit:histlist:toggle-dedup](#edit:histlist:toggle-dedup) 39 # (Ctrl-D by default) will be shown in the history listing UI. 40 var histlist:binding 41 42 # Starts the last command mode. 43 fn lastcmd:start { } 44 45 # Keybinding for the last command mode. 46 var lastcmd:binding 47 48 # Starts the location mode. 49 fn location:start 50 51 # Keybinding for the location mode. 52 var location:binding 53 54 # A list of directories to hide in the location addon. 55 var location:hidden 56 57 # A list of directories to always show at the top of the list of the location 58 # addon. 59 var location:pinned 60 61 # A map mapping types of workspaces to their patterns. 62 var location:workspaces