git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Latest attempt to fix commit diffs.
[profile.git]
/
.vim
/
script
/
p4
diff --git
a/.vim/script/p4
b/.vim/script/p4
index
59e28a1
..
8b6ee16
100644
(file)
--- a/
.vim/script/p4
+++ b/
.vim/script/p4
@@
-37,12
+37,7
@@
fun! P4submit()
set buftype=nowrite
set bufhidden=hide
setlocal noswapfile
set buftype=nowrite
set bufhidden=hide
setlocal noswapfile
-
- " Change directory so "file [p4 diff]" doesn't try to cd somewhere.
- let l:cwd=getcwd()
- cd /
- file [p4 diff]
- cd l:cwd
+ file [p4 diff\]
" Switch back to the top window and put the cursor by the description.
wincmd k
" Switch back to the top window and put the cursor by the description.
wincmd k