GNU/Linux ◆ xterm-256color ◆ murex 13754 views

This demonstrates a few features of readline:

  • hint text (the blue status text below the prompt - however the colour is configurable)
  • syntax highlighting (albeit there isn’t much syntax to highlight in the example)
  • tab-completion in gridded mode (seen when typing cd)
  • tab-completion in list view (seen when selecting an process name to kill and the process ID was substituted when selected)
  • regex searching through the tab-completion suggestions (seen in both cd and kill - enabled by pressing [CTRL+f])
  • line editing using $EDITOR (vi in the example - enabled by pressing [ESC] followed by [v])
  • readline’s warning before pasting multiple lines of data into the buffer
  • the preview option that’s available as part of the aforementioned warning
  • and VIM keys (enabled by pressing [ESC])

Source code:

More by lmorg

Murex spellchecker 00:28

by lmorg

Murex syntax completion 01:45

by lmorg

Murex inlining images 01:15

by lmorg

See all