All Projects → brooth → Far.vim

brooth / Far.vim

Licence: mit
Find And Replace Vim plugin

Labels

Projects that are alternatives of or similar to Far.vim

Deoplete Jedi
deoplete.nvim source for Python
Stars: ✭ 559 (-22.04%)
Mutual labels:  neovim
Neovim Dots
most beautiful neovim cli setup
Stars: ✭ 547 (-23.71%)
Mutual labels:  neovim
Chadtree
File manager for Neovim. Better than NERDTree.
Stars: ✭ 653 (-8.93%)
Mutual labels:  neovim
Evervim
A Modern, Powerful & Modular Vim Distribution
Stars: ✭ 568 (-20.78%)
Mutual labels:  neovim
Vimr
Project VimR is a Neovim GUI for macOS. The goal is to build an editor that uses Neovim inside with many of the convenience GUI features similar to those present in modern editors. We mainly use Swift, but also use C/Objective-C when where appropriate.
Stars: ✭ 5,524 (+670.43%)
Mutual labels:  neovim
Nvim Typescript
Typescript tooling for Neovim
Stars: ✭ 609 (-15.06%)
Mutual labels:  neovim
Coc Snippets
Snippets solution for coc.nvim
Stars: ✭ 547 (-23.71%)
Mutual labels:  neovim
Context.vim
Vim plugin that shows the context of the currently visible buffer contents
Stars: ✭ 688 (-4.04%)
Mutual labels:  neovim
Gina.vim
👣 Asynchronously control git repositories in Neovim/Vim 8
Stars: ✭ 587 (-18.13%)
Mutual labels:  neovim
Dotfiles
Zsh, Karabiner, VS Code, Sublime, Neovim, Nix
Stars: ✭ 634 (-11.58%)
Mutual labels:  neovim
Tagbar
Vim plugin that displays tags in a window, ordered by scope
Stars: ✭ 5,322 (+642.26%)
Mutual labels:  neovim
Vim Smoothie
Smooth scrolling for Vim done right🥤
Stars: ✭ 579 (-19.25%)
Mutual labels:  neovim
Jarvis
Dotfiles for a powerful, web development-focused environment powered by Neovim, iTerm2, tmux, and zsh
Stars: ✭ 617 (-13.95%)
Mutual labels:  neovim
Fzf Preview.vim
The plugin that powerfully integrates fzf and (Neo)vim. It is also possible to integrate with coc.nvim.
Stars: ✭ 563 (-21.48%)
Mutual labels:  neovim
Asyncomplete.vim
async completion in pure vim script for vim8 and neovim
Stars: ✭ 654 (-8.79%)
Mutual labels:  neovim
Fern.vim
🌿 General purpose asynchronous tree viewer written in Pure Vim script
Stars: ✭ 552 (-23.01%)
Mutual labels:  neovim
Coc Tsserver
Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
Stars: ✭ 602 (-16.04%)
Mutual labels:  neovim
Vim Quickui
The missing UI extensions for Vim 8.2 (and NeoVim 0.4) !! 😎
Stars: ✭ 714 (-0.42%)
Mutual labels:  neovim
Neovim Gtk
gtk ui for neovim
Stars: ✭ 670 (-6.56%)
Mutual labels:  neovim
Alchemist.vim
Elixir Integration Into Vim
Stars: ✭ 632 (-11.85%)
Mutual labels:  neovim

far.vim - Find And Replace Vim plugin

Disclaimer

This plugin is completly community driven. The author has betrayed the pure vim expirience and fell down a slippery slope of using VSCode with a vim plugin. Please do not raise issues without an PR, they will be ignored anyway.

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.

Installation

vim-plug

Plug 'brooth/far.vim'

Usage

Searching with Command

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

far.vim

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

Find the text to replace.

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

Find only.

Searching Interatively

:Farr foo bar **/*.py

ScreenShot 2020-02-02 01 59 19 2020-02-02 02_03_50

:Farr [params]

Interative Far. Shows searching modes in the status bar (regex, case sensitive, word boundary, replace). Modes can be toggled by the key mapping it prompted. Allows to enter {pattern}, {replace-with} and {file-mask} one after the other.

:Farf [params]

Interative F. The interaction is similar to Farr.

Commands in the searching result window

:Fardo [params]

Runs the replacement task. The shortcut for it is s (substitute).

:Farundo [params]

Undo the recurrent replacement. The shortcut for it is u (undo). It is available when set let g:far#enable_undo=1.

:Refar [params]

Change Far/F/Farr/Farf params.

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

Recommented Setting

You can add he following settings to your vim configuration:

set lazyredraw            " improve scrolling performance when navigating through large results
set regexpengine=1        " use old regexp engine
set ignorecase smartcase  " ignore case only when the pattern contains no capital letters

" shortcut for far.vim find
nnoremap <silent> <Find-Shortcut>  :Farf<cr>
vnoremap <silent> <Find-Shortcut>  :Farf<cr>

" shortcut for far.vim replace
nnoremap <silent> <Replace-Shortcut>  :Farr<cr>
vnoremap <silent> <Replace-Shortcut>  :Farr<cr>

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].