Trouble with exec mapped to mouse button
I experience troubles when trying to map mouse buttons to exec commands.
map <C-l> exec ls
works like expected, but after map <Button3> exec ls
a click with Button 3 of the mouse spawns a process which fails with
Failed to execute command: Failed to execute child process “/shorttitle” (No
such file or directory)
Note that in the above /shorttitle
seems to be some random gibberish that might depend on the content of the currently open document.