Source directory creating script for competitive programmers who are using c++ and neovim
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

5 lines
92 B

  1. #!/bin/sh
  2. cp -n .config.d/template.cpp ${1%.*}.cpp
  3. nvim -s .config.d/cursorpos ${1%.*}.cpp