Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fzf Ctrl + T command for git repos #6

Open
3 tasks
dufferzafar opened this issue Jul 20, 2016 · 1 comment
Open
3 tasks

fzf Ctrl + T command for git repos #6

dufferzafar opened this issue Jul 20, 2016 · 1 comment
Assignees

Comments

@dufferzafar
Copy link
Owner

  • Use git ls-files when inside git directories. Else use default stuff.
  • Currently I'm just modifiying the system file /usr/local/Cellar/fzf/HEAD-fccc931/shell/key-bindings.zsh. Find a way to include in repo.
  • Are there some git ls-files switches that might be of use to us?
  if git rev-parse --is-inside-work-tree &>/dev/null; then
    local cmd="git ls-file"
  else
@dufferzafar dufferzafar changed the title fzf Ctrl + T command for git specific directories fzf Ctrl + T command for git repos Jul 20, 2016
@dufferzafar dufferzafar self-assigned this Jul 20, 2016
@dufferzafar
Copy link
Owner Author

MOAR FEATURES:

If there are changed files, just use them?

So for eg: git add -p {CTRL + T} should only show files that have been modified?

It's about the contexts, baby!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant