Created
May 1, 2018 16:22
-
-
Save gpspake/455a50d32466ef6ddb5c5d52580f9d8b to your computer and use it in GitHub Desktop.
vim tricks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sudo write to a file without exiting | |
:w !sudo tee % | |
#jump to end of file | |
shift + g | |
#search/highlight a word | |
?word | |
#toggle line numbers | |
:set number | |
:set nonumber |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment