Last active
November 28, 2018 21:19
-
-
Save LanternD/a7d461f9419b0ed56c52bd2bd23e2715 to your computer and use it in GitHub Desktop.
Some Vim commands that I need every now and then. Keep updating.
This file contains hidden or 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
" I put these commands in a '.vimrc' file, but this is not my actually '.vimrc'. | |
" change the syntax highlight of the current buffer | |
:set syntax=c | |
" no syntax highlight | |
:set syntax=off | |
" .vimrc. Bind the syntax option to a specific file extension | |
autocmd BufNewFile,BufRead *.your_ext set syntax=json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment