escape file paths if opening new buffers/tabs, fixes #54

This commit is contained in:
David Halter committed 2012-12-21 13:03:55 +01:00
1 parent 6a70c84cc0
commit ff10a0a6e4
3 files changed
+7 -3

No files matched your search

+4
View File
@@ -299,5 +299,9 @@ def tabnew(path):
vim.command('tabnew %s' % path)
def escape_file_path(path):
return path.replace(' ', r'\ ')
def print_to_stdout(level, str_out):
print(str_out)