FZF will change your workflow completely

Поділитися
Вставка
  • Опубліковано 29 сер 2024

КОМЕНТАРІ • 143

  • @nandormagyar8073
    @nandormagyar8073 4 роки тому +128

    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

  • @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..

  • @thengakola6217
    @thengakola6217 3 роки тому +5

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

  • @dembasiby
    @dembasiby 4 роки тому +3

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

  • @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 👌😎

  • @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

  • @diarmaidmac2149
    @diarmaidmac2149 4 роки тому

    Wow, very powerful. Thanks for the video!

  • @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.

  • @rad5105
    @rad5105 2 роки тому +1

    thanks
    alot

  • @Iturner72
    @Iturner72 4 роки тому +1

    Awesome video, thanks man

  • @jianwang7433
    @jianwang7433 4 роки тому +1

    Great video

  • @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.

  • @aaronryder4008
    @aaronryder4008 2 роки тому

    That is a nice wallpaper!

  • @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.

  • @niels.m
    @niels.m 3 роки тому

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

  • @ilyabogretsov7028
    @ilyabogretsov7028 2 роки тому

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

  • @ricardorien
    @ricardorien 3 роки тому

    u r the best

  • @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

  • @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!

  • @sspaeti
    @sspaeti 2 роки тому

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

  • @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

  • @mtom186
    @mtom186 3 роки тому

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

  • @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.

  • @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.

  • @HyeokKIM
    @HyeokKIM 4 роки тому +1

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

  • @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.

  • @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.

  • @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

  • @71GA
    @71GA 3 роки тому

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

  • @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!

  • @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.

  • @rhidlor8577
    @rhidlor8577 4 роки тому +1

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

  • @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.

  • @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

  • @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.

  • @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.

  • @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.

  • @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

  • @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.

  • @armynyus9123
    @armynyus9123 3 роки тому

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

  • @roobs456
    @roobs456 3 роки тому

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

  • @houstonbova3136
    @houstonbova3136 Рік тому

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

  • @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

  • @oh_goliath
    @oh_goliath 3 роки тому

    Yoooo link to that wallpaper tho?

  • @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.

  • @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

  • @jantoth8982
    @jantoth8982 3 роки тому

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

  • @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.

  • @lkm75
    @lkm75 Рік тому

    Where is the blog post? error 404 :(

  • @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.

  • @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.

  • @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.

  • @blasttrash
    @blasttrash 2 роки тому

    why do we need both rg and ag?

  • @thacalebful
    @thacalebful 4 роки тому

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

  • @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

  • @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.

  • @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

  • @DaviiRolim
    @DaviiRolim 2 роки тому

    The link for the blog is broken (404)

  • @adityaheart9671
    @adityaheart9671 3 роки тому

    Please make a video on your blog..

  • @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.

  • @crowvampire
    @crowvampire 3 роки тому

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

  • @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

  • @fabioramatis2373
    @fabioramatis2373 4 роки тому

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

  • @ehsankhorasani_
    @ehsankhorasani_ 3 роки тому

    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

  • @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.

  • @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!!!

  • @liftlinux9421
    @liftlinux9421 3 роки тому

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

  • @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

  • @mandaputtra
    @mandaputtra 4 роки тому +1

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

  • @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

  • @adityaheart9671
    @adityaheart9671 3 роки тому

    Can you please tell us your pc configurations?

  • @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

  • @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.

  • @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

  • @user-pi9gu6by1z
    @user-pi9gu6by1z 3 роки тому

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

  • @ElizabethGarcia-m1p
    @ElizabethGarcia-m1p День тому

    Miller Brian Smith Kenneth Smith Ronald

  • @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

  • @spike_wav
    @spike_wav 3 роки тому

    no me funciona bro me puedes ayudar

  • @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