project.nvim
project.nvim copied to clipboard
Option to open root of project in buffer (Telescope)
I would prefer if when I press enter on one of my projects in telescope, it doesn't open the file finder for that project but instead just changes my directory and opens the root directory in a buffer. Equivalent to if I had just done cd /path/to/project && nvim . Would this be possible?
Maybe option to bind this kind of behavior to a keymap?
This already exists! C-w in insert mode or w in normal mode during the telescope picker will do exactly what you want.
See other mappings.
Hey @elken thank you! I was already aware of that keymap however,
I use startify and I think that prevents it to open it like a dir with . operation.
So what i see is changing directory without opening the file tree.
Which is alright because i still can toggle the file tree myself.
So no complaint there.
I was just asking if there is anything you can do about it to make it play nicely with other things such as greeter plugins. If not, all is well i still love the plugin. Keep up the great work.
This already exists!
C-win insert mode orwin normal mode during the telescope picker will do exactly what you want.See other mappings.
C-w was exactly what I was looking for! Thank you!
Is it possible to remap it to <CR> at the moment?.
I had a crack at making the select behavior configurable: #41 Keen for any feedback 😄
ee the > This already exists!
C-win insert mode orwin normal mode during the telescope picker will do exactly what you want.See other mappings.
C-wwas exactly what I was looking for! Thank you! Is it possible to remap it to<CR>at the moment?.
See how it's done and feel free to make your own picker with bindings! :)