Skip to main content

Questions tagged [projectile]

Projectile is a project management package and framework that facilitates operations against the project as a whole.

Filter by
Sorted by
Tagged with
7 votes
1 answer
3k views

Projectile installed but "Autoloading failed to define function projectile-mode"

I can M-x projectile-mode (I get this and other projectile commands in the completion list) but it fails with Autoloading failed to define function projectile-mode Projectile is an installed ...
Jakub Holý's user avatar
6 votes
1 answer
1k views

Open file in a specific window

Very similar to this question. I'm using helm-projectile to find files. My Emacs frame is divided in three vertical column windows. In one of the windows I have an open file from the project I'm ...
Cesar's user avatar
  • 163
59 votes
6 answers
33k views

How to exclude files from Projectile?

I am using the helm-projectile setup from prelude and it has been a huge improvement to my workflow. The only remaining issue are auto-generated files (e.g. generated by CMake) which show up during ...
Beginner's user avatar
  • 2,741
13 votes
2 answers
8k views

A search interface for org mode files

I use org-mode to take notes. Currently I have a root directory, say, "Notes", and there are several subdirectories inside it, for example, "Linux", "Programming", etc. The notes taken using org-mode ...
cutejumper's user avatar
11 votes
1 answer
8k views

How to use .dir-locals.el with Projectile?

I'm trying to ignore some file patterns while performing helm-projectile-grep and some with helm-projectile-find-file. I've found that it could be achieved using .dir-locals.el here. Following this ...
yujaiyu's user avatar
  • 896
11 votes
6 answers
10k views

Recursive grep in directory with helm and/or projectile?

A recursive grep in a directory should be the simplest thing, but I haven't found the recipe to get it to work yet. I'm juggling between the following commands and am not sure which has the ...
djechlin's user avatar
  • 923
7 votes
1 answer
951 views

How do I bind keys in ido?

I'm trying Projectile + ido + flx-ido (just for Projectile, ido-mode disabled otherwise). But: I don't like using right and left to switch between items. I want to change them into up and down, but ...
kuanyui's user avatar
  • 1,040
6 votes
1 answer
2k views

Run hook on new buffer

I am trying to create something like uniquely, which renames the buffer to the full path within the projectile project. I have the code working, however, I can't seem to figure out how to get it to ...
darksky's user avatar
  • 275
5 votes
2 answers
2k views

Get file name relative to projectile root

I am trying to write a little function to get the projectile relative path of a buffer. My idea is to delete the substring projectile-project-root from the string buffer-file-name. For example: root-...
rafaelleru's user avatar
3 votes
1 answer
558 views

How do I add a keybinding to a keymap that is on a prefix key

I just installed the pt.el package and now I want to bind projectile-pt to the default projectile search prefix (which is C-c p s). The goal is to have it as C-c p s p to begin with but also to have ...
Mattias Bengtsson's user avatar
2 votes
0 answers
313 views

How to find/grep in Python virtualenv with projectile/helm easier?

How I can customize helm/projectile behaviour to find files and grep in $VIRTUALENV dir easier? Or maybe I can write some function(s) to find/grep in virtualenv of current project?
sivakov512's user avatar
2 votes
1 answer
2k views

helm-projectile find file doesn't ignore some files

I'm using helm-projectile in spacemacs. I want helm-projectile to ignore all the files in .stack-work directory when running helm-projectile-find-file. I added .stack-work in projectile-globally-...
suhdonghwi's user avatar
1 vote
2 answers
355 views

grep contents of a set of files from find

I want to grep contents of all CMakeLists.txt files in a project (nested within a directory) so I can jump from each instance, like I would when running emacs grep function. In the examples below I'm ...
Spacemoose's user avatar
1 vote
1 answer
582 views

Confused regarding .dir-locals.el and projectile

I have a python project, it has tests and I can execute them from the command line. I just read about .dir-locals.el in the projectile documentation and I want to execute tests from inside emacs using ...
nanounanue's user avatar
1 vote
1 answer
1k views

Can't get grep search in helm-projectile working?

I got thankfully introduced to use helm and helm-projectile for all the goodies it has and especially the helm-projectile-grep-search. I must say, this supercharged Emacs by a long shot. I learned ...
doctorate's user avatar
  • 1,829
0 votes
0 answers
59 views

helm-projectile-[grep,ag] in all known projects

helm-projectile-[grep,ag] works great, but how can I grep all known projects?;) Is there a function already for that?
Jason Hunter's user avatar