Git Product home page Git Product logo

swim's People

Contributors

dawsbot avatar kawakami-o3-2nd 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

Watchers

 avatar  avatar  avatar  avatar  avatar

swim's Issues

delete error handling

  • If deleting active, set active to main
  • If you try to delete an alias that does not exist, throw error

Colors

  • install coloring
  • show active on swim ls with green
  • show red when error happens

swim rename

change alias names from input 1 to input 2. In case I wanted to rename an alias

oldvimrc cyclical symlink

Get the file that the inode points to and move that into oldvimrc.vim instead of the current method. The current method creates an infinite cycle of pointing to itself if the oldvimrc was already a symlink to oldvimrc.

example

The current method throws error if:

swim with oldvimrc
swim add <anyfile> <any alias besides oldvimrc>
swim with oldvimrc #Throws error

Install

  • Check for npm upon install before calling npm install
  • Don't download chalk if it already exists
  • Print version on install

npm install

Investigate if an npm install method for swim is feasable (in addition to to the curl download option already supported).

This would be especially nice because npm supports versioning and updating far better than swim's current swim update command does.

readme improvement

  • gif
  • Remove triple tics from code usage comment
  • Place line breaks every five usages (hard to read)
  • Explain swim file location
  • Explain swim file editing
  • update usage
  • swim update
  • changelog
  • license

swim ls

When there are no aliases, it should print out an error and exit

vimscript plugin

Currently swim is only executable from the command line. It would be nice to have a :swim with <alias> command from within vim which triggers a live reload.

swim mv

move an alias from one name to another

Emacs support

May break backwards compatability with swim for vim

Change default blue vimrc

Make it something far less annoying than colorscheme blue.

  • Something noticeable (line numbers?)
  • Something that attibutes swim in a vim echo statement and comment in the vimrc

swim gh && swim github command

Set a hook which opens the github swim repo in browser. Using:

python -mwebbrowser https://github.com/dawsonbotsford/swim

swim add from url

do a curl in the backend on behalf of the user into an alias if the path to add is not local.

Vim distribution support is not proper (As per my understanding)

[I'm the same person, who opened an issue about neovim support. That was my official id, I accidentally opened a github issue from it.]

What doesn't work ?

  • keyboard shortcuts, for example, Ctrl-P is not working in spf13. May be, if I installed this as a second distribution.
  • I need more testing... to confirm other cases.

Vim distribution means a with a set of pluggins and a .vimrc file. The package manager and some plugins are already configured.

This will be helpful to people who is seriously lacking in time to configure all plugins and other settings.

Or, in other words, vim pre-configured vim, just install and use.

I will list few of popular vim-distributions

https://vim.spf13.com/ (https://gist.github.com/SantoshSrinivas79/84bc4dc821fd0a453706)
https://github.com/bling/dotvim
https://github.com/carlhuda/janus
https://github.com/astrails/dotvim
https://github.com/vitaly/dotvim2
http://skwp.github.io/dotfiles/
http://vim.liuchengxu.org/ (https://github.com/liuchengxu/space-vim)
https://github.com/amix/vimrc
https://github.com/rust-lang/rust.vim
https://github.com/sheerun/vim-polyglot
http://moelove.info/vim/ (https://github.com/tao12345666333/vim)
https://github.com/wklken/vim-for-server
https://github.com/skywind3000/vim
https://github.com/chxuan/vimplus

I don't say, we should support all these list. But, It would be much better, if we can make swim work in good condition for at least top 2 in this list.

swim vim | edit

Open up the alias that the user wants to edit in the default editor

installation failed

npm ERR!     at doWrite (_stream_writable.js:223:10)
npm ERR!     at writeOrBuffer (_stream_writable.js:213:5)
npm ERR!     at EncryptedStream.Writable.write (_stream_writable.js:180:11)
npm ERR!     at write (_stream_readable.js:583:24)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

npm ERR! System Linux 4.4.0-97-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--global" "chalk-cli"
npm ERR! cwd /home/sunxd
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/sunxd/npm-debug.log
npm ERR! not ok code 0

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.