shortcut for select like in emacs