Content License

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.

 
Home Content Setting the window title for GVim

Setting the window title for GVim

Posted by tibi at Nov 05, 2010 05:42 PM |

One recent annoyance I had was that I couldn't recognize the multiple GVIM windows opened on the taskbar. Their title usually said "NERDTree", or "configure.zcml", which is not at all significant to me. Some searching led me to this solution

:set title titlestring=Some significant string

My workflow, lately, consists of opening a gvim window, running:

:cd ~/work/project

and there I hit ctrl+f to open the NERDTree window, already preselected on the project folder. It works very well, it feels very much like a project. Now, if only I could also change the title from this step... well, that's a good idea for a plugin. I might try to create it.

Document Actions