Menu

gitpiper

Projectionist Cheat Sheet in November 2022

Last Updated: 26 November 2022

README.md

/* .projectionist.vim */
{
  "app/assets/react/components/*.jsx": {
    "type": "component",
    "template": [
      "import React from 'react'",
      "export default {} = React.createClass({ ... })"
    ]
  }

Available options

{
  "lib/*.rb": {
    "type": "lib", /* enables :Elib */
    "alternate": "test/{}_spec.rb", /* for :A */
    "template": [ ... ],

    "path": "include", /* for `gf` i think */

    "console": "node", /* for :Console */
    "dispatch": "node", /* for :Dispatch (dispatch.vim) */
    "start": "rails server", /* for :Start (dispatch.vim) */
    "make": "node", /* for makeprg */
  }
}

Commands

Command Description
:A Edit alternate
:A {file} Edit file
--------- -------------
:AS Edit in split
:AV Edit in vsplit
:AT Edit in tab
--------- -------------
:AD Replace with template
--------- -------------
:Cd cd to root
:Cd {path} cd to path in root
:Lcd cd to root using :lcd
--------- -------------
:ProjectDo {cmd} run command in root
{:.shortcuts}

See vim-projectionist.


338+ more cheat sheets for you in November 2022

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️

© 2022 GitPiper. All rights reserved

Rackpiper Technology Inc

Company

About UsBlogContact

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️