https://github.com/nviennot/zsh-vim-plugin
https://github.com/nviennot/zsh-vim-plugin
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nviennot/zsh-vim-plugin
- Owner: nviennot
- Created: 2012-05-14T22:44:55.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-08-07T05:09:33.000Z (over 9 years ago)
- Last Synced: 2025-04-04T10:39:08.985Z (8 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 20
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- 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))
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/vim
Then 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`.