Hi Romain,
your suggestion made me delete Telescope entirely! I am now solely
relying on your way of finding files. I find it more efficient as you
lovely described.
For the sake of sharing, here are mappings I added for myself:
nnoremap <leader><leader> :b *
Search in buffers only. Sometimes avoids using Tab when I have only a
bunch of files opened, e.g. let's suppose to have Avatar.tsx,
Avatar.test.tsx and more files in the project. I open only Avatar.tsx
and other files and <leader><leader>Avat<Enter> brings me directly to
the file without having to Tab through. Works even better when there are
many files with the same prefix in the project.
nnoremap <leader>fg :grep<space>
Grep stuff. Not much to add other than that <space> is necessary
otherwise you have to type it yourself everytime, and writing the literal
space character gets deleted by vim deleting trailing spaces by default.
nnoremap <leader><not-sure-what-to-use-here> :tab b *
This is only something I am considering adding. Maybe will use <leader>T
because I don't find myself using it a lot, but would like to remember
to.
Best,
--
Roberto Tonino
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/7aa9f572-8cd5-4c18-a022-b32466936a3b%40gmail.com.
No comments:
Post a Comment