Skip to content

Instantly share code, notes, and snippets.

@simryang
Created June 20, 2023 07:53
Show Gist options
  • Save simryang/8c10bbe34cf1da0e5ed9e8e5b8d2316a to your computer and use it in GitHub Desktop.
Save simryang/8c10bbe34cf1da0e5ed9e8e5b8d2316a to your computer and use it in GitHub Desktop.
Change vim global setting to remember last curosr position
ssh pi@pi_ip_address "sudo sed -i 's/"\""au/au/' /etc/vim/vimrc"
@simryang
Copy link
Author

simryang commented Jun 20, 2023

핵심은 큰 따옴표를 포함한 큰 따옴표로 둘러싼 ssh 명령이라는 점

"sudo..."\""au..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment