My Neovim configuration in 2024

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 64

  • @ascourter
    @ascourter  4 місяці тому +4

    What are your favorite plugins in Neovim?

    • @vsadrn
      @vsadrn Місяць тому

      oil.nvim had the most impact on my workflow :)

  • @user-uh3zr7mo4i
    @user-uh3zr7mo4i 4 місяці тому +4

    I just love your config. I was using your old config, time to change :p
    ps. we need more vim/productivity content

    • @ascourter
      @ascourter  4 місяці тому

      @@user-uh3zr7mo4i thanks! I'll queue up some more productivity and vim stuff!

  • @iduran
    @iduran 4 місяці тому +2

    I do use mini.files and it is quite nice. I also have oil installed but don't use it that often, however I like your oil config in a floating window, kind of similar to mini.files. So I will borrow your oil config to compare it with mini.files more in depth. Great content, keep it up!

  • @vsadrn
    @vsadrn Місяць тому +1

    Great video, for clearing your screen while the program is running, you can add a bind to your tmux config, like
    ``` bind l send-keys -R

  • @rwz
    @rwz 4 місяці тому

    Very nice, didn't know couple of the telescope ones, and the changes one. Ty! 👍

  • @kuhree
    @kuhree 4 місяці тому

    great vid! grabbed a few new plugins and learned a couple things about some old ones

    • @ascourter
      @ascourter  4 місяці тому

      @@kuhree glad to here! Now you'll have the problem of too many plugins like me! 🤣

  • @JefCollier
    @JefCollier 3 місяці тому +1

    I need you to know that I haven't started this video yet. But I'm obsessed with seeing everyone's configs despite keeping mine in a frozen state for almost 6 weeks now.
    Thanks in advance for feeding my vice. I have a real problem, mate.

    • @ascourter
      @ascourter  3 місяці тому +1

      @@JefCollier haha glad I could be of assistance 😂

    • @JefCollier
      @JefCollier 3 місяці тому

      @@ascourter Returning for that good ole post-watch Like.
      A lot of this feeds my feeling of being validated that we rely on a lot of the same plugins. Like many self-taught Vim users, I only know what I know. I've been using gitsigns since day 1, but I've been sleeping on [c. This is the second time I've felt the need to play with floatterm, but I'm hesitant because I usually just split planes in tmux, then toggle the max size back and forth when I want to go back to nvim.

  • @comosaycomosah
    @comosaycomosah 3 місяці тому

    neovim fren! i got suckered into the alluring lies of ai editors and been trying cursor and zed but tbh i dont much like um...i reckon i like zed better but the ai otions for neovim are way better i actually think especially for brokies lol aider and supermaven are pretty nice...and gah ghostty yea been wanting to try this....channel is fire bro keep it up...i have mine setup to clear with crt l 3:35

    • @ascourter
      @ascourter  3 місяці тому +1

      @@comosaycomosah thank you!!

    • @comosaycomosah
      @comosaycomosah 3 місяці тому

      @@ascourter definitely bro!

  • @_elevated_
    @_elevated_ 3 місяці тому

    Yazi has been a game changer for me. Love using it with kitty.

  • @GokuSan389
    @GokuSan389 3 місяці тому

    Hi, nice video. This is what I have in tmux for clearing scrollbuffer history and terminal screen, works like a charm for me heheh...
    # Clear scrollbuffer history and terminal screen
    bind-key -T prefix l send-keys -R C-l \; clear-history

  • @noomondai
    @noomondai 4 місяці тому

    Thanks Andrew!

    • @noomondai
      @noomondai 4 місяці тому

      Very jealous that you got access to ghostty

  • @alextegelid
    @alextegelid 3 місяці тому +2

    You mentioned vim-fugitive. You should really look into integrating lazygit into neovim. It's so convenient!

    • @ascourter
      @ascourter  3 місяці тому

      Thanks! I will check this out!

  • @Bruce-t6y
    @Bruce-t6y 2 місяці тому

    Hello,I want to ask you how to generate the neovim ,4:08,which website,which format!l love it so much 🎉🎉🎉

    • @ascourter
      @ascourter  2 місяці тому

      @@Bruce-t6y add dashboard-nvim. Here's my config for it: github.com/exosyphon/nvim/blob/7fc50a09d7e1b8a472c758b391e352cb17ffc6d5/lua/plugins.lua#L149

  • @rossvold
    @rossvold 4 місяці тому

    It's rare to find a non Ghostty terminal on youtube these days. Genious marketing scheme by the creator of it!

  • @Klvn4L
    @Klvn4L 2 місяці тому

    When you open your file explorer on, there's this border that runs around the window(or tab) with the current dir at rhe top left. How did you set that up? 04:20

    • @ascourter
      @ascourter  2 місяці тому

      @@Klvn4L I believe that is tmux. Check out my latest video on setting that up

  • @shimadamada7758
    @shimadamada7758 3 місяці тому

    im really having trouble setting up kitty and tmux. i think a video on it could help me and a lot of people out!

  • @Alexandros_CG
    @Alexandros_CG 4 місяці тому

    Hi! I had the same problem with Tmux and the way I fixed is this:
    " bind L send-keys 'C-l' "
    In my case my prefix is "Ctrl + a" and then I use the previous command. Hoply this help

  • @BorislavAnchev
    @BorislavAnchev 4 місяці тому +1

    Clear screen on tmux: crtl+b followed with Ctrl+l

    • @ascourter
      @ascourter  4 місяці тому +1

      Hmm this doesn't seem to do anything for me... Does this run a tmux command that I could try manually?

    • @lpanebr
      @lpanebr 4 місяці тому

      I had that issue. Added this to my tmux.conf and then I can do c+prefix c+l
      bind C-l send-keys 'C-l'

    • @BorislavAnchev
      @BorislavAnchev 4 місяці тому +2

      @@ascourter sorry, add `bind C-l send-keys -R \; send-keys C-l \; clear-history` to your tmux.conf, before trying

    • @ascourter
      @ascourter  3 місяці тому

      @@BorislavAnchev Thank you!

  • @yuxiang4218
    @yuxiang4218 4 місяці тому

    nice video!

  • @muizzyranking
    @muizzyranking 4 місяці тому +1

    Im very curious as to why your plugins are not lazy loaded.

    • @ascourter
      @ascourter  4 місяці тому +1

      @@muizzyranking good question! I have it not lazy at the global level and then individual plugins I have configured to be lazy loaded differently. Might be a fun experiment to see if I can switch it to lazy at the top level and see what breaks.

  • @Mikkysam52
    @Mikkysam52 2 місяці тому

    be honest, this was a flex on the ghostty invite 🌚

    • @ascourter
      @ascourter  2 місяці тому +1

      @@Mikkysam52 lol. I think it will get released soon publicly 🤞

  • @VČ-u9z
    @VČ-u9z Місяць тому

    Thanks for tutorial, like your config. I use same one but got below two issues with it:
    • Error image.nvim: magick rock not found, please install it and restart your editor. Error: "loop or previous error loading module 'magick'"
    • [mason-spconfig.nvim] Server "typescript-language-server" is not a valid entry in ensure_installed. Make sure to only provide Ispconfig server names.

    • @ascourter
      @ascourter  Місяць тому +1

      @@VČ-u9z thanks for letting me know! I need to remove that typescript server. Not sure why you're getting that magick one though, I'll check that.

    • @VČ-u9z
      @VČ-u9z Місяць тому

      @@ascourter I installed
      brew install imagemagick, does not resolve issue
      also tried `luarocks --lua-dir=$(brew --prefix luajit) install magick` but same
      no idea really why this happens
      Also recently got omnisharp issue
      [ERROR Mon Dec 16 09:33:26 2024] ...m/lazy/mason-lspconfig.nvim/lua/mason-lspconfig/init.lua:33: Failed to set up lspconfig integration. ...ig.nvim/lua/mason-lspconfig/server_config_extensions.lua:4: module 'lspconfig.server_configurations.omnisharp' not found:No LuaRocks module found for lspconfig.server_configurations.omnisharp
      no field package.preload['lspconfig.server_configurations.omnisharp']
      cache_loader: module lspconfig.server_configurations.omnisharp not found
      cache_loader_lib: module lspconfig.server_configurations.omnisharp not found
      no file './lspconfig/server_configurations/omnisharp.lua'
      no file '/opt/homebrew/share/luajit-2.1/lspconfig/server_configurations/omnisharp.lua'
      no file '/usr/local/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua'
      no file '/usr/local/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua'
      no file '/opt/homebrew/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua'
      no file '/opt/homebrew/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua'
      no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua'
      no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua'
      no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/lua/lspconfig/server_configurations/omnisharp.lua'
      no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/lua/lspconfig/server_configurations/omnisharp/init.lua'
      no file '/Users/user1/.luarocks/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua'
      no file '/Users/user1/.luarocks/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua'
      no file './lspconfig/server_configurations/omnisharp.so'
      no file '/usr/local/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so'
      no file '/opt/homebrew/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so'
      no file '/usr/local/lib/lua/5.1/loadall.so'
      no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so'
      no file '/Users/user1/.luarocks/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so'
      no file './lspconfig.so'
      no file '/usr/local/lib/lua/5.1/lspconfig.so'
      no file '/opt/homebrew/lib/lua/5.1/lspconfig.so'
      no file '/usr/local/lib/lua/5.1/loadall.so'
      no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/lib/lua/5.1/lspconfig.so'
      no file '/Users/user1/.luarocks/lib/lua/5.1/lspconfig.so'

    • @VČ-u9z
      @VČ-u9z Місяць тому

      @@ascourter ​I installed lua with brew
      ❯ brew install lua luarocks
      Warning: lua 5.4.7 is already installed and up-to-date.
      To reinstall 5.4.7, run:
      brew reinstall lua
      Warning: luarocks 3.11.1 is already installed and up-to-date.
      To reinstall 3.11.1, run:
      brew reinstall luarocks

    • @VČ-u9z
      @VČ-u9z Місяць тому

      @@ascourter thanks for reply, I have below issue with magick
      image.nvim 25.9ms start
      lua version 5.1 needed, but found Lua 5.4.7
      lua5.1 or lua or lua-5.1 version 5.1 not installed
      --
      but installed it with brew
      ❯ brew install lua luarocks
      ==> Downloading...
      Warning: lua 5.4.7 is already installed and up-to-date.
      To reinstall 5.4.7, run:
      brew reinstall lua
      Warning: luarocks 3.11.1 is already installed and up-to-date.
      To reinstall 3.11.1, run:
      brew reinstall luarocks

  • @maratiakupov4730
    @maratiakupov4730 4 місяці тому

    Is there any plugin like sesh for powershell? 👀

    • @ascourter
      @ascourter  4 місяці тому

      Good question. I don't believe so but I will double check if Josh Medeski knows of anything.

  • @piotrkucharski465
    @piotrkucharski465 3 місяці тому

    Which keyboard do you use?

    • @ascourter
      @ascourter  3 місяці тому

      The one I use the most now is a 40% Campsite. trashman.wiki/community/cases/campsite

  • @AdrielVelazquez
    @AdrielVelazquez 4 місяці тому +5

    I just swtiched to lsp-zero from mason (removing Mason completely). NixOS did not like how Mason handles binary downloading, and it was honestly more of a headache in general.

    • @ascourter
      @ascourter  4 місяці тому +3

      Oh that is really interesting. I haven't done anything with Nix yet. So you are using NixOS to download the binaries instead of Mason?

    • @AdrielVelazquez
      @AdrielVelazquez 4 місяці тому

      @@ascourter yup exactly.

    • @NeoAemaeth
      @NeoAemaeth 2 місяці тому

      Ran into the same wall with mason. I I ended up using nixCats for managing dependencies and plugins, with lzn for lazy-loading. The docs for nixCats are quite all over the place but it's actually quite a genius system imo.

  • @yousifalfaki4389
    @yousifalfaki4389 2 місяці тому

    i love how you say the video about installation of nvim and you talk about tumx and your terminal setup

    • @ascourter
      @ascourter  2 місяці тому

      I shared additional context for people who aren't familiar with tmux or Kitty

  • @rafalk0
    @rafalk0 3 місяці тому

    Nice setup! Tmux is a bit intimidating, I wish zellij wasn't that ugly...

    • @ascourter
      @ascourter  3 місяці тому

      Thanks! What is most intimidating about tmux for you? (maybe I can make a video on this)

    • @rafalk0
      @rafalk0 3 місяці тому

      @@ascourter I guess it's a combination of things that make the barrier of entry higher, like non-intuitive keybindings, complex configuration and the lack of visual feedback. I prefer zellij for those reasons, but tmux just looks so much better 😅

  • @cody_codes_youtube
    @cody_codes_youtube 4 місяці тому +2

    SECOND!- aside from your pin comment

  • @moon-0
    @moon-0 4 місяці тому +1

    I use mini.files! and it is amazing! It's comparable to oil, but in my opinion a nice mixture of oil and neotree or nvimtree. The functionality of oil but the clean look of nvimtree and neotree!
    I love your videos!

    • @ascourter
      @ascourter  4 місяці тому +1

      @@moon-0 nice! I'm eager to check mini.files out! Thanks for the kind words. 😊