FZF will change your workflow completely

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 145

  • @nandormagyar8073
    @nandormagyar8073 4 года назад +129

    I do not write comments that often, but couldn't leave this without leaving some sign of appreciation.
    I like your videos because, they are short and perfectly on point.
    Keep up the good work!

    • @chrisatmachine
      @chrisatmachine  4 года назад +9

      Thanks! That’s exactly what I’m aiming for so I’m glad that’s coming through.

  • @florent241
    @florent241 4 года назад +9

    You are making certainly the best series videos on nvim and how to transform nvim into a perfect IDE. Keep up the good work !

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      Thanks, we're only about halfway done.

    • @genkiferal7178
      @genkiferal7178 2 года назад

      maybe the videos about vim should contain vim in the title

  • @thengakola6217
    @thengakola6217 3 года назад +5

    that pacman thing in last part was mind blowing... thanks bruh

  • @al-du6lb
    @al-du6lb 3 года назад +4

    Dude, you're killing it! Every one of your videos is a goldmine. I know most people probably find your blog through youtube, but you should link the corresponding video just in case someone happens to stumble on the blog rather than the video first.

  • @cyberdr3am656
    @cyberdr3am656 4 года назад +4

    WoW, I just discover your channel and i just whant to say thx you for your videos. They are just PERFECT !

    • @chrisatmachine
      @chrisatmachine  4 года назад +2

      Thanks man, I'm glad your enjoying the content.

  • @JavierHarford
    @JavierHarford 4 года назад +9

    Awesome, every time I open VS Code I keep getting this feeling that I'm totally missing out on getting comfy and having some NVIM time; but im just not as quick at navigating with it yet compared to VS Code and the Neovim extension is not quite bugless yet in VS
    Keep up the awesome vids Chris!

    • @pauloffborba
      @pauloffborba 3 года назад +1

      I understand you, because I was at my comfort zone in vs code too. But, give nvim a try every day and you will never come back to vscode as I did. Once you get used to, it feels so natural and so fast that you want to use nvim for every text edition.

    • @matts1839
      @matts1839 3 года назад +1

      @@pauloffborba I also used VSCode for 2 years (mainly for C++) and then switched to NeoVim and it was one of the best decisions I've made in my coder life..

  • @TinyCamperTammy
    @TinyCamperTammy 2 года назад

    Thanks a lot for your videos 😃 Really enjoy them. Am using fzf for quite some time now and there is always something new to learn 👌😎

  • @dembasiby
    @dembasiby 4 года назад +3

    Really, thank you, man. Great videos, great channel!

  • @rafaelrendonpablo9801
    @rafaelrendonpablo9801 4 года назад +12

    Oh boy, this video is really good. I didn't know vim (and the plugins) had evolved this much (I've been kind of away from vim for the last 3 years).

    • @chrisatmachine
      @chrisatmachine  4 года назад +2

      Thanks man! The plugin ecosystem has definitely improved.

  • @calebsuporte2916
    @calebsuporte2916 4 года назад +2

    Hi Chris! Thanks a lot for your content!

  • @justinwong4149
    @justinwong4149 3 года назад

    You did a great job, especially on the vim section.
    Thanks for posting the config details on the blog.

  • @abdallahalsahhar9511
    @abdallahalsahhar9511 4 года назад +1

    Amazing video, Thanks for your time

  • @Iturner72
    @Iturner72 4 года назад +1

    Awesome video, thanks man

  • @diarmaidmac2149
    @diarmaidmac2149 4 года назад

    Wow, very powerful. Thanks for the video!

  • @niels.m
    @niels.m 3 года назад

    After about 6 months of usage, I can confirm that fzf definitely changes your workflow for the better!

  • @jianwang7433
    @jianwang7433 4 года назад +1

    Great video

  • @aaronryder4008
    @aaronryder4008 2 года назад

    That is a nice wallpaper!

  • @ilyabogretsov7028
    @ilyabogretsov7028 2 года назад

    Hi, cool fzf introduction! Also I really liked your terminal and vim theme. Could you say what theme do you use

  • @rad5105
    @rad5105 2 года назад +1

    thanks
    alot

  • @qwarlockz8017
    @qwarlockz8017 2 года назад +1

    Great video. I am so impressed on the customizations of vim and how stunning you have made it. Question: How are you opening the preview window as overlay? I am looking online for anyone else doing this and I am not seeing. I see only a tmux type split screen look. Curious.... thanks again!

  • @example101
    @example101 2 года назад

    This one. For sure. Once you learn to do vim --preview and bind bind bind bind to mini functions it is like magic. Vi mode in vscode possible too.

  • @temirzhanyussupov6997
    @temirzhanyussupov6997 4 года назад +1

    That Rg thing is sick. TY

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      Yea probably my favorite feature, just needs to have the memory of the last search persist somehow.

    • @andrewkosenko2757
      @andrewkosenko2757 4 года назад

      @@chrisatmachine I think it's possible by writing a wrapper function that sets a global variable and if this variable is set - use the value from it. I might give it a try some day, though it will not save what you typed if you reopen vim, it will still be useful I reckon. Let be know if it's worth doing or not.

  • @the.real.ipatch
    @the.real.ipatch 4 года назад

    curious about the workflow you use to record your videos?
    is there a particular recording software you use?
    and what settings do you use for such recording software?
    i noticed this video on youtube appears to be 1080p w/ ~ 60fps, is that the resolution of your monitor or do you change the resolution before you record your screen?
    awesome videos, and look forward to seeing more.

  • @sspaeti
    @sspaeti 2 года назад

    Hi Chris, did you migrate your blog? At least the fzf article is not online anymore :)

  • @kevyyar
    @kevyyar 4 года назад +1

    Damn where do you get your wallpapers from? They look sick

  • @xuxusito
    @xuxusito 4 года назад +1

    Is this polybar that you are using? Btw thanks for all the nvim videos. This makes it easier to switch from vscode.

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      xuxusito yea, it’s a slight variation on polybar 8. Head over to my dotfiles on GitHub it’s in the .config folder

  • @hilfdsgfuiw
    @hilfdsgfuiw 4 года назад +6

    This really is a big deal breaker for many who come from editors like VSCode, Sublime Text and Atom. From what I remember, all of them have this feature (fuzzy searching inside files) built-in. My biggest gripe originally in vim was that I couldn't jump between files fast as I had been doing in VSCode before. FZF fixes that issue, together (somewhat) with nerdtree.

  • @jesuscr7919
    @jesuscr7919 2 года назад

    Greetings, I would like to know what configuration or plugins allows you to see the open tabs or buffers at the top when you open vim? Thank you

  • @RaftProduction
    @RaftProduction 4 года назад +1

    How do you open a file in a new buffer? When I use :FZF for example it replaces the existing buffer

    • @kazhala7602
      @kazhala7602 4 года назад +1

      You will need 'set hidden' in your vimrc, this adds the capability of hidden buffer and then FZF can launch files in new buffer

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      My bad check out my vid on general settings. Like he said you’ll need to set hidden.

    • @RaftProduction
      @RaftProduction 4 года назад +1

      @@kazhala7602 I had that on, but I found out you had to hit CTRL-T to open it in a new tab, my bad

  • @davidsicilia5316
    @davidsicilia5316 4 года назад

    When you are running :Lines, then select a file, it opened in the existing tab containing that file... did you have to write any custom script to make that happen? For me it always opens in a new tab.

  • @mtom186
    @mtom186 3 года назад

    i love the content. also, what operating system are you using. i see it everywhere and i want to use it

  • @eilifakerjordet2677
    @eilifakerjordet2677 4 года назад +1

    Hey man ! Great video, super helpful. Just have a question regarding fzf in vim: how did you get it to appear in its own little window like that? Looks super neat!

    • @atidyshirt
      @atidyshirt 3 года назад

      Ik this is a bit late, but it's done with a plug-in called floataterm

  • @71GA
    @71GA 3 года назад

    How did you manage to get same syntax highlighting in BAT and rest of the interface??? Did you manually change colors?

  • @tzutalin7143
    @tzutalin7143 4 года назад +1

    How do you open a sub-window ? When I used fzf in vim, it shows result of fzf in the bottom instead opening a sub window like yours

    • @chrisatmachine
      @chrisatmachine  4 года назад +3

      TzuTa Lin check out the config on my github. There’s a resizable option for the floating window.

  • @shivanshmishra5293
    @shivanshmishra5293 3 года назад

    Hi,
    I copied the fzf and rg configuration
    But when I do :Rg it does not work
    I have to source init.vim manually for rg to work can you please help.

  • @Multykaos
    @Multykaos 4 года назад +3

    for some reason when i alt-c into a directory , and latter alt-c inside it , it doesn't show the directories outside said directory

    • @chrisatmachine
      @chrisatmachine  4 года назад +2

      I think it only shows nested directories? Idk since I started using z with fzf support I haven't had a lot of time to use alt-c.

    • @enricosevenfoldism
      @enricosevenfoldism 3 года назад

      U could try use fzf-tab

  • @roobs456
    @roobs456 3 года назад

    Does the config file load in automatically or is is referenced somewhere in the plugins.vim file we created?

  • @nilsmelchert776
    @nilsmelchert776 4 года назад +1

    I have seen this browser to many times and I want it! What is the name of the browser?

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      My bad I didn’t see this. It’s Brave.

  • @ricardorien
    @ricardorien 3 года назад

    u r the best

  • @HenriqueNewsted
    @HenriqueNewsted 3 года назад

    I configurated it exactly as you did, but on my machine it simply doesn't work like yours do.
    In some cases, your commands show somethin like a hundred files, and others it it a higher number of files, and stuff like that.
    On my machine, on every command, like :FZF, :Files, :Rg, it always shows more than a million files, it takes more than a minute loading and is very VERY messy. And i am new to this, and i simply don't know how to make it work like yours. I have all the software installed, like the ripgrep, the silver searcher, and still is very annoying that it can't work like yours.
    It shows a bunch of files that i will never open on my vim, like some .mp3, .mp4, i wanted to know how to configure exactly like yours, even though i reproduced every step you did.

  • @thacalebful
    @thacalebful 4 года назад

    how do you select the file (move up or down) from the list when using FZF or Rg?

  • @juancgalue
    @juancgalue 3 года назад

    Hello Chris, thank you very much for this super video, I am just trying to move from VSCode to NVim and you are helping me a lot. I have install FZF just as you described in your video, but when I type in the command line :Files , the files preview doesn't have any colors, yours preview shows color for a json file or so, I just previewed a html and css and no color for the preview window. Any idea how to config that? thank you.

  • @rhidlor8577
    @rhidlor8577 4 года назад +1

    Are there VSC extensions that provide comparable levels of convenience, and if not, why?

  • @LPFan33
    @LPFan33 4 года назад +1

    another nice use for fzf is to list processes and then kill the one that you select. also checkout forgit, it's really cool although to be honest i never really integrated it into my workflow

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      I gotta look into this. That seems cool.

  • @eduardoaranda4379
    @eduardoaranda4379 4 года назад +2

    How to get that floating window in the middle in nvim?

    • @chrisatmachine
      @chrisatmachine  4 года назад +3

      Check the blog or my config on github. You can specify all of these commands to run in a floating preview window.

  • @meherchaitanya6447
    @meherchaitanya6447 4 года назад

    I am using neovim in windows and I am getting only the file path instead fo the file content when I use :Files command
    pls Help

  • @martinnieva8484
    @martinnieva8484 3 года назад

    E605: Exception not caught: Failed to run "fzf --version": ['An unknown element "" was received. This can happen if the remote process closed or ended abnormally.']
    Why is this? HELP!! It was working perfectly until now :(

    • @martinnieva8484
      @martinnieva8484 3 года назад

      Fixed. Don't put set shell=powershell.exe in the settings because it will break vim-plug!

  • @jantoth8982
    @jantoth8982 3 года назад

    Great video! how did you install "waat_i_got" cmd ?

  • @andrewkosenko2757
    @andrewkosenko2757 4 года назад

    I was wondering whether it is possible to change the code preview colors somehow (I want to change the highlighted line in :Rg)? Also what I would like to do is to have :Rg show the results in the vertical split, not a horizontal. Do you have any ideas?

    • @andrewkosenko2757
      @andrewkosenko2757 4 года назад

      I have changed it to be as I like it (or as I'm used to see it in intellij), where results are on top and the preview is on the bottom. If someone want's to achieve the same, let me know by writing a comment and I will get in touch with you.

  • @djcardwellai
    @djcardwellai 3 года назад

    I've been following this tutorial to a t but am getting a lot of lag while editing in Neovim... Anyone have any suggestions? it's driving me nuts!!!

  • @lukaszwalczak3814
    @lukaszwalczak3814 4 года назад +1

    Great content, Chris!
    I'm starting out with nvim and your videos help me a lot.
    Any idea how to make fzf ignore node_modules?
    Esc + C takes ages :)

    • @chrisatmachine
      @chrisatmachine  4 года назад +2

      if you use ripgrep as a base, it will respect your .gitignore.

  • @shahayush
    @shahayush 4 года назад +1

    FZF works in my zsh but doesn't work inside neovim. When I open :FZF, it shows < [Command failed: rg --files --hidden]. Could you help me solve this?

    • @chrisatmachine
      @chrisatmachine  4 года назад +3

      try installing ripgrep, I think thats your issue.

    • @shahayush
      @shahayush 4 года назад

      @@chrisatmachine Thank you. That solved it. I really enjoy your video series. It's quite helpful and I also like the way you take an effort to reply to all the queries. Cheers.

  • @liftlinux9421
    @liftlinux9421 3 года назад

    fish shell doesn't have a ~/.fishrc
    it has a .config/fish/config.fish instead

  • @surajmaharana2608
    @surajmaharana2608 4 года назад

    Your videos are great !! Keep up the good work !!
    Hey your tutorials got me neovim and I have installed coc and pretty much everything I need, by following you.
    But for some reason when I install the 3 plugins you mentioned here.Nvim gets stuck and if I quit it and later do :FZF it asks to install a executable file when allowed it shows an error saying install.ps1 file not found
    I m on windows

  • @fabioramatis2373
    @fabioramatis2373 4 года назад

    How can I set Ctrl+N and Ctrl+P to navigate in fzf buffer? Thank you a lot!

  • @CaptainWumbo
    @CaptainWumbo 4 года назад +2

    I remember abandoning earlier fuzzy searchers like cmd t or ctrl p because they were really slow and :find * did 99% of what I've wanted, but I've heard fzf is actually really fast. I think vim 8 and async features started making some of this stuff way more practical. Of course neovim is what put pressure on Bram to add some of these features.
    :vimgrep can be really slow on big projects, maybe I will give this a try at some point. Kinda the only thing I would point out in your videos is a comparison to similar built in vim stuff would be interesting. But it might make the videos take too long.

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      My experience with fzf and ripgrep has been lightning fast. I may do some comparison vids in the future. Thanks for watching.

  • @houstonbova3136
    @houstonbova3136 Год назад

    Great vid. Link is broken though. Went to bookmark it so I would remember to copy those zsh bits and got 404!

  • @adityaheart9671
    @adityaheart9671 3 года назад

    Can you please tell us your pc configurations?

  • @blasttrash
    @blasttrash 2 года назад

    why do we need both rg and ag?

  • @skyeplus
    @skyeplus 4 года назад +1

    I was looking for something that blends shell with ranger like navigation. FZF looks pretty close to that.

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      Yea FZF is super powerful. I especially like searching for text in files.

  • @lkm75
    @lkm75 Год назад

    Where is the blog post? error 404 :(

  • @oh_goliath
    @oh_goliath 3 года назад

    Yoooo link to that wallpaper tho?

  • @kyp0717
    @kyp0717 4 года назад

    Thanks. That was a great video. How do you get vim to perform a modal popup when you type :Files or :FZF? Thanks.

    • @chrisatmachine
      @chrisatmachine  4 года назад

      check out my config, also consider joining the discord. Lots of helpful people there.

  • @FeelsDonkMan
    @FeelsDonkMan 3 года назад

    Does anyone know how to get FZF to work inline inside vim? I swear it was the default way instead of opening a window like @ 2:58 but can't seem to find out if it's a config setting now or if they removed it in favour of this

  • @TheMurinDeventa
    @TheMurinDeventa 4 года назад +3

    Why do you need fd + ag when you already have rg lol. Btw, good video

    • @chrisatmachine
      @chrisatmachine  4 года назад +2

      Lê Quang Hiếu just wanted to include it as an option, So that people can see what’s available. Eventually I’ll do a comparison video.

    • @Frostliche
      @Frostliche 4 года назад

      fd solves a different problem than rg and ag. rg is faster than ag but has stupid flag conventions.

  • @armynyus9123
    @armynyus9123 3 года назад

    Grrr, youtube. Everytime I'm immersed into emacs I get *that* vim video - and vice versa.

  • @HyeokKIM
    @HyeokKIM 4 года назад +1

    103.5 is the frquency of SBS Love fm frm South Korea.

  • @ehsankhorasani_
    @ehsankhorasani_ 4 года назад

    when I write :FZF
    this error popup inside the fzf box ==> [Command failed: rg --files --hidden]
    I have tried with different directories but not worked

    • @spike_wav
      @spike_wav 3 года назад

      Instala ripgrep
      github.com/BurntSushi/ripgrep#installation

  • @DaviiRolim
    @DaviiRolim 2 года назад

    The link for the blog is broken (404)

  • @SayfSentinel
    @SayfSentinel 4 года назад +1

    Thank you for theses videos. Very informative. What type of Linux distribution are you using ?

    • @chrisatmachine
      @chrisatmachine  4 года назад +3

      Arch/i3-gaps. It’s all in my dotfiles on my github. I was thinking about doing a series on setting it all up.

    • @kevyyar
      @kevyyar 4 года назад

      @@chrisatmachine you definitely should

  • @yohanmelanche77
    @yohanmelanche77 4 года назад +1

    Great tutorial.
    What is your wm ??

    • @chrisatmachine
      @chrisatmachine  4 года назад

      i3-gaps
      my dot files are int he description of the video.
      In the future I'll do a series setting up my system if there's interest.

    • @yohanmelanche77
      @yohanmelanche77 4 года назад

      @@chrisatmachine Yeah of course I used i3-gaps I love your bar.

  • @crowvampire
    @crowvampire 3 года назад

    When close any sub window in FZF, there is a lag time

  • @adityaheart9671
    @adityaheart9671 3 года назад

    Please make a video on your blog..

  • @al-du6lb
    @al-du6lb 3 года назад

    Fyi anyone on arch (and probably others) both the aur and pacman fzf versions are out of date for use with the nvim extension. You have to build it yourself to get the most up to date version. github.com/junegunn/fzf

  • @SacOfSit
    @SacOfSit 4 года назад +1

    I need that wallpaper. Anyone have a link?

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      Sac of Sit they’re all on my GitHub in a wallpapers repo

  • @liftlinux9421
    @liftlinux9421 3 года назад

    universal-ctags-git is not working now, install the package ctags-git instead

  • @fugh7098
    @fugh7098 4 года назад +1

    hello, how to set the inputline on the top?

    • @chrisatmachine
      @chrisatmachine  4 года назад +1

      checkout my blog, and look for the config around the preview windows.

    • @fugh7098
      @fugh7098 4 года назад +1

      @@chrisatmachineOh, I found it, thank you very much

  • @fixer8173
    @fixer8173 3 года назад

    It's still massive amount of work to put in if one wants to be remotely close to e.g. webstorm, I guess that's what eveyone is paying for

  • @user-pm9bd1cx7b
    @user-pm9bd1cx7b 4 года назад +1

    why ur fzf is floating? my fzf output bottom

    • @chrisatmachine
      @chrisatmachine  4 года назад

      check the config over on my blog it has all of the code necessary to make the windows float.

    • @user-pm9bd1cx7b
      @user-pm9bd1cx7b 4 года назад

      @@chrisatmachine Thanks for the reply. English is my second language, so I could only understand parts of it in listening.
      Blogging helps me because I can use the worst translations.

  • @randomware6702
    @randomware6702 4 года назад +2

    Dude you have to try vimium! No more mouse on browsers

    • @chrisatmachine
      @chrisatmachine  4 года назад +3

      I actually do use it but old habits are hard to break.

  • @mandaputtra
    @mandaputtra 4 года назад +1

    Dude you should fix your meta website, I can't google your articles ~ you had helpfull blog!!

  • @李波-v2b
    @李波-v2b 3 года назад

    thanks bro! Eyour browser is so cool! how can I do that!

  • @anmol_tomer
    @anmol_tomer 4 года назад

    Idk what's wrong but most of these things you mentioned like the ones below aren't available using apt-get on Ubuntu 18.04 and so far it has been going good but this video was not at all helpful. No shortcuts working, I am on zsh and it's not at all beginner friendly you are rushing very fast. There are people doing these for the first time.
    sudo apt install fzf
    sudo apt install ripgrep
    sudo apt install universal-ctags
    sudo apt install silversearcher-ag
    sudo apt install fd-find

    • @chrisatmachine
      @chrisatmachine  4 года назад +2

      They may only be available in 20.4 I’ll have to confirm.

  • @spike_wav
    @spike_wav 3 года назад

    error: Ag is not found , how solved?

    •  3 года назад

      Read the requirements before install the plugins inside vim. On his blog has the steps.

    • @spike_wav
      @spike_wav 3 года назад

      @ thanks, if i can install this

  • @ElizabethGarcia-m1p
    @ElizabethGarcia-m1p 13 дней назад

    Miller Brian Smith Kenneth Smith Ronald

  • @JackWarner-q1p
    @JackWarner-q1p 2 часа назад

    Jones Jeffrey Thompson Lisa Miller Jose

  • @spike_wav
    @spike_wav 3 года назад

    no me funciona bro me puedes ayudar

  • @CommonsVivian-w6p
    @CommonsVivian-w6p 3 дня назад

    Lewis David Harris Brenda Martin Lisa

  • @Jantalus
    @Jantalus 3 года назад

    Why do I get a tons of errors in fzf.vim after sourcing?? I installed all that was noted in the blog