https://github.com/omnilord/vim-config/blob/63f535d4a059fdea421c00c952a63ddc14cbe17e/.vimrc#L147 Need to fix this function call to find which buffer NERDTree is in and use value instead of defaulting to '1'.