scmbreeze / scm_breeze

Adds numbered shortcuts to the output git status, and much more
https://madebynathan.com/2011/10/19/git-shortcuts-like-youve-never-seen-before/
MIT License
2.82k stars 192 forks source link

Wrap more common shell commands by default #292

Closed jawshooah closed 4 years ago

jawshooah commented 4 years ago

Yep, exactly!

On Thu, Aug 29, 2019, 9:11 AM Jeff Byrnes notifications@github.com wrote:

@jeffbyrnes commented on this pull request.

In git.scmbrc.example https://github.com/scmbreeze/scm_breeze/pull/292#discussion_r319060951:

@@ -124,6 +124,6 @@ git_add_and_amend_commit_keys="\C-xz" # CTRL+x, z

Expand numbered args for common shell commands

shell_command_wrapping_enabled="true"

Here you can tweak the list of wrapped commands.

-scmb_wrapped_shell_commands="vim emacs gedit cat rm cp mv ln cd" +scmb_wrapped_shell_commands="vim emacs gedit cat rm cp mv ln cd ls less subl code"

Ah! So you would:

`` ls -l [ list of files] subl 3

to open that file?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/scmbreeze/scm_breeze/pull/292?email_source=notifications&email_token=ABCXEZ7MUCABPZJP4RWAPO3QG7DHJA5CNFSM4IRQCHBKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCDDIL3Q#discussion_r319060951, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCXEZ2B3NEELMORSKXVFPTQG7DHJANCNFSM4IRQCHBA .

ghthor commented 4 years ago

I was going to say, I didn't want to add more editors that might not exist on all systems. But we already have gedit in the existing list. I think this is a fine addition as anyone that glances at this list of values will might see their own personal editor in the list and clue them into what's going on here.