This makes every arrow you shoot not affected by gravity!
Instructions on how to use:
1 Give yourself a command block; /Give @p Command_Block
2 Place it down, right click on it set it on Repeat (the left bar) and Always Active (the right bar).
3 Paste in the command, click Done, then youre.. DONE! Try shooting a arrow with your bow now.