terminal_velocity icon indicating copy to clipboard operation
terminal_velocity copied to clipboard

Crash when launching default editor if not running in shell

Open seanh opened this issue 12 years ago • 0 comments

If Terminal Velocity is run directly inside a terminal emulator, as opposed to running a shell inside the terminal emulator and then running tv inside the shell, then tv crashes when trying to launch the default editor.

The default editor command is just vim, and tv crashes with a file not found error.

If you put editor = /usr/bin/vim in your .tvrc then it won't crash anymore.

Should /usr/bin/vim become the hard-coded default default? But how to know where the vim binary will be on the user's machine? Maybe we should run /usr/bin/env vim.

seanh avatar Feb 09 '13 20:02 seanh