src.elv.sh@v0.21.0-dev.0.20240515223629-06979efb9a2a/pkg/edit/navigation.d.elv (about) 1 # Name of the currently selected file in navigation mode. $nil if not in 2 # navigation mode. 3 var navigation:selected-file 4 5 # Keybinding for the navigation mode. 6 # 7 # Keys bound to 8 # [edit:navigation:trigger-filter](#edit:navigation:trigger-filter) (Ctrl-F by 9 # default) and 10 # [edit:navigation:trigger-shown-hidden](#edit:navigation:trigger-shown-hidden) 11 # (Ctrl-H by default) will be shown in the navigation mode UI. 12 var navigation:binding 13 14 # Start the navigation mode. 15 fn navigation:start { } 16 17 # Inserts the selected filename. 18 fn navigation:insert-selected { } 19 20 # Inserts the selected filename and closes the navigation addon. 21 fn navigation:insert-selected-and-quit { } 22 23 # Toggles the filtering status of the navigation addon. 24 fn navigation:trigger-filter { } 25 26 # Toggles whether the navigation addon should be showing hidden files. 27 fn navigation:trigger-shown-hidden { } 28 29 # A list of 3 integers, used for specifying the width ratio of the 3 columns in 30 # navigation mode. 31 var navigation:width-ratio