Skip to content

Vim plugin for synchronizing current open file with NERDtree

License

Notifications You must be signed in to change notification settings

unkiwii/vim-nerdtree-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

vim-nerdtree-sync

A plugin that show the current file on NERDtree

example

Install

  • Pathogen
    git clone https://github.com/unkiwii/vim-nerdtree-sync.git ~/.vim/bundle/vim-nerdtree-sync

  • vim-plug
    Plug 'unkiwii/vim-nerdtree-sync'

  • NeoBundle
    NeoBundle 'unkiwii/vim-nerdtree-sync'

  • Vundle
    Plugin 'unkiwii/vim-nerdtree-sync'

How it works

After open a file, if NERDTree is open, it will show that file in NERDTree window. If you have cursorline enabled it will also highlight the file. If you don't have cursorline setted or don't want to set it you can configure the plugin to highlight the file:

let g:nerdtree_sync_cursorline = 1

Or configure NERDTree to always show the cursorline:

let g:NERDTreeHighlightCursorline = 1

That will run setlocal cursorline in the NERDTree window

Credits

License

       DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                   Version 2, December 2004

Copyright (C) 2017 Lucas Gabriel Sanchez <unkiwii@gmail.com>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.

About

Vim plugin for synchronizing current open file with NERDtree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published