mapped <C-c> to ESC to avoid issues