Skip to content

Commit

Permalink
Add new command for switching to file in directory above current one
Browse files Browse the repository at this point in the history
  • Loading branch information
timmow committed Aug 30, 2011
1 parent c332f4c commit 09af906
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions _vimrc
Expand Up @@ -234,3 +234,7 @@ set hl+=l:IncSearch
nmap <F8> :set hls!<bar>set hls?<CR> nmap <F8> :set hls!<bar>set hls?<CR>
nmap `n :tabn<CR> nmap `n :tabn<CR>
nmap `p :tabp<CR> nmap `p :tabp<CR>
" Command will cd to the same file in a directory above the current. Useful
" for comparing release branch to trunk when in separate checkouts
command -nargs=1 Eother exec 'edit '. '../' . substitute(expand('%:p'), getcwd(), <q-args>, '')
2 changes: 1 addition & 1 deletion vimfiles/bundle/pathogen

0 comments on commit 09af906

Please sign in to comment.