Git Product home page Git Product logo

dotfiles's Introduction

 _     _           _
| |   | |         | |
| |___| |_____  __| | ____
|_____  (____ |/ _  |/ ___)
 _____| / ___ ( (_| | |
(_______\_____|\____|_|

# Yet Another Dotfile Repo v1.1
# Now with Prezto and Vundle!

Join the chat at https://gitter.im/skwp/dotfiles

Always be sure to run rake update after pulling to ensure plugins are updated

What is YADR?

YADR is an opinionated dotfile repo that will make your heart sing

  • The best bits of all the top dotfile repos, vim and zsh plugins curated in one place, into a simple and cohesive way of working.
  • More than 90 vim plugins, all under one roof, working together, each plugin researched and configured to be at its best, often with better shortcut keys.
  • Many zsh plugins, starting with the wonderful Prezto base, and adding a few niceties on top.
  • All things are vimized: irb, postgres command line, etc.

Linux/Ubuntu is not supported! If it works, great. If it doesn't, please don't complain. You may need to install zsh if you don't already have it. That being said, check the Docker section below

Mailing List

Got questions, concerns, want to hear announcements? Join the Google Group

Please use GitHub Issues for pull requests or bug reports only.

Screenshot

screenshot

Installation

To get started please run:

sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`"

Note: YADR will automatically install all of its subcomponents. If you want to be asked about each one, use:

sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`" -s ask

Wait, you're not done! Do this:

Install iTerm Solarized Colors

YADR will install Solarized colorschemes into your iTerm. Go to Profiles => Colors => Load Presets to pick Solarized Dark.

Remap caps-lock to escape with Karabiner-Elements

The escape key is the single most used key in vim. Old keyboards used to have Escape where Tab is today. Apple keyboards are the worst with their tiny Esc keys. But all this is fixed by remapping Caps to Escape. If you're hitting a small target in the corner, you are slowing yourself down considerably, and probably damaging your hands with repetitive strain injuries.

Set up a system wide hotkey for iTerm (Keys=>Hotkey)

Recommended Cmd-Escape, which is really Cmd-Capslock.

In iTerm, uncheck "Native full screen windows" on General

This will give you fast full screen windows that are switchable without switching to spaces.

in MacVim, uncheck "Prefer native full-screen support" under Advanced settings

Same as iTerm. The native spaces navigation slows everything down for no reason.

If you want to run vim in terminal

  • Make sure you install Solarized colorscheme in your terminal!

  • If you don't want to use solarized terminal, then make sure you do this:

    let g:yadr_using_unsolarized_terminal = 1
    # in ~/.vimrc.before
    
  • If you want to use an alternate colorcheme like Gruvbox, then in your ~/.vimrc.after do:

    let g:yadr_disable_solarized_enhancements = 1
    colorscheme base16-twilight
    

Upgrading

Upgrading is easy.

cd ~/.yadr
git pull --rebase
rake update

What's included, and how to customize?

Read on to learn what YADR provides!

Homebrew is the missing package manager for macOS. Installed automatically.

We automatically install a few useful packages including ctags, git, macvim, hub, and the silver searcher ('ag') Note that our autocomplete plugin requires a MacVim that supports Lua. The installer knows how to install it, but if you had one installed before, you may need to manually remove your old MacVim.

ZSH

Think of Zsh as a more awesome bash without having to learn anything new. Automatic spell correction for your commands, syntax highlighting, and more. We've also provided lots of enhancements:

  • Vim mode and bash style Ctrl-R for reverse history finder
  • Ctrl-x,Ctrl-l to insert output of last command
  • Fuzzy matching - if you mistype a directory name, tab completion will fix it
  • fasd integration - hit z and partial match for recently used directory. Tab completion enabled.
  • Prezto - the power behind YADR's zsh
  • How to add your own ZSH theme

Aliases

Lots of things we do every day are done with two or three character mnemonic aliases. Please feel free to edit them:

ae # alias edit
ar # alias reload

Git Customizations:

YADR will take over your ~/.gitconfig, so if you want to store your usernames, please put them into ~/.gitconfig.user

It is recommended to use this file to set your user info. Alternately, you can set the appropriate environment variables in your ~/.secrets.

  • git l or gl- a much more usable git log
  • git b or gb- a list of branches with summary of last commit
  • git r - a list of remotes with info
  • git t or gt- a list of tags with info
  • git nb or gnb- a (n)ew (b)ranch - like checkout -b
  • git cp or gcp- cherry-pick -x (showing what was cherrypicked)
  • git simple - a clean format for creating changelogs
  • git recent-branches - if you forgot what you've been working on
  • git unstage / guns (remove from index) and git uncommit / gunc (revert to the time prior to the last commit - dangerous if already pushed) aliases
  • Some sensible default configs, such as improving merge messages, push only pushes the current branch, removing status hints, and using mnemonic prefixes in diff: (i)ndex, (w)ork tree, (c)ommit and (o)bject
  • Slightly improved colors for diff
  • gdmb (g)it (d)elete (m)erged (b)ranches - Deletes all branches already merged on current branch

RubyGems

A .gemrc is included. Never again type gem install whatever --no-ri --no-rdoc. --no-ri --no-rdoc is done by default.

Tmux configuration

tmux.conf provides some sane defaults for tmux on Mac OS like a powerful status bar and vim keybindings. You can customize the configuration in ~/.tmux.conf.user.

Vimization of everything

The provided inputrc and editrc will turn your various command line tools like mysql and irb into vim prompts. There's also an included Ctrl-R reverse history search feature in editrc, very useful in irb, postgres command line, and etc.

Github Issues: ghi gem

We include the ghi command. Try ghi list and have fun managing issues from command line!

Vim - What's included?

A list of some of the most useful commands that YADR provides in vim are included below. This is not a comprehensive list. To get deeper knowledge, practice a few of these every day, and then start looking into the lists of plugins above to learn more.

Navigation

  • ,z - go to previous buffer (:bp)
  • ,x - go to next buffer (:bn)
  • Cmd-j and Cmd-k to move up and down roughly by functions (Alt in Linux)
  • Ctrl-o - Old cursor position - this is a standard mapping but very useful, so included here
  • Ctrl-i - opposite of Ctrl-O (again, this is standard)

Search/Code Navigation

  • ,f - instantly Find definition of class (must have exuberant ctags installed)
  • ,F - same as ,f but in a vertical split
  • ,gf or Ctrl-f - same as vim normal gf (go to file), but in a vertical split (works with file.rb:123 line numbers also)
  • gF - standard vim mapping, here for completeness (go to file at line number)
  • ,k - Search the current word under the cursor and show results in quickfix window
  • ,K - Grep the current word up to next exclamation point (useful for ruby foo! methods)
  • Cmd-* - highlight all occurrences of current word (similar to regular * except doesn't move)
  • ,hl - toggle search highlight on and off
  • ,gg or ,ag - Grep command line, type between quotes. Uses Ag Silver Searcher.
  • After searching with ,gg you can navigate the results with Ctrl-x and Ctrl-z (or standard vim :cn and :cp)
  • ,gd - Grep def (greps for 'def [function name]') when cursor is over the function name
  • ,gcf - Grep Current File to find references to the current file
  • // - clear the search
  • ,,w (alias ,<esc>) or ,,b (alias ,<shift-esc>) - EasyMotion, a vimperator style tool that highlights jump-points on the screen and lets you type to get there.
  • ,mc - mark this word for MultiCursor (like sublime). Use Ctrl-n (next), Ctrl-p (prev), Ctrl-x(skip) to add more cursors, then do normal vim things like edit the word.
  • gK - Opens the documentation for the word under the cursor.
  • Spacebar - Sneak - type two characters to move there in a line. Kind of like vim's f but more accurate.
  • :Gsearch foo - global search, then do your normal %s/search/replace/g and follow up with :Greplace to replace across all files. When done use :wall to write all the files.

File Navigation

  • ,t - CtrlP fuzzy file selector
  • ,b - CtrlP buffer selector - great for jumping to a file you already have open
  • Cmd-Shift-M - jump to method - CtrlP tag search within current buffer
  • ,jm jump to models. Other ,j mappings: ,jc for controllers, ,jh for helpers, etc. If you think of a concept and a letter, we've got you covered.
  • Cmd-Shift-N - NERDTree toggle (Alt in Linux)
  • Ctrl-\ - Show current file in NERDTree
  • Cmd-Shift-P - Clear CtrlP cache

Better keystrokes for common editing commands

  • Ctrl-Space to autocomplete. Tab for snipmate snippets.
  • ,# ," ,' ,] ,) ,} to surround a word in these common wrappers. the # does #{ruby interpolation}. works in visual mode (thanks @cj). Normally these are done with something like ysw#
  • Cmd-', Cmd-", Cmd-], Cmd-), etc to change content inside those surrounding marks. You don't have to be inside them (Alt in Linux)
  • ,. to go to last edit location (same as '.) because the apostrophe is hard on the pinky
  • ,ci to change inside any set of quotes/brackets/etc

Tabs, Windows, Splits

  • Use Cmd-1 thru Cmd-9 to switch to a specific tab number (like iTerm and Chrome) - and tabs have been set up to show numbers (Alt in Linux)
  • Ctrl-h,l,j,k - to move left, right, down, up between splits. This also works between vim and tmux splits thanks to vim-tmux-navigator.
  • Q - Intelligent Window Killer. Close window wincmd c if there are multiple windows to same buffer, or kill the buffer bwipeout if this is the last window into it.
  • vv - vertical split (Ctrl-w,v)
  • ss - horizontal split (Ctrl-w,s)
  • ,qo - open quickfix window (this is where output from Grep goes)
  • ,qc - close quickfix

Utility

  • Ctrl-p after pasting - Use p to paste and Ctrl-p to cycle through previous pastes. Provided by YankRing.
  • ,yr - view the yankring - a list of your previous copy commands. also you can paste and hit ctrl-p for cycling through previous copy commands
  • crs, crc, cru via abolish.vim, coerce to snake_case, camelCase, and UPPERCASE. There are more :help abolish
  • :NR - NarrowRgn - use this on a bit of selected text to create a new split with just that text. Do some work on it, then :wq it to get the results back.
  • ,ig - toggle visual indentation guides
  • ,cf - Copy Filename of current file (full path) into system (not vi) paste buffer
  • ,cn - Copy Filename of current file (name only, no path)
  • ,yw - yank a word from anywhere within the word (so you don't have to go to the beginning of it)
  • ,ow - overwrite a word with whatever is in your yank buffer - you can be anywhere on the word. saves having to visually select it
  • ,ocf - open changed files (stolen from @garybernhardt). open all files with git changes in splits
  • ,w - strip trailing whitespaces
  • sj - split a line such as a hash {:foo => {:bar => :baz}} into a multiline hash (j = down)
  • sk - unsplit a link (k = up)
  • ,he - Html Escape
  • ,hu - Html Unescape
  • ,hp - Html Preview (open in Safari)
  • Cmd-Shift-A - align things (type a character/expression to align by, works in visual mode or by itself) (Alt in Linux)
  • :ColorToggle - turn on #abc123 color highlighting (useful for css)
  • :Gitv - Git log browsers
  • ,hi - show current Highlight group. if you don't like the color of something, use this, then use hi! link [groupname] [anothergroupname] in your vimrc.after to remap the color. You can see available colors using :hi
  • ,gt - Go Tidy - tidy up your html code (works on a visual selection)
  • :Wrap - wrap long lines (e.g. when editing markdown files)
  • Cmd-/ - toggle comments (usually gcc from tComment) (Alt in Linux)
  • gcp (comment a paragraph)

Rails & Ruby

  • ,vv and ,cc to switch between view and controller - these are maps to :Rcontroller and :Rview. Explore the :R family of commands for more fun from rails.vim!
  • ,rs and ,rl to run rspec or a spec line in iTerm (check iTerm window for results)
  • ,ss and ,sl for the same using spring rspec which makes your Rails specs faster by caching the Rails env (must have spring gem installed)
  • vim-ruby-refactoring - try ,rem, ,rel to extract methods or let statements
  • Ctrl-s - Open related spec in a split. Similar to :A and :AV from rails.vim but is also aware of the fast_spec dir and faster to type
  • :Bopen [gem name] to navigate to a gem (@tpope/vim-bundler)
  • ,gcp - Grep Current Partial to find references to the current view partial
  • ,orb - outer ruby block. takes you one level up from nested blocks (great for rspec)

Vim Dev

  • ,vc - (Vim Command) copies the command under your cursor and executes it in vim. Great for testing single line changes to vimrc.
  • ,vr - (Vim Reload) source current file as a vim file

Extending and overriding YADR settings

Testing with Docker

We can use Docker to test some changes in a Linux Container.

Assuming your host system has Docker & Docker Compose properly installed, run:

docker-compose run dotfiles

This will build the container image if it never built it before (which may take a while -- future times will be faster) and then run a zsh session inside that container for you. There you can play around, test commands, aliases, etc.

Warning: this repo is primarily macOS oriented. So any support for Linux can only be done with the help of the community.

Misc

macOS Hacks

The macOS file is a bash script that sets up sensible defaults for devs and power users under macOS. Read through it before running it. To use:

bin/macos

These hacks are Lion-centric. May not work for other OS'es. My favorite mods include:

  • Ultra fast key repeat rate (now you can scroll super quick using j/k)
  • No disk image verification (downloaded files open quicker)
  • Display the ~/Library folder in finder (hidden in Lion)

Macvim troubles with Lua?

brew uninstall macvim
brew remove macvim
brew cleanup
brew install macvim --custom-icons --with-override-system-vim --with-lua --with-luajit

Terminal Vim troubles with Lua?

Installing terminal vim (with lua) with an RVM managed Ruby can cause the neocomplete plugin to segfault. Try uninstalling vim, then installing with system ruby:

brew uninstall vim
rvm system do brew install vim --with-lua

Pry offers a much better out of the box IRB experience with colors, tab completion, and lots of other tricks. You can also use it as an actual debugger by installing pry-nav.

Learn more about YADR's pry customizations and how to install

dotfiles's People

Contributors

alanyee avatar cap10morgan avatar dsimmons avatar duhanebel avatar fabiopelosin avatar fwfabio avatar giorni avatar gonzedge avatar ianks avatar jasonwbarnett avatar jby avatar jeanmertz avatar kylewest avatar lfilho avatar maletor avatar marioricalde avatar n0nick avatar nandalopes avatar nikolai-b avatar padi avatar petrushka avatar rafaelregis avatar sagmor avatar skwp avatar stevenbarragan avatar syqingyu avatar taybin avatar timstott avatar victormours avatar vovinacci 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  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

dotfiles's Issues

guitablabel may not be working

I set guitablabel to display numbers. When running that command by itself, everything works, however it doesn't appear to be loaded by default. Either something has overridden it, or possibly something is breaking on load and not allowing it to load fully

Warning message when opening a file in vim

When opening a file in vim, a warning message appears. Vim opens after the warning message.

~yadr master ✔ ➤ which vim
vim: aliased to /usr/local/Cellar/macvim/7.3-64/MacVim.app/Contents/MacOS/Vim

~yadr master ✔ ➤ vim vimrc
'import site' failed; use -v for traceback
Error detected while processing /Users/nfarring/.yadr/vim/bundle/vim-scripts-AutoTag/plugin/autotag.vim:
line 166:
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named os
Press ENTER or type command to continue

Font

I used to use Google Droid Sans Mono which was pretty sweet but I'm trying Inconsolta now. It's pretty ok.

Either way though, size 20 is way too big for any coding font. Unless you are blind this is quite unnecessary.

Clean up old symlinks in zsh/

@kylewest do you think we can get rid of the old symlinks? zsh/aliases, zsh/oh_my_zsh_zhrc? I'd rather get rid of them and not have old junk lyin around. Verify that this works with current Rake installer

Unknown function: GetSnippets

I get this every time I launch vim after upgrading:

Error detected while processing /Users/wmorgan/.yadr/vim/bundle/mikefarmer-snipmate/after/plugin/snipMate.vim:
line 37:
E117: Unknown function: GetSnippets
Press ENTER or type command to continue

which vim =>
vim: aliased to /usr/local/Cellar/macvim/7.3-64/MacVim.app/Contents/MacOS/Vim

Any idea what's going on there?

Objective-C Support

Any chance of getting some objective-c support with clang in vim? Something like: Clang Complete maybe some xcodebuild stuff? I'm doing alot more objc these days.

Remapping "I"

I am really enjoying this, and it has helped me transition to ZSH.

However, I'm having some trouble with your Vim defaults. I've spent a lot of time tracking down weird behavior, and it all has led me to the yard-keymaps.vim file.

I think it's pretty presumptuous to steal "I" (insert at start of line). This is a pretty basic vim command.

C-[h,j,k,l] are also very commonly remapped by vimrc's I've seen, including mine, to navigate splits, a la [h,j,k,l]

ShowMarks is no longer accessible

I am getting the following error when running the rake install command:

Cloning into 'vim/bundle/garbas-vim-showmarks'...
fatal: https://github.com/garbas/vim-showmarks/info/refs not found: did you run git update-server-info on the server?
Clone of 'https://github.com/garbas/vim-showmarks' into submodule path 'vim/bundle/garbas-vim-showmarks' failed
rake aborted!
Command failed with status (1): [git submodule update --init...]
/Users/eberry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rake/file_utils.rb:53:in `block in create_shell_runner'
/Users/eberry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rake/file_utils.rb:45:in `call'
/Users/eberry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rake/file_utils.rb:45:in `sh'
/Users/eberry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rake/file_utils_ext.rb:39:in `sh'
/Users/eberry/.yadr/Rakefile:48:in `block in <top (required)>'

I tried removing the showmarks section out of the .gitmodules but that doesn't seem to fix it. Any ideas?

Directories with 'blog' in their name are not recognized.

Hi there,

this is VERY weird. When I try to open a directory which contains the word 'blog' in its name vim does not recognize any files within it.

To reproduce this just create a dir named 'blog', put a file into it, cd into the directory and start mvim.

Is it just me, or is anyone else having this issue?

Kind regards,

Nils

map : to ;

was this removed or did I have it in my .after?

If it was removed, why? If it was never in, let's add it.

Kyle

Colored man pages

What about adding colored man pages to .zshrc

# Less Colors for Man Pages
export LESS_TERMCAP_mb=$'\E[01;31m'       # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m'  # begin bold
export LESS_TERMCAP_me=$'\E[0m'           # end mode
export LESS_TERMCAP_se=$'\E[0m'           # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;246m'    # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m'           # end underline
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline

source: http://linuxtidbits.wordpress.com/2009/03/23/less-colors-for-man-pages/

Git clone throwing 403

Hey while trying to clone skwp I get a 403 error from github. I'm not sure if this is a github issue or not.

first attempt:

git clone https://github.com/skwp/dotfiles ~/.yadr
Cloning into /Users/tcasselman/.yadr...
error: Failed connect to github.com:443; Operation timed out while accessing https://github.com/skwp/dotfiles/info/refs

second attemp:

git clone https://github.com/skwp/dotfiles.git ~/.yadr
Cloning into /Users/tcasselman/.yadr...
error: The requested URL returned error: 403 while accessing https://github.com/skwp/dotfiles.git/info/refs
fatal: HTTP request failed

rake install fails

Cloning into 'vim/bundle/garbas-vim-showmarks'...
fatal: https://github.com/garbas/vim-showmarks/info/refs not found: did you run git update-server-info on the server?
Clone of 'https://github.com/garbas/vim-showmarks' into submodule path 'vim/bundle/garbas-vim-showmarks' failed
rake aborted!
Command failed with status (1): [git submodule update --init...]
/Users/****/.yadr/Rakefile:48
(See full trace by running task with --trace)

Installer: better warnings for submodules that have been deleted

Here's an example from someone who had a bunch of local bundles that were not supposed to be part of yadr any more. We removed them from submodules but the dirs still hang around. The installer script should warn in this case and provide a command for user to run ("git clean -df" should probably do it)

~yadr master ✗ ➤ git status
# On branch master
# Your branch is ahead of 'origin/master' by 54 commits.
#
# Untracked files:
#   vim/bundle/garbas-vim-showmarks/
#   vim/bundle/joestelmach-javaScriptLint/
#   vim/bundle/kien-tabman/
#   vim/bundle/mikefarmer-snipmate/
#   vim/bundle/rson-vim-conque/
#   vim/bundle/skwp-vim-rspec/
#   vim/bundle/vim-scripts-taglist/
#   vim/snippets/
#   vim/vim
nothing added to commit but untracked files present

See also #63

Terminal Title doubled

Hi I just installed and everything went fine, but now in my term titlebar it lists the current dir twice with a double dash in between them. Anyone know how to fix this?

Solarized iTerm

Save as file and add to iTerm import colors.

So nice.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Ansi 0 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.19370138645172119</real>
        <key>Green Component</key>
        <real>0.15575926005840302</real>
        <key>Red Component</key>
        <real>0.0</real>
    </dict>
    <key>Ansi 1 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.14145714044570923</real>
        <key>Green Component</key>
        <real>0.10840655118227005</real>
        <key>Red Component</key>
        <real>0.81926977634429932</real>
    </dict>
    <key>Ansi 10 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.38298487663269043</real>
        <key>Green Component</key>
        <real>0.35665956139564514</real>
        <key>Red Component</key>
        <real>0.27671992778778076</real>
    </dict>
    <key>Ansi 11 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.43850564956665039</real>
        <key>Green Component</key>
        <real>0.40717673301696777</real>
        <key>Red Component</key>
        <real>0.32436618208885193</real>
    </dict>
    <key>Ansi 12 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.51685798168182373</real>
        <key>Green Component</key>
        <real>0.50962930917739868</real>
        <key>Red Component</key>
        <real>0.44058024883270264</real>
    </dict>
    <key>Ansi 13 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.72908437252044678</real>
        <key>Green Component</key>
        <real>0.33896297216415405</real>
        <key>Red Component</key>
        <real>0.34798634052276611</real>
    </dict>
    <key>Ansi 14 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.56363654136657715</real>
        <key>Green Component</key>
        <real>0.56485837697982788</real>
        <key>Red Component</key>
        <real>0.50599193572998047</real>
    </dict>
    <key>Ansi 15 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.86405980587005615</real>
        <key>Green Component</key>
        <real>0.95794391632080078</real>
        <key>Red Component</key>
        <real>0.98943418264389038</real>
    </dict>
    <key>Ansi 2 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.020208755508065224</real>
        <key>Green Component</key>
        <real>0.54115492105484009</real>
        <key>Red Component</key>
        <real>0.44977453351020813</real>
    </dict>
    <key>Ansi 3 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.023484811186790466</real>
        <key>Green Component</key>
        <real>0.46751424670219421</real>
        <key>Red Component</key>
        <real>0.64746475219726562</real>
    </dict>
    <key>Ansi 4 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.78231418132781982</real>
        <key>Green Component</key>
        <real>0.46265947818756104</real>
        <key>Red Component</key>
        <real>0.12754884362220764</real>
    </dict>
    <key>Ansi 5 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.43516635894775391</real>
        <key>Green Component</key>
        <real>0.10802463442087173</real>
        <key>Red Component</key>
        <real>0.77738940715789795</real>
    </dict>
    <key>Ansi 6 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.52502274513244629</real>
        <key>Green Component</key>
        <real>0.57082360982894897</real>
        <key>Red Component</key>
        <real>0.14679534733295441</real>
    </dict>
    <key>Ansi 7 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.79781103134155273</real>
        <key>Green Component</key>
        <real>0.89001238346099854</real>
        <key>Red Component</key>
        <real>0.91611063480377197</real>
    </dict>
    <key>Ansi 8 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.15170273184776306</real>
        <key>Green Component</key>
        <real>0.11783610284328461</real>
        <key>Red Component</key>
        <real>0.0</real>
    </dict>
    <key>Ansi 9 Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.073530435562133789</real>
        <key>Green Component</key>
        <real>0.21325300633907318</real>
        <key>Red Component</key>
        <real>0.74176257848739624</real>
    </dict>
    <key>Background Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.15170273184776306</real>
        <key>Green Component</key>
        <real>0.11783610284328461</real>
        <key>Red Component</key>
        <real>0.0</real>
    </dict>
    <key>Bold Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.56363654136657715</real>
        <key>Green Component</key>
        <real>0.56485837697982788</real>
        <key>Red Component</key>
        <real>0.50599193572998047</real>
    </dict>
    <key>Cursor Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.51685798168182373</real>
        <key>Green Component</key>
        <real>0.50962930917739868</real>
        <key>Red Component</key>
        <real>0.44058024883270264</real>
    </dict>
    <key>Cursor Text Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.19370138645172119</real>
        <key>Green Component</key>
        <real>0.15575926005840302</real>
        <key>Red Component</key>
        <real>0.0</real>
    </dict>
    <key>Foreground Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.51685798168182373</real>
        <key>Green Component</key>
        <real>0.50962930917739868</real>
        <key>Red Component</key>
        <real>0.44058024883270264</real>
    </dict>
    <key>Selected Text Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.56363654136657715</real>
        <key>Green Component</key>
        <real>0.56485837697982788</real>
        <key>Red Component</key>
        <real>0.50599193572998047</real>
    </dict>
    <key>Selection Color</key>
    <dict>
        <key>Blue Component</key>
        <real>0.19370138645172119</real>
        <key>Green Component</key>
        <real>0.15575926005840302</real>
        <key>Red Component</key>
        <real>0.0</real>
    </dict>
</dict>
</plist>

tagbar instead of taglist

Nice setup. You might want to look at using tagbar instead of taglist. Taglist hasn't been updated for almost five years now. Tagbar is a reimplementation with added features and is being updated regularly.

CodeRay token color error

Error loading /Users/maletor/.pryrc: CodeRay::Encoders could not load plugin :token_colors: /Users/maletor/.rvm/gems/ree-1.8.7-2012.02/gems/coderay-1.0.5/lib/coderay/encoders/token_colors.rb not found

I just checked out the latest version and I am still getting issues with garbas

Here's my error when running 'rake install':

Submodule 'vim/bundle/drewolson-ruby_focused_unit_test_vim' () registered for path 'vim/bundle/drewolson-ruby_focused_unit_test_vim'
Submodule 'vim/bundle/dterei-VimBookmarking' () registered for path 'vim/bundle/dterei-VimBookmarking'
Submodule 'vim/bundle/ecomba-vim-ruby-refactoring' () registered for path 'vim/bundle/ecomba-vim-ruby-refactoring'
No submodule mapping found in .gitmodules for path 'vim/bundle/garbas-vim-showmarks'
rake aborted!
Command failed with status (1): [git submodule update --init...]
/Users/eberry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rake/file_utils.rb:53:in `block in create_shell_runner'
/Users/eberry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rake/file_utils.rb:45:in `call'
/Users/eberry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rake/file_utils.rb:45:in `sh'
/Users/eberry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rake/file_utils_ext.rb:39:in `sh'
/Users/eberry/.yadr/Rakefile:48:in `block in <top (required)>'

Do i need to do some sort of clean command to ensure that it doesn't try to use the old module? I checked the whole .yadr directory and there is no mention of garbas.

Eric (@cavneb)

Cucumber step definitions are not recognized

When I am in a feature within a rails 3 app vim does not recognize my step definitions.

The feature file is located at features/some_folder/some_feature.feature, the step definitions are located at features/step_definitions/some_step_definitions.rb.

I am getting lots of warnings of the type Cucumber::Undefined in a quickfix window for alle the steps used in the feature. They are saying the steps are undefined, so something is wrong somewhere but I have not been able to figure out where.

osx file reversability

Okay - thanks up front for all the work, and sorry for the barrage........

The "osx" tweaks file is a good read - and has some interesting tweaks - I found I spent a lot of time undoing many of them.

A project some-day or for some-one might be to enhance that to check current settings first to see if they need tweaking, and to save them for restore later. Also - there is some commented out stuff in there that someone might be tempted to try anyway - a comment indicating why it's commented out or removing it entirely might be helpful...... (probably the former so others can help)

And at the very least, a yes/no when the file is run saying "Are you SURE you want to run this - experts only" or something......

yav / yadr vim-add-plugin stopped working

not sure if this is due to the auto_cd command or something?

first two commands do not work, but from inside the bin dir it does work. @kylewest any ideas?

~➤ yav
zsh: permission denied: yadr

~➤ yadr vim-add-plugin
zsh: permission denied: yadr

~yadr/bin/yadr master ✗ ➤ ./yadr-vim-add-plugin
Example: ./yadr-vim-add-plugin https://github.com/robgleeson/hammer.vim.git

~yadr/bin/yadr master ✗ ➤ ./yadr vim-add-lpugin
(works)

<I>

Shift I should bring me to the beginning of the line in insert mode.

hard code location of ~/.yadr

One time I wnated to start fresh so renamed ~/.yadr to something else and and re-installed yadr.
After a bit I realized the yadr-home detection mechanism was finding the .yadr file inside my renamed .yadr folder first, causing the old version to be used. A slightly more robust solution would be good (or a manual one?)

Fugitive Not Working?

I'm getting errors on a bunch of fugitive commands. Is this just me, or you too?

:Gstatus - works fine. stage changes then Shift-C and ...

Error detected while processing function <SNR>114_Commit:
line   48:
E480: No match: `=msgfile`     

:Gdiff also fails ...

Error detected while processing function <SNR>114_Diff:
line    6:
E480: No match: `=fugitive#buffer().repo().translate(s:buffer().expand(':2'))`   

Kyle

Set and use <Leader>?

Most of our maps are done like map ,jm :CtrlP app/models<CR>. Should we define leader in .vimrc and change them all to map <Leader>jm :CtrlP app/models<CR>? This would make it easier for those used to the default \ leader (they can set and use whatever leader they want).

Brew PATH

Brew's path is not included in the PATH environment variable in .zshrc

Rename submodules?

I'm having problems finding the plugins when browsing the repo on the file system. This is because they are named author-plugin instead of just plugin. I know there is an easymotion plugin, but not that that Lokaltog maintains it.

If you agree I think we should also drop vim- if it exists. So vim/bundle/tpope-vim-pathogen would become vim/bundle/pathogen.

assign issues to me?

Is there a way to assign issues to a user? I'd like to click something and see what I've committed to fix. Maybe create a "kylewest" label?

I think I should be working on #15 (pending your approval), #64 (related), #71 (related), #58, #59.

Upgrade process may be causing issues due to using mv & globbing

The initial install process, the [b]ackup options work fine - mv (renaming) the files to files.backup in the home folder.

On an upgrade, per the Readme........ the rake install tries this again and simply moves the symlinks that it previously installed, then linking the file again. The git merge should take care of this in theory - but it's confusing as a backup procedure, and prone to misunderstanding if you don't realize it's happening.

Doing the backup, via cp instead of mv, to a location outside the .yadr folder, prior to the git pull (and merge resolution, etc) would at least leave some backups in place. Perhaps a rake upgrade task?

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.