Git Product home page Git Product logo

mirror.vim's People

Contributors

freyskeyd avatar idanarye avatar leigh-ols avatar zenbro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mirror.vim's Issues

Jump to directory when using :MirrorSSH

Great plugin! Would it be possible to have :MirrorSSH automatically jump to the directory as specified in the config?

For example, if config looks like this:

/home/user/work/project2:
  staging: project2@another_host:23//opt/project2

:MirrorSSH could do something like this:

ssh -p 23 -t project2@another_host "cd /opt/project2 && $SHELL"

Unable to see remote actions even after adding config file

I have installed the plugin on my Mac using Vundle. I have followed the installation instructions and also added the config file. When I run the ':MirrorConfigReload' nothing seems to happen
Also I dont remote action commands activated. Not sure what am I missing.

Add a "wildcard" like syntax to mirrors config

This is and idea I had in relation to the issue I just opened: #7

I was wondering if mirror.vim config could have a wildcard-like syntax which would match all projects in a directory. For example:

/home/user/projects/*:
    devel: username@some_host.local//some/workplace/*/src/*

Which effectively works for any project in that directory, for example /home/user/projects/ProjectA and works as if this existed in the config:

/home/user/projects/ProjectA:
    devel: username@some_host.loca//some/workplace/ProjectA/src/ProjectA

That would be pretty cool but I expect it to be hard to implement so this is probably a pretty big feature request.

Add :MirrorConfigReload command

Hello! It's me again to bother you.

I've written myself a small function that runs when I open project files that checks whether the project is already in the mirrors.yml file with readfile() and match() and if not it appends a rudimentary config for that particular project using writefile().

The issue is, your plugin does not recognize the fact that a new project has been added to my mirrors.yml and i have to restart vim in order for this to take effect.

Don't know how hard adding a :MirrorConfigReload command would be to implement but I think it's an essential feature.

YO!

Neovim Error

Hello I get this error on Neovim when using MirrorPush

I don't know why, I tired to update and reinstall but nothing change..

Erreur détectée en traitant function <SNR>6_JobHandler :
ligne   24 :
E121: Undefined variable: self
E15: Expression invalide : self.type . ' failed'
ligne   25 :
E121: Undefined variable: self
E116: Arguments invalides pour la fonction has_key(self, 'stderr')
E15: Expression invalide : has_key(self, 'stderr')
ligne   28 :
E121: Undefined variable: message
E15: Expression invalide : message%

Add support for using tpope/vim-dispatch for running scp commands

Hi,

I'm loving this plugin but I do find the messages from scp annoying and distracting. I could really incorporate it into my workflow if it was less obtrusive. For that reason I would like to request support for running the scp commands with Dispatch! from tpope/vim-dispatch rather than using !. Like here.

I would love to just wrap your commands like MirrorPush in Dispatch but unfortunately it only works for external commands, not vim commands.

Cheers,
Jacob

Automatically read git-config?

Hey there,

nice Plugin you got here!
I've been wondering: Is it possible to read the remote targets from the git-directory?
So this way we wouldn't have to configure it twice.

Kind regards.

Is it possible to always push?

Hi! Thanks for writing this!!

I'm in a slightly different pickle, in that I need to be able to edit files locally but execute them remotely over and over again. Mostly I just use vi/vim on remote VM, but it'd be nice to be able to have it always push on save of a file. Possible? Easy?

Using mirror.vim to save both locally and in staging at the same time.

So my plan is to essentially live edit my local and staging branch at the same time. At this time, I will also be keeping a gulpfile with browser to load my site when changes are made and in this way I can live the staging site locally.

Therefore, my question is, how can I use mirror.vim to save both locally and in staging?

The g:mirror#config_path setting does not accept '~', requires absolute path

I just started playing with mirror.vim and I really like it but I wasted like 10 minutes trying to figure out why my configuration was not being loaded. And that was because my config looked like this:

let g:mirror#config_file = '~/.config/nvim/mirrors.yml'

Only after I changed that to an absolute path it started to work. Just a small nitpick that might annoy new users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.