zoukankan      html  css  js  c++  java
  • far.md

    far.vim - Find And Replace Vim plugin

    far.vim -查找和替换的vim插件

    Intro

    介绍

    Far.vim makes it easier to find and replace text through multiple files.
    It's inspired by fancy IDEs, like IntelliJ and Eclipse, that provide
    cozy tools for such tasks.

    Far.vim使在多文件之中查找和替换文本更容易。

    它的灵感来自那些精美的,对于这种任务提供好用的工具的IDE,像是Intellij和Eclipse。

    Installation

    vim-plug

    Plug 'brooth/far.vim'
    

    Usage

    :Far foo bar **/*.py
    :Fardo
    

    far.vim

    :Far {pattern} {replace-with} {file-mask} [params]

    Find the text to replace.

    查找要替换的文本

    :Farp [params]

    Same as Far, but allows to enter {pattern}, {replace-with} and {file-mask}
    one after the other.

    Far类似,但允许连续地输入{pattern}, {replace-with} 和{file-mask}

    :Fardo [params]

    Runs the replacement task.

    运行替换任务。

    :Refar [params]

    Change Far/Farp params.

    转换 Far/Farp的参数。

    :F {pattern} {file-mask} [params]

    Find only.

    仅仅查找

    Need help?

    :help far.vim
    

    Extras

    Multiline Replacement 多行替换

    multiline

    Neovim-Async, Ack, Ag, Ripgrep support

    nvim

    Command-Line Completion 命令补全

    complete

    Consistency Check 一致性校验

    consistency

    ..and many more! Check out :help far.vim.

    Troubleshooting

    Improving scrolling performance 提高滚动性能

    You can improve the scrolling performance when navigating through large results by adding the following settings to your vim configuration:

    当你浏览许多结果时,可以通过添加下列设置到你的vim配置文件中来提高滚动性能:

    set lazyredraw
    set regexpengine=1
    

    License

    MIT

  • 相关阅读:
    ubuntu卸载vsftpd出错
    Eclipse: the import java.util cannot be resolved
    C# webBrowser 获取元素class属性值
    获取 user-agents
    Python获取当前年月日
    使用pip安装Scrapy出错
    使用pip安装Scrapy出错
    VMware全屏时, 隐藏上方工具栏横条
    HDFS 常用命令
    简单的java Hadoop MapReduce程序(计算平均成绩)从打包到提交及运行
  • 原文地址:https://www.cnblogs.com/nsfoxer/p/14348104.html
Copyright © 2011-2022 走看看