mmrath
12/18/2015 - 11:15 PM

Vim Tips for My config

NERDTREE

  Files
      o: open in prev window
      go: preview
      t: open in new tab
      T: open in new tab silently
      i: open split
      gi: preview split
      s: open vsplit
      gs: preview vsplit
    
    Directories
      o: open & close
      O: recurs­ively open
      x: close parent
      X: close all children recurs­ively
      e: explore selected dir
   
    Bookmarks
      o: open bookmark
      t: open in new tab
      T: open in new tab silently
      D: delete bookmark

    Filesystem
      C: change tree root to selected dir
      u: move tree root up a dir
      U: move tree root up a dir but leave old root open
      r: refresh cursor dir
      R: refresh current root
      m: Show menu
      cd: change the CWD to the selected dir
      CD: change tree root to CWD
 	
    Tree navigation
      p: go to parent
      P: go to root
      K: go to first child
      J: go to last child
      <C-­k>: go to prev sibling
      <C-­j>: go to next sibling
    
    Tree filtering
      I: hidden files (off)
      f: file filters (on)
      F: files (on)
      B: bookmarks (off)
    
    Other commands
      q: Close the NERDTree window
      A: Zoom (maxim­ize­-mi­nimize) the NERDTree window
      ?: toggle help
      
NERD COMMENTER