prion

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

Prion

A package manager for vim, designed for use with pathogen

Installation
Homebrew
brew install Jefferson-Faseler/taps/prion
Go install
go get -u github.com/Jefferson-Faseler/prion
cd $GOPATH/src/github.com/Jefferson-Faseler/prion
go install .
Usage

Prion is designed to work like any other package manager from the cli

Adding a package

This will work for either https or ssh remote urls

prion install [repo-urls]
Updating
prion update [package names]

or

prion update --all
Reinstalling
prion reinstall [package names]

or

prion install [repo-urls]
# and confirm in prompt
Removing
prion rm [package names]
Listing
prion ls
Editing .vimrc
prion config add [configuration string]

Ex: prion config add "set autoindent"

Opening .vimrc

Open your .vimrc in your default editor if set, otherwise it will open it in vim.

prion config edit
What it does

At it's core, prion is simplifying the normal pathogen method of cloning into ~/.vim/bundle/ and then over time updating the packages as you go.

Prion also offers an easier way to update your .vimrc configuration. In a normal workflow, you are constantly opening, editing, saving, and reloading your vim editor to make and check changes. Prion cuts that cycle into two steps for most cases.

Overriding defaults

Prion is looking for two env variables you may have set:

  • VIMRC_PATH (defaults to $HOME/.vimrc)
  • VIM_BUNDLE_DIR (defaults to $HOME/.vim/bundle)

To override defaults you can you can export the vars, in-line them, or make a .prion.env in your home directory.

Contributing

Knock yourself out

Documentation

Overview

Copyright © 2020 Jefferson Faseler

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
Package cmd was generated from Cobra
Package cmd was generated from Cobra
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL