Commit graph

22 commits

Author SHA1 Message Date
Dan Croak
b0ac70898a Use bundler.vim
Includes features such as:

* `:Bundle`, which wraps `bundle`.
* An internalized version of `bundle open`: `:Bopen` (and `:Bsplit`,
  `:Btabedit`, etc.).
* `'path'` and `'tags'` are automatically altered to include all gems
  from your bundle.  (Generate those tags with
  [gem-ctags](https://github.com/tpope/gem-ctags)!)
* Highlight Bundler keywords in `Gemfile`.
* Support for `gf` in `Gemfile.lock`, plus syntax highlighting that
  distinguishes between installed and missing gems.
2013-04-09 10:53:18 -07:00
Greg Lazarev
96249050bd Add a config line required by vundle 2013-04-08 23:29:14 -07:00
Greg Lazarev
a666267322 Move .vimrc.local to the bottom of .vimrc
Having this file be sourced last allows user to
overwrite the configs in `.vimrc` without having to modify it.

* fixed file's path to work with `filereadable`
2013-04-03 21:56:27 -07:00
Greg Lazarev
b9d216a7de Extract rspec vim bindings to thoughtbot/vim-rspec 2013-04-02 21:00:40 -07:00
Dan Croak
b0ab55d50d Rename current file in vim buffer
* Retain relative path.
* Save file.
* Do not keep old file open in buffer.

Usage:

    :e old_file_name.rb
    :Rename new_file_name.rb
2013-03-08 16:50:47 -08:00
Gabe Berke-Williams
1f4e6d1370 Use ag instead of ack
https://github.com/ggreer/the_silver_searcher

* ag is faster than ack
* ag searches all files by default (but still ignores gitignored files). This
  removes the need for ack's `--type-add=` options.
* The command is 33% shorter than ack!
2013-03-01 23:28:36 -05:00
Dan Croak
9f9a577408 Bundle Ctrl+P
Full path fuzzy file, buffer, mru, tag, ... finder for Vim.
https://github.com/kien/ctrlp.vim
2013-01-28 23:50:26 -08:00
Dan Croak
17b174e8fc Bundle Github color scheme
Fixes https://github.com/thoughtbot/dotfiles/issues/79
2013-01-17 21:53:33 -08:00
Joe Ferris
7adb1160a9 Easier editing for Markdown files
* Automatically enable spellchecking
* Automatically wrap at 80 characters
2012-12-05 13:00:34 -05:00
Dan Croak
80b77cdefc Run specs directly from vim
* Run current spec file.
* Run spec nearest cursor.
* Run last spec that was run.
* Convert s alias to s script, use Zeus if present.
2012-11-19 09:04:34 -08:00
Dan Croak
126344c3cb Install Vundle
* Set up Vundle in vimrc.
* Delete old copies of vim scripts.
* Bundles are automatically set up as referenced submodules.
* Ignore .netrwhist files given presence of submodules.
* Set up vundle in install script.
2012-11-16 10:00:33 -08:00
Joe Ferris
84ce5cc1ba Improve Markdown integration
* Default Vim configuration detects .md files as modula
* Replaces default config so that .md is detected as markdown

Resolves #71.
2012-11-14 13:51:11 -05:00
Dan Croak
9b3e09e962 Switch between the last two files 2012-11-10 17:50:08 -08:00
Christian Schlensker
5a4eb4661b Implement a smarter tab completion function
Credit: Gary Bernhardt
2012-11-10 15:34:01 -08:00
Dan Croak
675f4d808a Map Leader to Space
Many others map Leader to ,. However, , is a built-in command which repeats the
last character find backwards, which can be quite useful.
2012-10-31 22:46:58 -07:00
Dan Croak
c7efed4f0c Fix tab completion
* Add mapping for tab completion so Ctrl+P isn't necessary.
* Add a mapping to re-index ctags quickly from vim.
* Add explaining comment to Tlist.
2012-10-24 21:36:56 -07:00
Gabe Berke-Williams
61222a432e Direct link to why we set noswap 2012-10-15 15:36:51 -04:00
Dan Croak
6c9bdf8f69 Tell vim to not create swap files 2012-09-22 19:32:22 -07:00
Dan Croak
de071e9c34 switch to github vim color scheme 2011-12-04 14:51:53 -05:00
Gabe Berke-Williams
d57e4509e9 Add :Cuc 2011-07-25 13:44:56 -04:00
Dan Croak
f93e665cbb allow backspacing in vim. this isn't a police state. 2011-03-25 01:10:08 +08:00
Joe Ferris
b291659f29 Vim configuration 2011-01-13 17:54:08 -05:00