/mvc.nvim

A plugin for flying inside a .NET MVC project 🕸️

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

Overview

A plugin for flying inside a .NET MVC project

Features

  • Switch between controller and views
  • Determines the view name using Tree-Sitter
  • Creates the controller dir and file if doesn't exists

Installation:

Requires:

  • Neovim 5+
  • Tree-Sitter
  • Plenary

Using packer.nvim

use {
  'veyxov/mvc.nvim',
   requires = {
    'nvim-lua/plenary.nvim',
    'nvim-treesitter/nvim-treesitter'
   }
}

Using lazy.nvim

return {
  'veyxov/mvc.nvim',
   dependencies = {
    'nvim-lua/plenary.nvim',
    'nvim-treesitter/nvim-treesitter'
   }
}

Usage:

Switch between Controllers and Views require 'mvc'.Toggle()

TODO:

  • Default keybinds