Skip to content

Commit c7bf417

Browse files
committed
added tip about using vi mode in a python shell
1 parent 2ad3c49 commit c7bf417

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vim notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,5 @@
148148
- vim can read from stdin. To pipe stdin into vim use "<command> | vim - "
149149

150150
- you can check the current value of any setting by saying "set <settings>?"
151+
152+
- use import readline; readline.parse_and_bind("set editing-mode vi") to get vi bindings in a python shell

0 commit comments

Comments
 (0)