Vim (34) Netrw Fix Fuzzy Find

MichaelsTechTutorials
MichaelsTechTutorials
6 هزار بار بازدید - 5 سال پیش - We use netrw to create
We use netrw to create a directory with the lower case "d" and then we rename a file to change the directory it is in with an upper case "R" and adding the directory to the filename path.

When we try and quit out, we get the error "No write since last change"

To get around that error by typing ":qa!"

To prevent this error from happening again, we add this line to our .vimrc:
autocmd FileType netrw setl bufhidden=delete

We look at using :find to find files to open for edit in Vim.

We add some lines to our .vimrc that allows us to do a fuzzy find in our directory path meaning we can search for all the files that end with .txt by typing find *.txt

Download the .vimrc file from:
https://thefrugalcomputerguy.com/linu...

See the complete Vim playlist at:
Vim (01) - What is Vim?

See the complete Vim playlist in a single video at:
Vim - Complete Vim Tutorial

Website link:
https://thefrugalcomputerguy.com/linu...
5 سال پیش در تاریخ 1398/02/14 منتشر شده است.
6,052 بـار بازدید شده
... بیشتر