Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nviennot/zsh-vim-plugin
https://github.com/nviennot/zsh-vim-plugin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nviennot/zsh-vim-plugin
- Owner: nviennot
- Created: 2012-05-14T22:44:55.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-08-07T05:09:33.000Z (almost 8 years ago)
- Last Synced: 2024-01-25T17:34:11.403Z (4 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 20
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - vim-plugin - Allows you to do `vim filename:123` to open a file with the cursor at a specific line. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - vim-plugin - Allows you to do `vim filename:123` to open a file with the cursor at a specific line. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - vim-plugin - Allows you to do `vim filename:123` to open a file with the cursor at a specific line. (Plugins / Zinit (née zplugin))
- awesome-zsh-plugins - vim-plugin - Allows you to do `vim filename:123` to open a file with the cursor at a specific line. (Plugins / ZSH on Windows)
README
Vim Plugin for zsh
===================Introduction
-------------Sometimes, we want to open a file at a specific line number. Following the
cucumber syntax `features/story.feature:123`, this plugin allows you to do so
in an easy way.This plugin allows you to type:
vi file:123
This will open the `file` at line `123`.
Installation
------------oh-my-zsh
---------
Clone the repository:cd ~/.oh-my-zsh
git submodule add git://github.com/nviennot/zsh-vim-plugin.git plugins/vimThen edit your `.zshrc` and add vim to the plugin list.
zgen
----Add `zgen load nviennot/zsh-vim-plugin` to your `.zshrc` file in the same function you're doing your other zgen load calls in. Zgen will handle automatically cloning the plugin for you the next time you do a `zgen save`.