far.vim 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. let g:far#source='rgnvim'
  2. let g:far#file_mask_favorites=['%', '**/*.*', '**/*.html', '**/*.js', '**/*.css', '**/*.vim']
  3. let g:far#enable_undo=1
  4. " Below are the default mappings and corresponding variable names in
  5. " x v_x - Exclude item under the cursor.
  6. " i v_i - Include item under the cursor.
  7. " t v_t - Toggle item exclusion under the cursor.
  8. " f v_f - Smartly toggle item exclusion under the cursor: exclude all items when all are excluded, otherwise exclude all items.
  9. " X - Exclude all items.
  10. " I - Include all items.
  11. " T - Toggle exclusion for all items.
  12. " F - Smartly toggle exclusion for all items: include all items when all are excluded, otherwise exclude all items.
  13. " <CR> - Jump to the source code of the item under the cursor. See |far-jump|
  14. " p - Open preview window (if not) and scroll to the item under the cursor. See |far-preview|
  15. " P - Close preview window. See |far-preview|
  16. " CTRL-K - Scroll preview window up (if open). See |far-preview|, |g:far#preview_window_scroll_step|
  17. " CTRL-J - Scroll preview window down (if open). See |far-preview|, |g:far#preview_window_scroll_step|
  18. " zo - Expand node under the cursor.
  19. " zc - Collapse node under the cursor.
  20. " za - Toggle node expanding under the cursor.
  21. " zs - Smartly toggle exclusion for all nodes: expand all nodes when all are collapsed, otherwise collapse all nodes.
  22. " zr v_zr - Expand all nodes.
  23. " zm v_zm - Collapse all nodes.
  24. " zA v_zA - Toggle exclusion for all nodes.
  25. " zS v_zS - Smartly toggle exclusion for all nodes: expand all nodes when all are collapsed, otherwise collapse all nodes.
  26. " s v_s - Execute |:Fardo|<CR>, to replace all included items.
  27. " u v_s - Execute |:Farundo|<CR>, to undo the last replacement by |:Fardo|.
  28. " U v_U - Execute |:Farundo| --all=1<CR>, to undo all replacements by |:Fardo|. For param '--all=' see |farundo-params|.
  29. " q v_q - Close searching result buffer and its preview buffer (if exists)