Permalink
Browse files

Removed MacVIM shift+arrow-keys behavior + Added vimrc.local file + R…

…emoved rails info from the statusline (weird bug)
  • Loading branch information...
1 parent b9e4bf2 commit b2821def98b7efd3b14db2fc7292c0eb2c9556b1 @pointcom committed Sep 5, 2011
Showing with 44 additions and 2 deletions.
  1. +1 −1 Rakefile
  2. +3 −1 vimrc
  3. +40 −0 vimrc.local
View
@@ -235,7 +235,7 @@ end
desc "link vimrc to ~/.vimrc"
task :link_vimrc do
- %w[ vimrc gvimrc ].each do |file|
+ %w[ vimrc gvimrc vimrc.local].each do |file|
dest = File.expand_path("~/.#{file}")
unless File.exist?(dest)
ln_s(File.expand_path("../#{file}", __FILE__), dest)
View
@@ -140,7 +140,7 @@ set directory=~/.vim/backup
let g:JSLintHighlightErrorLine = 0
" MacVIM shift+arrow-keys behavior (required in .vimrc)
-let macvim_hig_shift_movement = 1
+" let macvim_hig_shift_movement = 1
" % to bounce from do to end etc.
runtime! macros/matchit.vim
@@ -152,3 +152,5 @@ set showcmd
if filereadable(expand("~/.vimrc.local"))
source ~/.vimrc.local
endif
+
+let g:rails_statusline = 0
View
@@ -0,0 +1,40 @@
+" MapLeader
+let mapleader = ","
+
+" Comments
+:map <Leader>c :call NERDComment(0, "toggle")<CR>
+
+" Bubble single line
+nmap <C-Up> ddkP
+nmap <C-Down> ddp
+
+" Status Line
+"set statusline=%<%f\ %h%m%r%{rails#statusline()}\ %{fugitive#statusline()}
+set statusline=%<%f\ %h%m%r\ %{fugitive#statusline()}
+
+
+" Rspec
+" :map <Leader>s :!spec %<CR>
+
+" ZoomWin
+:map <Leader>z :ZoomWin<CR>
+
+" Scratch
+:map <Leader>s :Scratch<CR>
+
+
+" less is CSS
+au BufRead,BufNewFile *.less setfiletype css
+
+" let Ack search all files
+let g:ackprg="ack -H --nocolor --nogroup --column --all"
+
+" Taskpaper.vim mappings
+map <buffer> <silent> qpd <Plug>ToggleDone
+map <buffer> <silent> qpc <Plug>ShowContext
+map <buffer> <silent> qpa <Plug>ShowAll
+map <buffer> <silent> qpp <Plug>FoldAllProjects
+map <f6> :sp /Users/mfosse/SimpleText/Tigerlily.taskpaper<CR>
+
+
+" map <leader>p :MDP<CR>

0 comments on commit b2821de

Please sign in to comment.