How would I set up a grid similar to unreal engine 4 power of 2 grid/UDK/GTK Radiant/Hammer, etc in the 2D and 3D views. I also want to be able to decrease and increase the grid subdivisions with hotkeys. For example, in unreal engine 4, "[" or "]" would increase and decrease the subdivisions.
I need the grid to be the same for everything and I can't seem to find anything. I've been looking for an answer to this for a very long time and I hope someone can help me.