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

textmate-goto-file fails if editing remote files #15

Open
alf opened this issue Mar 30, 2011 · 0 comments
Open

textmate-goto-file fails if editing remote files #15

alf opened this issue Mar 30, 2011 · 0 comments

Comments

@alf
Copy link

alf commented Mar 30, 2011

The function textmate-project-files doesn't work with tramp. Here's a version that works for me:

(defun textmate-project-files (root)
  "Finds all files in a given project."
  (let ((default-directory root))
    (split-string
     (shell-command-to-string
      (concat
       "find . -type f  | grep -vE '"
       *textmate-gf-exclude*
       "'")) "\n" t)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant