far.vim 2.0 KB

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