Comments (3)
Hello,
I was working on this and other things. I just updated the master branch. Now you can use counsel-projcetile-on
to install the keybindings.
Note that there are other changes and I didn't yet update the README:
- The function previously called
counsel-projectile
is nowcounsel-projectile-switch-project
, because it does just that. - There is a new
counsel-projectile
function which is more likehelm-projectile
. If you are not in a project it callscounsel-projectile-switch-project
. If you are inside a project it instead callscounsel-projectile-find-file-or-bufffer
, which shows a list of project files and buffers at once (the files that are not currently visited are shown as virtual buffers, as inivy-switch-buffer
). From there you can quickly drop tocounsel-projectile-switch-project
with M-SPC.
counsel-projectile.el
adds a key binding SPC for the counsel-projectile
function in projectile-command-map
(so you call it with C-c p SPC by default).
counsel-projectile-on
does the following:
- Replace key bindings in
projectile-command-map
:- f for
counsel-projectile-find-file
- d for
counsel-projectile-find-dir
- b for
counsel-projectile-find-buffer
- p for
counsel-projectile-switch-project
- f for
- Replace corresponding
projectile-commander
bindings - If
projectile-switch-project-action
isprojectile-find-file
(the default), change it tocounsel-projectile-find-file-or-buffer
There is a function counsel-projectile-off
to undo all that.
Hope it helps, please let me know if you find any issue.
from counsel-projectile.
FYI, I updated the README.
from counsel-projectile.
Great, thanks!
from counsel-projectile.
Related Issues (20)
- Sorting files by relevance to the query HOT 2
- FR: Add command "counsel-projectile-recent-file" HOT 5
- unable to modify default action HOT 2
- Switching project now makes current buffer a blank *counsel-projectile* buffer HOT 1
- Set a default landing file per project HOT 4
- counsel-projectile cannot work out with other executable program, such as rg、ag、fzf etc. HOT 3
- counsel-projectile-switch-project ignores c-u -- does not refresh cache HOT 1
- f6
- Preselect next buffer HOT 1
- Projectile ag and grep - abbreviate-file-name: Wrong type argument: stringp, nil HOT 1
- counsel-projectile-preview-buffers t and unable to open a file HOT 1
- counsel-projectile-find-file extremely sluggish in larger repositories. HOT 6
- Issue with `counsel-projectile-rg` on melpa-stable HOT 1
- Error in post-command-hook (ivy--queue-exhibit): (void-variable ivy--display-transformers-list) HOT 2
- counsel-projectile-switch-to-project very slow to compare with projectile-switch-to-project
- `C-c C-k` in `counsel-projectile-switch-to-buffer` returns to `switch-to-buffer` instead of going back `counsel-projectile-switch-to-buffer`
- counsel-projectile fn omits file that is a visited buffer
- Use projectile-get-ext-command with counsel-projectile-rg?
- Merge into `abo-abo/swiper` repository? HOT 1
- counsel-projectile-switch-project-by-name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from counsel-projectile.