Skip to content

kopecmaciej/vi-mongo.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vi Mongo nvim plugin

Vi Mongo is a TUI application that enables efficient work with MongoDB. This repository contains a Neovim plugin that provides a floating window interface for Vi Mongo.

Official Website

For more information, visit www.vi-mongo.com or GitHub.

Installation

Using vim-plug

Add the following line to your Neovim configuration:

Plug 'kopecmaciej/vi-mongo.nvim'

Then run :PlugInstall in Neovim.

Add the following to your Neovim configuration:

use {
    'kopecmaciej/vi-mongo.nvim',
    config = function()
        require('vi-mongo').setup()
    end
}

Then run :PackerSync in Neovim.

Using lazy.nvim

Add the following to your Neovim configuration:

{
  "kopecmaciej/vi-mongo.nvim",
  config = function()
    require("vi-mongo").setup()
  end,
  cmd = { "ViMongo" },
  keys = {
    { "<leader>vm", "<cmd>ViMongo<cr>", desc = "ViMongo" }
  }
}

Then run :Lazy sync in Neovim.

Usage

After installation, you can open the Vi Mongo window using the command:

:ViMongo

Configuration

To add a shortcut for opening Vi Mongo, add the following to your Neovim configuration:

vim.api.nvim_set_keymap('n', '<leader>vm', ':ViMongo<CR>', { noremap = true, silent = true })

This will map <leader>vm to open Vi Mongo in normal mode.

Requirements

About

Plugin for Vi Mongo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published