add keybindings for windows and linux
fix error when trying to hide a new buffer

Fix for the error thrown when trying to hide right after creating a new
file with “CMD + SHIFT + N”