Add pre- & post-command-hook to be cursor specific