skwp / dotfiles Goto Github PK
View Code? Open in Web Editor NEWYADR - The best vim,git,zsh plugins and the cleanest vimrc you've ever seen
Home Page: http://skwp.github.com/dotfiles
License: BSD 2-Clause "Simplified" License
YADR - The best vim,git,zsh plugins and the cleanest vimrc you've ever seen
Home Page: http://skwp.github.com/dotfiles
License: BSD 2-Clause "Simplified" License
Shift I should bring me to the beginning of the line in insert mode.
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
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)
Does this look like a good plugin?
I like the idea of it, but if it only works for c, and not d, v, y, etc that seems a little limiting.
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>
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.
Best ZSH plugin there is.
Doesn't work with these dots.
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]
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
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?)
Can we follow a snipmate-snippets fork that gets updated? The scrooloose one hasn't been updated in over a year and there are easy pending fixes waiting to be merged into it.
For instance: oivoodoo/snipmate-snippets@81d9279 is an easy fix I'd like to see brought in.
At some point during the day my MacVim clipboard stops working so I can't move stuff in and out of MacVim.
Nothing in register +
Any ideas?
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
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.
can't go to tag
I noticed that my colors in solarized.vim don't seem to be loaded correctly any longer. I have to re-source that file after everything is loaded in order to get the right colors.
,qc closes quickfix windows opened by ,qo , but not the quickfix window opened by syntastic.
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.
Not sure what's triggering this quite yet, but occasionally I lose syntax highlighting and get an error about xhtml.vim not being available.
It would be cool if you could provide https://github.com/zsh-users/zsh-syntax-highlighting with your fork of oh-my-zsh.
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/
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?
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
~/.vimrc.after
is sourced from the following places, which are both automatically included on launch:
This means any commands defined in that file error with E174: Command already exists: add ! to replace it
Is this deliberate, because I don't see an advantage of that file being sourced again?
Leave only essentials in the README and move things to wiki and vim docs
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......
When I use those commands nothing happens other than vim now telling me it's recording. I'm using the latest dotfiles.
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?
Maybe you need to push to the vim-ruby-conque repo? git submodule update
is broken.
https://github.com/skwp/vim-ruby-conque/tree/65d3da5b34a24f536dd611be8bdddba2785cb287
Kyle
Gone... What happened to it?
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
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?
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.
Keybindings for fast up and down dont work from recent change 10ce30d
we need set visualbell
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
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)
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 think neocomplcache may have interfered with snipmate tab completion. verify and fix
Brew's path is not included in the PATH environment variable in .zshrc
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
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
.
@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
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).
semicolon stoppped working. possibly due to space.vim plugin
without looking too much into the rakefile and the logic.
is it absolutely necessary to pull in all the requirements first and later ask whether to install/use yadr aspects [vim, git, etc.]?
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.