" === plugin configuration variables === {{{ " " Open NERDTree on gvim/macvim startup. When set to `2`, " open only if directory was given as startup argument. if !exists('g:nerdtree_tabs_open_on_gui_startup') let g:nerdtree_tabs_open_on_gui_startup = 1 endif " Open NERDTree on console vim startup (off by default). When set to `2`, " open only if directory was given as startup argument. if !exists('g:nerdtree_tabs_open_on_console_startup') let g:nerdtree_tabs_open_on_console_startup = 0 endif " do not open NERDTree if vim starts in diff mode if !exists('g:nerdtree_tabs_no_startup_for_diff') let g:nerdtree_tabs_no_startup_for_diff = 1 endif " On startup - focus NERDTree when opening a directory, focus the file if " editing a specified file. When set to `2`, always focus file after startup. if !exists('g:nerdtree_tabs_smart_startup_focus') let g:nerdtree_tabs_smart_startup_focus = 1 endif " Open NERDTree on new tab creation if NERDTree was globally opened " by :NERDTreeTabsToggle if !exists('g:nerdtree_tabs_open_on_new_tab') let g:nerdtree_tabs_open_on_new_tab = 1 endif " unfocus NERDTree when leaving a tab so that you have descriptive tab names " and not names like 'NERD_tree_1' if !exists('g:nerdtree_tabs_meaningful_tab_names') let g:nerdtree_tabs_meaningful_tab_names = 1 endif " close current tab if there is only one window in it and it's NERDTree if !exists('g:nerdtree_tabs_autoclose') let g:nerdtree_tabs_autoclose = 1 endif " synchronize view of all NERDTree windows (scroll and cursor position) if !exists('g:nerdtree_tabs_synchronize_view') let g:nerdtree_tabs_synchronize_view = 1 endif " synchronize focus when switching tabs (focus NERDTree after tab switch " if and only if it was focused before tab switch) if !exists('g:nerdtree_tabs_synchronize_focus') let g:nerdtree_tabs_synchronize_focus = 1 endif " when switching into a tab, make sure that focus will always be in file " editing window, not in NERDTree window (off by default) if !exists('g:nerdtree_tabs_focus_on_files') let g:nerdtree_tabs_focus_on_files = 0 endif " when starting up with a directory name as a parameter, cd into it if !exists('g:nerdtree_tabs_startup_cd') let g:nerdtree_tabs_startup_cd = 1 endif " automatically find and select currently opened file if !exists('g:nerdtree_tabs_autofind') let g:nerdtree_tabs_autofind = 0 endif " " }}} " === plugin mappings === {{{ " noremap