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]
E.g. only
UIinbuffer_list.lua