CPVim

CPVim Used AI

2 devlogs
4h 50m
•  Ship certified
Created by kashsuks

While the name is a bit misleading since it talks about Vim, CPVim is a plugin that allows you to use create and use templates in neovim

Timeline

In these sessions, I realized that my project is actually heavily dependent on my other project called CPCli. And so i rewrote stuff and removed a bunch of other stuff in order to not make it dependent anymore

Ship 1

0 payouts of shell 0 shells

kashsuks

21 days ago

kashsuks Covers 1 devlog and 3h 20m

In this MASSIVE session(s), I made the whole app as it is currently. I first had to research more about the nvim and vim api in order to understand how to do split tab functionality. Then I started on the plugin itself. I first tried to use JSON and other packages in Lua through luarocks but deemed it to be too complicated for the user, so I decided to make my own JSON parser. The reason I needed to use JSON in the first place was so that I can branch off easily from CPCli. Since most of my data and testing was already done in CPCli (my other project) I could just use the same files and same data from CPVim. I added a dashboard feature that takes info from the config and streak.json files. I also added a similar feature to the --use flag in CPCli. This feature allows you to use a template in a certain file. If you use the command while not already in a file, it just takes the name of template, appends Main to it and puts the according extension.

Update attachment