|
|
| Line 1: |
Line 1: |
| − |
{{review}} |
|
| |
{{TipImported |
|
{{TipImported |
| |
|id=1084 |
|
|id=1084 |
| Line 9: |
Line 8: |
| |
|version=6.0 |
|
|version=6.0 |
| |
|rating=4/3 |
|
|rating=4/3 |
| − |
|category1= |
+ |
|category1=VersionControl |
| |
|category2= |
|
|category2= |
| |
}} |
|
}} |
| − |
When working in clearcase, it would be very useful to set the title of the window to the view from which we are opening gvim. |
+ |
When working in ClearCase, it would be very useful to set the title of the window to the view from which we are opening gvim. |
| |
|
|
|
| |
This is very helpful for developers with more than one view and one project open at the same time. |
|
This is very helpful for developers with more than one view and one project open at the same time. |
| |
|
|
|
| |
<pre> |
|
<pre> |
| − |
let &titlestring = expand("$CLEARCASE_ROOT") |
+ |
:set title |
| − |
echo expand("$CLEARCASE_ROOT") |
+ |
:let &titlestring = $CLEARCASE_ROOT |
| |
</pre> |
|
</pre> |
| |
|
|
|
| |
==Comments== |
|
==Comments== |
| − |
You must have done |
|
| − |
<pre> |
|
| − |
set title |
|
| − |
</pre> |
|
| − |
|
|
| − |
before setting the titlestring. |
|
| − |
|
|
| − |
---- |
|
| − |
You don't need to expand environment variables in this context, so the following will also work: |
|
| − |
<pre> |
|
| − |
let &titlestring = $CLEARCASE_ROOT |
|
| − |
</pre> |
|
| − |
|
|
| − |
---- |
|
Latest revision as of 06:07, January 9, 2011
When working in ClearCase, it would be very useful to set the title of the window to the view from which we are opening gvim.
This is very helpful for developers with more than one view and one project open at the same time.
:set title
:let &titlestring = $CLEARCASE_ROOT