After I have written the SQL on BigQuery’s UI:
SELECT first_column FROM `project.dataset.table` ORDER BY `first_column` ASC LIMIT 1000
I tried to copy it to my Vim editor through “Ctrl + c” and “Ctrl + v”. But the result in my Vim looks like irregular steps
SELECT * FROM `project.dataset.table` ORDER BY `first_column` ASC LIMIT 1000
Even using “Shift + Option + Command + v” to paste code without format couldn’t solve this problem.
Actually, it’s not a problem about system pasting, but about Vim. The correct way is to set Vim to accept “paste” at first
then we can get the pasting content correctly.