nimbus117 / mongodb.vim

Vim interface for the mongo shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specify the connection string to use with b:db or g:db.

let b:db = "mongodb://host/database"

Use :DB to execute the current buffer line using the mongo shell and show the results in a vertical split, takes a range.

:Mongo opens a buffer named './vim.mongo.js' with collection method autocompletion <c-x><c-u> and maps <c-j> to execute the current line :.DB in normal mode and the highlighted range in visual mode '<,'>:DB.

About

Vim interface for the mongo shell


Languages

Language:Vim Script 91.9%Language:JavaScript 8.1%