Fix missing slashes in short dir.
[profile.git] / .vim / plugin / jdaddy.vim
1 " plugin/jdaddy.vim
2 " Author: Tim Pope <http://tpo.pe/>
3
4 if exists("g:loaded_jdaddy") || v:version < 700 || &cp
5   finish
6 endif
7 let g:loaded_jdaddy = 1
8
9 xnoremap <expr>   ij jdaddy#inner_movement(v:count1)
10 onoremap <silent> ij :normal vij<CR>
11 xnoremap <expr>   aj jdaddy#outer_movement(v:count1)
12 onoremap <silent> aj :normal vaj<CR>
13
14 nnoremap <silent> gqij :exe jdaddy#reformat('jdaddy#inner_pos', v:count1)<CR>
15 nnoremap <silent> gqaj :exe jdaddy#reformat('jdaddy#outer_pos', v:count1)<CR>
16 nnoremap <silent> gwij :exe jdaddy#reformat('jdaddy#inner_pos', v:count1, v:register)<CR>
17 nnoremap <silent> gwaj :exe jdaddy#reformat('jdaddy#outer_pos', v:count1, v:register)<CR>
18
19 " vim:set et sw=2: