Skip to content

Instantly share code, notes, and snippets.

@hikiko
Created August 15, 2021 17:20
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hikiko/cc2b5ea6c0c03daa4a1f4ab4cb5f12da to your computer and use it in GitHub Desktop.
Save hikiko/cc2b5ea6c0c03daa4a1f4ab4cb5f12da to your computer and use it in GitHub Desktop.
Git "\ No newline at end of file" solution for VIM (*finallyyyyyy*)
" When git complains about line endings with this message:
" \ No newline at end of file
" the easier fix is to use the following VIM command:
set noendofline binary
@hikiko
Copy link
Author

hikiko commented Sep 27, 2021

Vulkan-Loader, Vulkan-Tools search tags

@hikiko
Copy link
Author

hikiko commented Aug 17, 2022

sometimes when a file has win line endings and we want to add new lines without them :s/\r// works too (set ff=unix is not set that's why)

@hikiko
Copy link
Author

hikiko commented Jun 22, 2023

:set nofixendofline

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