Skip to content

Ldoc parses only first value from ternary #86

Description

@rgieseke

E.g. only UI in buffer_list.lua

keys
    The key bindings for the buffer list.

    You can modifiy this to customise the key bindings to your liking. The key bindings are passed directly to the Textredux list, so note that the first argument to any function will be the Textredux list itself. You can read more about the Textredux list's keys in the [list documentation](file:///home/robert/.textadept/modules/textredux/docs/modules/textredux.core.list.html#keys).

    If you like to add a custom key binding for closing a buffer or all buffers in the current selection you can bind the [close_buffer](file:///home/robert/.textadept/modules/textredux/docs/modules/textredux.buffer_list.html#close_buffer) and [close_selected](file:///home/robert/.textadept/modules/textredux/docs/modules/textredux.buffer_list.html#close_selected) functions to a key of your choice. For other actions it's likely that you want to obtain the currently selected buffer - you can use the [currently_selected_buffer](file:///home/robert/.textadept/modules/textredux/docs/modules/textredux.buffer_list.html#currently_selected_buffer) function for that.
    Fields:

        [ctrl+d] Default for close buffer
        [UI]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions