Learn-Vim/ch03_searching_files.md at master · iggredible/Learn-Vim
The goal of this chapter is to give you an introduction on how to search quickly in Vim. Being able to search quickly is a great way to jump-start your Vim productivity. When I figured out how to search files quickly, I made the switch to use Vim full-time. This chapter is divided into two parts: how to search without plugins and how to search with fzf.vim plugin. Let's get started! To open a file in Vim, you can use :edit. If file.txt exists, it opens the file.txt buffer. If file.txt doesn't exist, it creates a new buffer for file.txt. Autocomplete with <Tab> works with :edit. For example, if your file is inside a Rails app controller users controller directory ./app/controllers/users_controllers.rb, you can use <Tab> to expand the terms quickly: :edit accepts wildcards arguments. * matches any file in the current directory. If you are only looking for files with .yml extension in the current directory: Vim will give you a list of all .yml files in the current directory to choose from
Explore this link on the map →saved by
related reading
- neovimcraftneovimcraft.com
- Boost Your Coding Fu With VSCode and Vim - Cheatsheet | Barbarian Meets Codingbarbarianmeetscoding.com
- Learn Vim For the Last Time | Daniel Miesslerdanielmiessler.com
- A year of Vim - Beginner advice and lessons learnedthecodeship.com
- GitHub - fatih/vim-go: Go development plugin for Vim · GitHubgithub.com
- Exploring large projects with Projectile and Helm Projectiletuhdo.github.io
- Learn-Vim/ch02_buffers_windows_tabs.md at master · iggredible/Learn-Vim · GitHubgithub.com
- A VimTeX Plugin Guide | Vim and LaTeX Series Part 4 | ejmastnakejmastnak.com
- Learn-Vim/ch01_starting_vim.md at master · iggredible/Learn-Vim · GitHubgithub.com
- GitHub - sxyazi/yazi: 💥 Blazing fast terminal file manager written in Rust, based on async I/O. · GitHubgithub.com
- Learn VIM while playing a game - VIM Adventuresvim-adventures.com
- 1% Improvements - Vincent Chengvvvincent.me