fixed the directory of runtimepath
add the function to open a tab to copy