Neovim Lua Config - Configuring Neovim #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 68

  • @novanleon
    @novanleon 5 หลายเดือนก่อน +2

    This has to be the best guide I've seen online for getting started with Neovim config. Well done!

    • @tuffgniuz
      @tuffgniuz  5 หลายเดือนก่อน +1

      Thanks! I have a feeling this video is outdated though.

  • @taffec
    @taffec 2 ปีที่แล้ว +3

    This was really, really helpful for a first time neovim and lua noob. I search lots of videos and tutorials and yours is one of the best!

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      Glad it helped!

  • @ПетроБойко-ц3б
    @ПетроБойко-ц3б 2 ปีที่แล้ว +3

    Thank you for this step by step tutorial. This is what I have been looking for for a long time.

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      Glad you liked it!

  • @OnlyGamerNerd
    @OnlyGamerNerd 2 ปีที่แล้ว +1

    Awesome! I've used NeoVim with AstroNvim for a while, but figured I'd set up my own configuration. You're doing a great job! Thanks again!

  • @vassilismyrianthoussis676
    @vassilismyrianthoussis676 2 ปีที่แล้ว +1

    Thank you ! You did a great job simplifying such a complex daw....Looking forward to be a great producer

  • @yukipuki2224
    @yukipuki2224 2 ปีที่แล้ว +5

    this is my 3rd attempt for configureing nvim with lua. you get straight to the point, without going to much into the details. This series is a MUST SEE

    • @raven9057
      @raven9057 ปีที่แล้ว

      Its definitely a pain in the ass to set it all up. im on my first attempted and its doing my head in haha. Did you end up getting it done on your 3rd attempted?

  • @seyeakintunde8225
    @seyeakintunde8225 2 ปีที่แล้ว +1

    I just decided to leave VScode for Nvim a few days ago. I tried using Vim before but it all seemed complicated. Finally, I decided to give it another shot this week and I found your channel. I can't thank you enough Tuff. Your videos are great!!!!!

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      Thanks. Glad my videos are helping you out

  • @niiiiiiisse
    @niiiiiiisse 3 ปีที่แล้ว +1

    Bram linked me this cus he thought it'd be interesting to me and it's something I needed. Thanks!

    • @tuffgniuz
      @tuffgniuz  3 ปีที่แล้ว

      Ah I see. Hopefully it was helpfull or interesting. I'll have more content like this coming.

  • @yazdipour
    @yazdipour 2 ปีที่แล้ว

    Honestly the best vim video ever watch. You should do more

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      Thanks! Seems a lot of people really like this video. Planning to start posting videos again soon

  • @adrianthomas4163
    @adrianthomas4163 3 ปีที่แล้ว +1

    Great. Cleared up some things. I had setting things up with lua. Thanks again.

    • @tuffgniuz
      @tuffgniuz  3 ปีที่แล้ว +1

      Glad to know it was helpfull

  • @Awwe12675
    @Awwe12675 2 ปีที่แล้ว +1

    Thank you for all my heart
    U literally understand how to explain this issue
    I don’t know English but ur videos help me too much please I need more configuration like that please step by step show me around

  • @handelsassistentenundtradi2724
    @handelsassistentenundtradi2724 2 ปีที่แล้ว +1

    Good job! Nice and easy to follow tutorial.

  • @CyperN077
    @CyperN077 2 ปีที่แล้ว

    If this text was larger this video would get a gold star.

  • @therealslimaddy
    @therealslimaddy 2 ปีที่แล้ว +2

    this helped me a lot thanks !!

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      Glad it helped!

  • @sivuyilemagutywa5286
    @sivuyilemagutywa5286 2 ปีที่แล้ว

    This is great man,

  • @-ygdrayko2029
    @-ygdrayko2029 2 ปีที่แล้ว +1

    Thank you so much man !

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 2 ปีที่แล้ว +1

    I've a doubt, neovim already has sensible defaults like utfencoding, hidden etc, so do we need to include those in lua config as well? I think we don't have to as we're just changing the config and the features are already compiled along with the binary

  • @noahzhu7277
    @noahzhu7277 2 ปีที่แล้ว

    I have a question, why using ' ' to replace rather than using directly in the NvimTreeToggle mapping?

  • @sohamchatterjee750
    @sohamchatterjee750 2 ปีที่แล้ว

    Why there are cross signs beside the folders or files in the nvim-tree

  • @prem_kumar
    @prem_kumar ปีที่แล้ว

    Thank you so much sir for your help 🙏

  • @plaasti9665
    @plaasti9665 3 ปีที่แล้ว +1

    Nice Tutorial !

  • @hasibulhasan6373
    @hasibulhasan6373 2 ปีที่แล้ว +1

    What presentation tool did you use at the beginning? Thanks.

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว +1

      I think it was lookatme that I was using here.

  • @waywardpooch9567
    @waywardpooch9567 2 ปีที่แล้ว

    Thank you; this helps a lot!

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 2 ปีที่แล้ว +1

    subbed, thanks a lot :)

  • @oriumi
    @oriumi 2 ปีที่แล้ว

    Hello friend, I'm new to vim / neovim and I'm configuring themes and settings still, I wanted to know how do I put that same line spacing that you're using, I think my neovim lines are very close between yes and it bothers me. Would you help me? ;-;

  • @sathishkannan6600
    @sathishkannan6600 2 ปีที่แล้ว

    But i found that some tree sitter JavaScript plugins don't run on windows.

  • @ExaltMySelf
    @ExaltMySelf 3 ปีที่แล้ว +1

    Could you please make a video on how to configure the terminal like yours? (E.g, shell, colorscheme, fonts)

    • @tuffgniuz
      @tuffgniuz  3 ปีที่แล้ว +3

      Sure, I've been planning to do a video on my workflow so I might upload it this week

    • @ExaltMySelf
      @ExaltMySelf 3 ปีที่แล้ว +1

      @@tuffgniuz Thank you very much. I'll wait for it :D

    • @javierr5845
      @javierr5845 2 ปีที่แล้ว

      @@tuffgniuz how can you show the icons in the terminal? Nice series of videos!

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว +1

      @@javierr5845 Take a look at this the.exa.website/. That's what I use. Just alias it to "ls" or "ll"

    • @javierr5845
      @javierr5845 2 ปีที่แล้ว +1

      @@tuffgniuz Thanks it worked perfectly!

  • @parkvince5399
    @parkvince5399 2 ปีที่แล้ว

    How did you make that aliase n for nvim, I tried to make an aliase like that on my .bashrc eg: aliase n='nvim', It didn't work, outputs command not found, can someone help please

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      Sorry for the late reply. In my case, I use the fish shell, and it allows to easily create an alias. Perhaps you can look into that.

  • @user-mfsc-2024
    @user-mfsc-2024 2 ปีที่แล้ว

    is it matter of the packer plugin load order ?

    • @tuffgniuz
      @tuffgniuz  ปีที่แล้ว

      Hi sorry for the late reply.. I don't think it should matter that much. If it does I think you will notice

  • @Dex-_-809
    @Dex-_-809 2 ปีที่แล้ว

    Hello, thank you so much for your video. I've been using vscode for a while now and wanted to tried Neovim and because of you it was easy to move. Also I have a question, does anyone know what is the replacement for Nvim-tree auto_close since it says it was REMOVED ? THANKS.

  • @trahula
    @trahula 2 ปีที่แล้ว

    hello! can someone helps me. after reload nvim,, my colorscheme set to default. It is annoying, Whats is it? Linux Ubuntu

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      How do u set ur colorscheme?

    • @trahula
      @trahula 2 ปีที่แล้ว

      @@tuffgniuz thanks for the answer. i just type builin command :colorscheme nightfox & it applies but after reload my nvim colorscheme set to default. I used init.vim and it works great but i want try using lua((

  • @dopamine9176
    @dopamine9176 2 ปีที่แล้ว

    Hello, i'm follow your tutorial but my logo directory just questions logo, how to fix it?

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      You need to check if u have both this github.com/kyazdani42/nvim-web-devicons plugin installed and if u are using a nerd font. You can find nerd fonts here github.com/ryanoasis/nerd-fonts. You need both to display icons properly

  • @vitormelo22
    @vitormelo22 2 ปีที่แล้ว

    The command :luafile % does not update my settings, the use of folders for the modules is mandatory or I can do
    init.moon
    lua\mappings.lua
    or needs to be
    init.moon
    lua\mappings\init.lua

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      As far I as I know you don't need to have a special folders for each module, as long as the files go inside the lua folder you should be able to just require them. For example it you have a mymodule.lua file inside your lua folder, just add require('mymodule') inside your main init.lua

  • @113_bachtiardanuarta_b2
    @113_bachtiardanuarta_b2 2 ปีที่แล้ว +2

    Would be great if you use input capture for beginner like me :)

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว +1

      Yeah I completely forgot about that, will try and remember that for next time ;-)

  • @alexiosplomaritis9713
    @alexiosplomaritis9713 2 ปีที่แล้ว

    Hey man great video :) I have a question regarding the icons on the tree. I'm using kitty and even having the devicons installed i do not seem to get them visualised in the tree view. Is there any step that I might be missing? Clean ubuntu install if it matters

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว

      Thanks! Hmm .. What font are you using? Because thats the only reason I can think of at the top of my head. I dont actually know if is a requirement though, but I think you need to use nerd fonts for the devicons to work.

    • @alexiosplomaritis9713
      @alexiosplomaritis9713 2 ปีที่แล้ว +4

      @@tuffgniuz Installed nerd fonts and everything seems to be working now :)

  • @hosseines276
    @hosseines276 3 ปีที่แล้ว +1

    👌👌👌

  • @Morexod999
    @Morexod999 2 ปีที่แล้ว

    Pretty good

  • @horrorspidey7033
    @horrorspidey7033 2 ปีที่แล้ว +1

    Nice video

  • @samirxtz250
    @samirxtz250 2 ปีที่แล้ว

    perfectly

  • @CyperN077
    @CyperN077 2 ปีที่แล้ว

    Dumb? Can you use both, init.lua and init.vim?

    • @tuffgniuz
      @tuffgniuz  2 ปีที่แล้ว +1

      I dont think you can use both files at the same time. It is possible to embed lua code inside init.vim though