3 ms·
This is really handy, thank you! There's a shorthand :Texplore which does the same thing as your :tabedit invocation. Also, if you change it to ':Texplore
by JoshTriplett 2y ago
This is really handy, thank you!
There's a shorthand :Texplore which does the same thing as your :tabedit invocation. Also, if you change it to
':Texplore */%:t'
, it'll open the directory of the current file and put the cursor on the current file.
I've added this to my .vimrc:
noremap <C-b> <Cmd>Explore */%:t<CR>
This binds Ctrl-b to browse in the directory of the current file.
- commandersaki 2y agoI just got around to trying :Texplore -- had no idea this existed, cool find. Tossing up the idea whether to switch to Texplore, but you know if it aint broke... Edit: Switched to :Texplore and also have \v bound to :Vexplore -- very handy.