Skip to main content

July 2011

Vim function GetProjectForFile()

Posted in

function! GetProjectForFile(filePath)
    if a:filePath == ""
        return ""

    " read projects file
    for sLine in readfile(g:projectFile)

Switching between .cpp and .h in vim

Posted in

When navigating through source code it is really nice to be able to jump from your source file to its header and vice verse.