All Projects → dawsbot → swim

dawsbot / swim

Licence: MIT license
🏊‍♀️ Switch between multiple vimrc files

Programming Languages

shell
77523 projects
Vim Script
2826 projects

Projects that are alternatives of or similar to swim

Dotfiles
Well documented awesome dotfiles 😍 Many neovim lua configs, handy zsh/bash functions, fzf functions + more
Stars: ✭ 64 (-20%)
Mutual labels:  vimrc, bash-script
mysql-user-db-creator-bash-script
Script to create a mysql database, user and password with just a command
Stars: ✭ 24 (-70%)
Mutual labels:  bash-script
Vimconf
Extensive vimrc with super easy install and everything in the vimrc is explained!
Stars: ✭ 175 (+118.75%)
Mutual labels:  vimrc
Alpine Vim
"dockerized" Vim
Stars: ✭ 242 (+202.5%)
Mutual labels:  vimrc
Init.nvim
An Opinionated Neovim Config for the Minimalists
Stars: ✭ 194 (+142.5%)
Mutual labels:  vimrc
Space Vim
🍀 Lean & mean spacemacs-ish Vim distribution
Stars: ✭ 2,785 (+3381.25%)
Mutual labels:  vimrc
Vim Bootstrap
Vim Bootstrap is a generator that provides a simple method of generating a configuration for vim / neovim.
Stars: ✭ 1,870 (+2237.5%)
Mutual labels:  vimrc
gh-token
Create an installation access token for a GitHub app from your terminal 💻
Stars: ✭ 154 (+92.5%)
Mutual labels:  bash-script
radeon-scripts
Scripts to manage various aspects of the AMD line of cards in Linux
Stars: ✭ 39 (-51.25%)
Mutual labels:  bash-script
Legolas Vim
Vim配置,为python、go开发者打造的IDE。
Stars: ✭ 232 (+190%)
Mutual labels:  vimrc
Vimrc Config
re-vim: sensible vim configuration
Stars: ✭ 212 (+165%)
Mutual labels:  vimrc
Vim Mix Format
Vim integration for the Elixir formatter.
Stars: ✭ 196 (+145%)
Mutual labels:  vimrc
dotfiles
⚫️ ~ is where the ♥ is - my dotfiles.
Stars: ✭ 94 (+17.5%)
Mutual labels:  vimrc
Alacritty Colorscheme
Change colorscheme of alacritty with ease.
Stars: ✭ 184 (+130%)
Mutual labels:  vimrc
vim-config
No description or website provided.
Stars: ✭ 83 (+3.75%)
Mutual labels:  vimrc
Nvcode
An IDE layer for Neovim with sane defaults. Completely free and community driven.
Stars: ✭ 6,714 (+8292.5%)
Mutual labels:  vimrc
Dotfiles
My vim, zsh, tmux, and macOS dotfiles
Stars: ✭ 209 (+161.25%)
Mutual labels:  vimrc
Dotvim
My vim config
Stars: ✭ 246 (+207.5%)
Mutual labels:  vimrc
navim
A full-blown IDE based on Neovim (or Vim) with better navigation.
Stars: ✭ 16 (-80%)
Mutual labels:  vimrc
bash-framework
◼️ speed up your shell script development and add a modern look and feel (alpha version) ✨ 💫
Stars: ✭ 21 (-73.75%)
Mutual labels:  bash-script

swim logo

switch vimrc files instantly


Demo

demo fig


Why

Trying out and switching vimrc's shouldn't be hard. It shouldn't require several mv's combined with a wget. Most importantly, it shouldn't stop you from always having the perfect vim configuration so you can be efficient.

swim add vimrc's directly from the internet

or locally and alias your vimrc's with names that are easy to remember. Swim entirely replaces the need for per-directory vimrc's, headers, and external vimrc configs.

Install

Backup your files before swimming

curl -s https://raw.githubusercontent.com/dawsonbotsford/swim/master/install | bash

Examples

  swim add ~/dotfiles/myVimrc favorite    #Add new swim alias
  swim ls                                 #Show available swim aliases
  swim add https://raw.githubusercontent.com/dawsonbotsford/swim/master/exampleVimrcs/vimrcWikia.vim example
  swim with favorite         #Set alias favorite as primary .vimrc
  swim with main             #Set alias main as primary .vimrc

Update

swim update       #Update to the newest version of swim

Available Commands

swim add <URLToRaw or pathToFile>  <alias>   #Add a swim alias
swim with <alias>                            #Change active vimrc file
swim ls                                      #List aliased vimrc files
swim active                                  #Show currently aliased vimrc
swim vim <alias>                             #Edit the vimrc stored at alias

swim mv <alias1> <alias2>                    #Rename alias (like Linux mv)
swim rm <alias>                              #Delete an alias entirely
swim update                                  #Download newest version
swim version                                 #Print version
swim help                                    #Print this message

FAQ

  • Where does swim store my vimrc files?
    • swim stores your vimrc files in ~/.swim. You can edit the vimrc files with swim vim <alias> or edit them manually from their file location.

  • Can I set a custom executable location?
  • Yes, the default install location of the swim executable is /usr/local/bin, but if you would like a custom location, simply set the environmental variable named usrDir.
  • Example: export usrDir="/usr/sbin" (That only needs to be set for when you perform the swim install. So no need to set this in your bashrc or zshrc)

  • Does swim support emacs?
    • No, but pull requests are always welcome :)

  • Can I call swim within vim?
    • It may be possible to hack together a several command :! solution at the moment, but there is not a supported method.

Requirements

  • node.js and npm (to auto-install chalk-cli)

Changelog

  • 0.4.0: Custom executable install location
  • 0.3.2-prelaunch: Prelaunch Beta Testing
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].