Giter VIP home page Giter VIP logo

Comments (3)

ericdanan avatar ericdanan commented on August 16, 2024

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 now counsel-projectile-switch-project, because it does just that.
  • There is a new counsel-projectile function which is more like helm-projectile. If you are not in a project it calls counsel-projectile-switch-project. If you are inside a project it instead calls counsel-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 in ivy-switch-buffer). From there you can quickly drop to counsel-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
  • Replace corresponding projectile-commander bindings
  • If projectile-switch-project-action is projectile-find-file (the default), change it to counsel-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.

ericdanan avatar ericdanan commented on August 16, 2024

FYI, I updated the README.

from counsel-projectile.

floli avatar floli commented on August 16, 2024

Great, thanks!

from counsel-projectile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.