m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-08-29 22:02:35 -0700
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-08-29 22:02:35 -0700
commit2feb03aaf605b5a06edaae2271b378412462498b (patch)
tree614fb0cf0981ceab426f53286d272fe481d76b90
parentee064a23ce75cac05bc18bbaee17601633fd8fd3 (diff)
Add readline etc. configs for vi
-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 |