cd-project.nvim icon indicating copy to clipboard operation
cd-project.nvim copied to clipboard

feat: Configurable cd supporting lcd and tcd. Expose as standalone API. Solving #34

Open Kailian-Jacy opened this issue 1 year ago • 3 comments

Implementation of #34. Currently works fine for me.

Kailian-Jacy avatar Nov 15 '24 16:11 Kailian-Jacy

Thanks! Quite busy recently, this is very useful~ By the way, do you know if neo-tree can switch the file tree according to the window's pwd after switching by lcd?

LintaoAmons avatar Nov 24 '24 07:11 LintaoAmons

I have not tried neo-tree, I'm working with telescope file browser and it works as expected.

I'm not sure what do you mean:

  1. Does neo-tree auto refreshes after switching lcd as switching pwd does?
  2. lcd and pwd(global working directory) which one does neo-tree follows?p

Either way I think it's just neotree issue, if it does not work well with window-wide working directory change, we should raise an issue in neotree project.

Kailian-Jacy avatar Nov 24 '24 08:11 Kailian-Jacy

Hello, since your branch conflicts with the main branch, I force pushed my changes to this branch. I think we can simplify the flow by having one single command. Then in the telescope picker, we can use different shortcuts to trigger different cd_cmd. Next step maybe is let user be able to have their own shortcut to trigger the actions

LintaoAmons avatar Nov 29 '24 10:11 LintaoAmons