Created
September 24, 2020 16:24
-
-
Save jmound/62579a52950cbf972fda87fd1daa2e30 to your computer and use it in GitHub Desktop.
Open a file at the end with vim (useful for large files, like a sql dump)
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
# https://edunham.net/2015/01/29/vim_open_file_with_cursor_at_the_end.html | |
vim "+normal G$" file.txt | |
# or in edit mode: | |
vim "+normal G$" +startinsert file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment