MongoDB Shell
-
Support .mongorc.js file
A core bit of functionality from the original shell is to support reading from the
.mongorc.js
file in a user's home directory. This feels like core functionality thatmongosh
should support.4 votesThis work is planned. Support for `.mongorc.js` will be there before GA `mongosh`.
-
Vi mode for MongoDB Shell
Please enable a 'vi' editing mode for the mongo shell.
- Similar to vi mode in bash
- Similar to https://www.npmjs.com/package/mongovi
A first cut of key bindings would be:
Basic command mode/editing mode toggling:
i Insert before cursor
Esc Toggle to command modeCursor motion keys:
h Move left
j Move down
k Move up
l Move rightw Move to next word
b Move to the beginning of the word0 Move to the beginning of the line
$ Move to the end of the lineAnd delete/change:
x delete next character to the right
d{motion} delete amount specified by…
8 votes
- Don't see your idea?