自分で書いたelispの中で一番重宝しているもの. 以下のコードを適当なところ(init.elなど)に貼れば,C-;でそのプロジェクト内のファイルをanything絞りこみして開ける. (defun anything-c-sources-git-project-for (pwd) (loop for elt in '(("Modified files (%s)" . "--modified") ("Untracked files (%s)" . "--others --exclude-standard") ("All controlled files in this project (%s)" . "")) collect `((name . ,(format (car elt) pwd)) (init . (lambda () (unless (and ,(string= (cdr el
![今いるgitレポジトリ内のファイルを一瞬で開くelisp - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/a682df2f453c8e2fbe3c65fb93d06542233ecd2d/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9JUU0JUJCJThBJUUzJTgxJTg0JUUzJTgyJThCZ2l0JUUzJTgzJUFDJUUzJTgzJTlEJUUzJTgyJUI4JUUzJTgzJTg4JUUzJTgzJUFBJUU1JTg2JTg1JUUzJTgxJUFFJUUzJTgzJTk1JUUzJTgyJUExJUUzJTgyJUE0JUUzJTgzJUFCJUUzJTgyJTkyJUU0JUI4JTgwJUU3JTlFJUFDJUUzJTgxJUE3JUU5JTk2JThCJUUzJTgxJThGZWxpc3AmdHh0LWFsaWduPWxlZnQlMkN0b3AmdHh0LWNvbG9yPSUyMzFFMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT01NiZzPTljNWNhMzRjMDUwMzMyNDhiNjE4YjI2ZGE0NDM4ZGUz%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDB5YW90dGkmdHh0LWNvbG9yPSUyMzFFMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT0zNiZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZzPTRlYzMxNjFmZGZjMTU0MGU0MDU3YTNkYjE1NzE3NjI4%26blend-x%3D142%26blend-y%3D486%26blend-mode%3Dnormal%26s%3D65459951abf9c089ad74cf04f906d77a)