break;
case HINTS_PROCESS_YANK:
- /* TODO not implemented */
a.i = COMMAND_YANK_PRIMARY | COMMAND_YANK_SECONDARY;
a.s = g_strdup(uri);
command_yank(&a);
g_free(a.s);
- /* TODO add a command that do the mode switching instead */
- vp_set_mode(VP_MODE_NORMAL, FALSE);
break;
}
}
g_file_set_contents(vp.files[FILES_CLOSED], uri, -1, NULL);
}
- if (vp.behave.commands) {
- g_hash_table_destroy(vp.behave.commands);
- vp.behave.commands = NULL;
- }
for (int i = FILES_FIRST; i < FILES_LAST; i++) {
g_free(vp.files[i]);
}