def vimify(arg):
    """
    Convert to string for vim, handles corner cases:
    - if arg is None, empty string is returned.
    """
    if arg is None:
        return ''
    else:
        return repr(arg)
