Revision history for Open-This
0.000036 2026-11-11 00:49:32Z
- Add -h|--help and -v|--version to ot (GH#79) (Olaf Alders)
- When an unknown or invalid option leaves no target to open, ot now prints
usage and exits 2, or prints a JSON error and exits 2 with --json.
Previously it reported "Could not locate file" and exited 1 (GH#79) (Olaf
Alders)
- ot --browse and maybe_get_url_from_parsed_text now build the URL from
the file's path in its own checkout, using that checkout's remote and
branch, so relative paths from subdirectories, ".." paths and absolute
paths work. Files not committed on the current branch and files outside a
checkout get no URL (GH#83) (Olaf Alders)
- Don't read the port or password of a pasted URL as a line number (GH#75)
(Olaf Alders)
- Support Codeberg, GitLab, Bitbucket and SourceHut file URLs, both when
building ot --browse links and when opening a pasted URL (GH#76) (Olaf
Alders)
- Add the OPEN_THIS_REMOTES environment variable, a comma-separated list of
remotes to use for browse URLs. The first one that exists in the
repository is used, falling back to origin (GH#77) (Stefan Härter)
- Prefix relative file names starting with + or - with ./ so the editor
does not read them as a command or an option (GH#78) (Olaf Alders)
0.000035 2025-10-28 17:23:31Z
- Add script_fails to Test::Script import list in t/ot.t (GH#60) (Copilot)
0.000034 2024-04-10 14:36:09Z
- Add experimental --json flag (GH#52) (Olaf Alders)
0.000033 2023-09-12 14:46:08Z
- Add support for IntellJ IDEA, VSCode, VSCodium and more. Also fix typo
(GH#51) (mcneb10)
0.000032 2023-05-05 02:22:25Z
- Make boolean check pass for Perl 5.37 (GH#49) (Olaf Alders)
0.000031 2022-11-15 21:41:18Z
- Search recursively for .go files (GH#47) (E. Choroba)
0.000030 2022-01-11 17:30:15Z
- Make Git::Helpers optional (GH#46) (Olaf Alders)
0.000029 2021-12-18 02:31:46Z
- strip trailing colons before parsing text (GH#44) (Olaf Alders)
0.000028 2021-11-09 14:19:42Z
- Document how to call ot from within vim (GH#43) (Olaf Alders)
- Bump minimum Perl version to 5.12.0 (GH#43) (Olaf Alders)
0.000027 2021-10-29 21:59:06Z
- Trim text before parsing it (GH#42) (Olaf Alders)
0.000026 2021-10-19 21:29:37Z
- Override $ENV{EDITOR} via -e|--editor (GH#40) (Olaf Alders)
- Avoid invoking an editor via -p|--print (GH#40) (Olaf Alders)
0.000025 2021-08-17 19:33:19Z
- Move Test::Simple to test requires from runtime requires (GH#38) (Olaf
Alders)
0.000024 2020-08-14 15:36:10Z
- Deal more gracefully with GitHub line number ranges (GH#37) (Olaf Alders)
- Remove redundant variable (GH#35) (Novgorodcev Cyrill)
- Fix contributor name (GH#34) (Boris Däppen)
0.000023 2020-05-20 18:39:49Z
- Parse file paths from "mvn test" output (GH#33) (Olaf Alders)
0.000022 2019-10-24 01:53:11Z
- Avoid false positives when testing URLs (GH#27) (José Joaquín Atria)
- Avoid calling is_module_name twice in parse_text (GH#28) (José Joaquín Atria)
- Make sure we don't require modules to find them (GH#26) (José Joaquín Atria)
0.000021 2019-08-25 17:11:12Z
- Use Module::Util to find modules without requiring them (GH#24) (José Joaquín Atria)
0.000020 2019-06-21 14:45:12Z
- Support the pseudo-paths that git diff and friends will display (GH#23) (mannih)
- Parse Ansible error messages (GH#20) (Olaf Alders)
0.000019 2019-06-14 13:49:45Z
- Add support for Kate editor (GH#17) (José Joaquín Atria)
- Document supported editors
0.000018 2019-06-10 17:02:19Z
- Print usage when ot is called with no arguments (GH#16) (José Joaquín
Atria)
0.000017 2019-05-29 18:24:11Z
- Parse file paths out of full GitHub URLs. (GH#15) (Olaf Alders)
0.000016 2019-05-27 17:20:10Z
- Add column number parsing for ripgrep output and add support for opening
files at arbitrary columns in vim (GH#12) (Olaf Alders)
- Add support for opening files at arbitrary columns in nano (GH#14) (Olaf Alders)
- ot can now open binaries which are in the user's path (GH#13) (Olaf Alders)
0.000015 2019-01-28 21:43:33Z
- Don't exec if $EDITOR is empty, die with message (GH#9) (Boris Däppen)
- Render the command name in description as a link (GH#7) (Boris Däppen)
0.000014 2018-12-18 21:57:14Z
- Fix parsing of GitHub links (GH#6) (Olaf Alders)
0.000013 2018-12-18 16:57:31Z
- Add a -b (browse) option to ot. Also add editor_args_from_parsed_text()
and maybe_get_url_from_parsed_text (GH#5) (Olaf Alders)
0.000012 2018-12-03 19:26:46Z
- Parse line numbers from the fragments of GitHub URLs
0.000011 2018-08-23 11:59:02Z
- Fix some tests under Windows
0.000010 2018-08-22 13:43:42Z
- Don't rely on a working grep binary
0.000009 2018-08-20 19:33:14Z
- Parse path/to/file::sub_name()
0.000008 2018-06-18 18:37:05Z
- Don't use /usr/bin/env in shebang
0.000007 2018-03-20 20:14:09Z
- Extract line numbers from contextual git-grep matches
0.000006 2018-02-21 03:42:36Z
- Allow for sub names with args
0.000005 2018-02-13 03:52:00Z
- to_editor_args() now accepts an array
- Set search paths via the $ENV{OPEN_THIS_LIBS} variable
0.000004 2018-02-08 19:06:09Z
- Try to fix some tests when running under MSWin32
0.000003 2018-02-08 17:11:27Z
- parse_text() now accepts an array, which means less situations where args
to ot need to be quoted at the command line
0.000002 2018-02-07 17:05:20Z
- Pod formatting
0.000001 2018-02-06 16:14:35Z
- initial release.
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
Go to GitHub issues (only if GitHub is preferred repository)