every time want bookmark in nerdtree, need type bookmark <name>
in normal mode.
is there mapping make bookmarking more smoothly?
for example:
when press <leader><b>
in nerdtree window, command line shows :bookmark <name>
, need fill <name>
, enter.
try this:
:autocmd filetype nerdtree nnoremap <buffer> <leader>b :bookmark
you need have enabled filetypes using
:filetype plugin indent on
or similar.
Comments
Post a Comment