Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
reeflective
/
readline
Public
Notifications
You must be signed in to change notification settings
Fork
21
Star
146
Code
Issues
1
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Home
Jump to bottom
maxlandon edited this page
Jul 5, 2026
·
30 revisions
Users
Options
Introduction
Setting options in the
.inputrc
file
Options
Keymaps & Commands
Table of Contents
Keymaps
Available keymaps
Key dispatch & matching
Example
Commands
Movement
Modifying Text
Arguments
Macros
History Control
Completion
Miscellaneous
Text Objects
Default Binds & Options
Options
Emacs
Emacs standard
Emacs Meta
Emacs CtrlX
Vim
Insert
Command
Visual
Operator Pending
Completion & Isearch
Menu-Select
Incremental Search
Non-incremental Search
Macros
Emacs mode
Vim mode
Vim (additional features)
Registers
Text objects (examples)
Developers
Introduction
Current shell libraries
Original readline compatiblity
Aims and choices of this package
Architecture & inspirations
Simpler APIs, same user experience
Configuration File
Loading configurations
Global options
Key bindings
History Sources
File-based command history
Adding and removing histories
Custom history sources
Prompts
Prompt handlers
Logging to the shell
Transient log
Classic prompt log
Demo
Programmable Commands
Introduction
Accessing readline components
The keymap engine
Example 1: Adding a URL-selection command
Example 2: Adding a surround-change command
Key-event callbacks
Completions & Hints
The
Completions
container
Completion Candidates
Autosuffix removal
Hints and usage strings
The hint area and its lanes
Asynchronous updates
Syntax Highlighting
Builtin highlighting
Writing the callback
Inline Suggestions
The API
Setting a suggestion
Accepting a suggestion
Bracketed Paste
The paste transformer
Example
Multiline support
Writing the callback
Example
Wiki pages
Pages
16
Loading
Home
Users
Developers
Loading
Bracketed Paste
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Completions & Hints
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Configuration File
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Default Binds & Options
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
History Sources
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Inline Suggestions
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Introduction
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Keymaps & Commands
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Macros
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Multiline
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Options
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Programmable Commands
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Prompts
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Syntax Highlighting
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
Vim Mode
Uh oh!
There was an error while loading.
Please reload this page
.
Show 1 more pages…
Home
Users
Options
Introduction
Setting options in the
.inputrc
file
Options
Keymaps & Commands
Table of Contents
Keymaps
Available keymaps
Key dispatch & matching
Example
Commands
Movement
Modifying Text
Arguments
Macros
History Control
Completion
Miscellaneous
Text Objects
Default Binds & Options
Options
Emacs
Emacs standard
Emacs Meta
Emacs CtrlX
Vim
Insert
Command
Visual
Operator Pending
Completion & Isearch
Menu-Select
Incremental Search
Non-incremental Search
Macros
Emacs mode
Vim mode
Vim (additional features)
Registers
Text objects (examples)
Developers
Introduction
Current shell libraries
Original readline compatiblity
Aims and choices of this package
Architecture & inspirations
Simpler APIs, same user experience
Configuration File
Loading configurations
Global options
Key bindings
History Sources
File-based command history
Adding and removing histories
Custom history sources
Prompts
Prompt handlers
Logging to the shell
Transient log
Classic prompt log
Demo
Programmable Commands
Introduction
Accessing readline components
The keymap engine
Example 1: Adding a URL-selection command
Example 2: Adding a surround-change command
Key-event callbacks
Completions & Hints
The
Completions
container
Completion Candidates
Autosuffix removal
Hints and usage strings
The hint area and its lanes
Asynchronous updates
Syntax Highlighting
Builtin highlighting
Writing the callback
Inline Suggestions
The API
Setting a suggestion
Accepting a suggestion
Bracketed Paste
The paste transformer
Example
Multiline support
Writing the callback
Example
Clone this wiki locally
You can’t perform that action at this time.