m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/vim.md b/vim.md
index 049490b..1da057c 100644
--- a/vim.md
+++ b/vim.md
@@ -1,5 +1,18 @@
# Vim tricks
+## readline
+
+vi keybindings in various `readline` and similar CLIs:
+
+ # ~/.inputrc
+ set editing-mode vi
+
+ # ~/.editrc
+ bind -v
+
+ # ~/.haskeline
+ editMode: Vi
+
## Navigating help
| prefix | example | context |