BUGFIX: fix ~ and ` navigation

Was completely broken.