vim-projectionist
vim-projectionist copied to clipboard
projectionist.vim: Granular project configuration
I'd love to be able to specify a command to execute when switching to alternate/related files. something like `'alternate': 'FILEPATH:COMMAND'`, where `COMMAND` could make use of the `{}` expansion: \...
It happens when I save nvim session and then reload it. I use NVIM v0.10.0-dev-2016+g5dc0bdfe9, the latest version of projectionist (commit a57b9bf) and have the following config: ``` json "*.cc"...
So I just found out about `hyphenate` which turns `_` into `-` , is it possible to execute the transform in reverse and turn `-` into `_` ?
Hi, I want to thank you @tpope because I use your plugins everyday for the last 5 years. I just discovered that I can use some kind of rails quick...
I had a setup like that and it was perfect, ``` "lib/**/controllers/*_controller.ex": { "type": "controller", "alternate": "test/{dirname}/controllers/{basename}_controller_test.exs", "template": [ "defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize}Controller do", " use {dirname|camelcase|capitalize}, :controller", "end" ] } ```...
I couldn't find if this is supported but what I am trying to achieve is to provide common support for files with `ex` and `exs` extensions. I have tried `*.ex|*.exs`,...
I am wondering if and how global settings are supported. The following seems to work, but it is unclear if that's the way to go: ``` let g:projectionist_heuristics = {...
One of the side effects of Oct 30th change to JSON parsing is that the parser is more strict, which is great. Unfortunately for me, this exposed a syntax error...
Is it possible to transform something like `20191010212241-create-account.js` to `account.js`? I've tried a few transformations mentioned in the help, but couldn't get it there. Also tried regex in the file...
IMHO the vim settings `'wildignore'` (`'wig'`) and `'suffixes'` (`'su'`) are directory related options, not per file, per filetype or globally. For example, vim-vinegar takes them into account when viewing a...