Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 4 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
Showing with 26 additions and 4 deletions.
  1. +9 −0 .gitmodules
  2. +2 −1 README
  3. +1 −0 vim/bundle/vim-fugitive
  4. +1 −0 vim/bundle/vim-git
  5. +1 −0 vim/bundle/vim-rails
  6. +12 −3 vimrc
View
9 .gitmodules
@@ -0,0 +1,9 @@
+[submodule "vim/bundle/vim-rails"]
+ path = vim/bundle/vim-rails
+ url = https://github.com/tpope/vim-rails.git
+[submodule "vim/bundle/vim-fugitive"]
+ path = vim/bundle/vim-fugitive
+ url = https://github.com/tpope/vim-fugitive.git
+[submodule "vim/bundle/vim-git"]
+ path = vim/bundle/vim-git
+ url = https://github.com/tpope/vim-git.git
View
3 README
@@ -1,3 +1,4 @@
my dotfiles
-vim config based on the smash into vim peepcode screencast and ryanb's vimrc (http://github.com/ryanb/dotfiles/blob/master/vimrc)
+to update the submodules (vim bundles) run
+ git submodule foreach git pull origin master
1 vim/bundle/vim-fugitive
@@ -0,0 +1 @@
+Subproject commit b978d9f0bebc2e50a68beafd80675c50253d0eca
1 vim/bundle/vim-git
@@ -0,0 +1 @@
+Subproject commit 191535e27bf4ff6c7c2757522c361c78891a3078
1 vim/bundle/vim-rails
@@ -0,0 +1 @@
+Subproject commit 6ed3d4fbcfc2642535ff3934de93128648cb6f51
View
15 vimrc
@@ -52,8 +52,16 @@ nnoremap j gj
nnoremap k gk
+let mapleader = ","
+
+" Shortcut to rapidly toggle `set list`
+nmap <leader>l :set list!<CR>
+
+" Use the same symbols as TextMate for tabstops and EOLs
+set listchars=tab:\ ,eol:¬
+
+set pastetoggle=<F2>
-"let mapleader = ","
" Tab mappings.
map <leader>tt :tabnew<cr>
@@ -118,7 +126,8 @@ endif
if &t_Co > 2 || has("gui_running")
" Enable syntax highlighting
syntax on
- colorscheme railscasts
endif
-
+if &t_Co >= 256 || has("gui_running")
+ colorscheme railscasts
+endif

No commit comments for this range

Something went wrong with that request. Please try again.