Giter Site home page Giter Site logo

Comments (2)

jjssto avatar jjssto commented on May 20, 2024

I can't seem to find any plugin like this for Vim. Is there one, or could this be ported to vim/neovim?

@pianocomposer321 Something similar can be achieved with a few line of code in the vimrc/init.vim file. The function GetSkeleton(template) on line 69 in my config file opens a template (which is saved in ~/.config/nvim/templates). This function then gets called by autocmnd when a file with a corresponding file ending is opened (line 118-123). https://github.com/jjssto/Config/blob/master/nvim/init.vim

from file-templates.

pianocomposer321 avatar pianocomposer321 commented on May 20, 2024

@jjssto I apologize, I wasn't looking for a boilerplate file but an entire boilerplate file structure, like what this VSCode extension does. I didn't realize when I created this issue that that is all that this atom plugin does.

Anyway, I've created my own plugin for vim that does what I want. Here's the repo if you're interested: https://github.com/pianocomposer321/project-templates.nvim

from file-templates.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.