nige123 / jmp.nigelhamilton.com

jmp - search files and jump to matching lines in a text editor
Other
13 stars 4 forks source link

Use the EDITOR environment variable #7 #8

Closed tmtvl closed 5 years ago

tmtvl commented 5 years ago

Default to using nano if EDITOR isn't set.

nige123 commented 5 years ago

Thanks for the PR. I would prefer to put the editor templates into a %hash instead of separate variables - so it can be easily added to in future.

tmtvl commented 5 years ago

If you want I can add the comment about atom back in.

tmtvl commented 5 years ago

Ah, yeah I just kept the order as it was. I'll rearrange them and I'll see if I can match the path cleverly enough not to clump vim and nvim together.