Adib Hanna
Adib Hanna
  • Видео 28
  • Просмотров 264 067
How I configure Ghostty
In this video, I walk through my Ghostty terminal config.
Ghostty: ghostty.org/
My Config: gist.github.com/adibhanna/c552c452fb244b3b721e3c2432e85cde
Previous Ghostty video: ruclips.net/video/zSnxfh89LPw/видео.html
---
Twitter: Adib_Hanna
Newsletter: [dotfiles.substack.com/](dotfiles.substack.com/)
Neovim Course: neovimmastery.com/
Просмотров: 27 574

Видео

Accept Interfaces and Return Structs
Просмотров 797Месяц назад
In this video, you'll learn why passing an interface as a parameter instead of a struct is useful. (in Go) Twitter: Adib_Hanna Newsletter: [dotfiles.substack.com/](dotfiles.substack.com/) Neovim Course: neovimmastery.com/
12 Essential Linux Tools You Need To Learn About
Просмотров 1,1 тыс.Месяц назад
In this video, you'll learn about: 00:00 - Intro 00:10 - Sed: Efficiently edit and transform text streams. 02:25 - Awk: Scan and process patterns in text files. 05:07 - Grep: Search and filter text with precision. 07:13 - Cut: Extract specific sections from file lines. 08:00 - Sort: Organize text lines quickly and easily. 09:38 - Uniq: Identify and manage duplicate lines. 10:45 - Tr: Translate ...
Make Your Shell Prompt Great Again
Просмотров 3,2 тыс.Месяц назад
Starship: A minimal, blazing-fast, and infinitely customizable prompt for any shell! (starship.rs/) Twitter: Adib_Hanna Newsletter: dotfiles.substack.com/ Neovim Course: neovimmastery.com/
Neovim & Tmux - 4 Quality of Life Improvements
Просмотров 5 тыс.2 месяца назад
Neovim config: github.com/adibhanna/nvim Tmux config: gist.github.com/adibhanna/b5d57cc6ca9caf156a3add77d225bc19 Twitter: Adib_Hanna Newsletter: dotfiles.substack.com/ Neovim Course: neovimmastery.com/
How Im Using AI as a Developer
Просмотров 2,2 тыс.2 месяца назад
I'm changing the way I use AI tools! Twitter: Adib_Hanna Newsletter: dotfiles.substack.com/ Neovim Course: neovimmastery.com/
Directory-based Environment Variables (DirEnv)
Просмотров 1,2 тыс.3 месяца назад
direnv is an extension for your shell. It augments existing shells with a new feature that can load and unload environment variables depending on the current directory. DirEnv: direnv.net/ DirEnv stdlib: direnv.net/man/direnv-stdlib.1.html Twitter: Adib_Hanna Newsletter: dotfiles.substack.com/ Neovim Course: neovimmastery.com/
No More Concurrency Chaos
Просмотров 1,9 тыс.3 месяца назад
"singleflight provides a duplicate function call suppression mechanism." Docs pkg.go.dev/golang.org/x/sync@v0.8.0/singleflight Blog: victoriametrics.com/blog/go-singleflight/index.html Sharded singleflight: github.com/tarndt/shardedsingleflight Twitter: Adib_Hanna Newsletter: dotfiles.substack.com/ Neovim Course: neovimmastery.com/
Impressive Terminal Emulator! (Ghostty)
Просмотров 8 тыс.4 месяца назад
Ghostty Terminal Emulator! Ghostty Discord: discord.gg/ghostty Twitter: Adib_Hanna Newsletter: dotfiles.substack.com/ Neovim Course: neovimmastery.com/
Amazing New Neovim AI Plugin!
Просмотров 20 тыс.4 месяца назад
Neovim Plugin: github.com/yetone/avante.nvim Cursor: www.cursor.com/features Twitter: Adib_Hanna Newsletter: dotfiles.substack.com/ Neovim Course: neovimmastery.com/
Shallow vs Deep Copying in Go
Просмотров 8444 месяца назад
Difference between shallow and deep copying in Go. Twitter: Adib_Hanna Newsletter: dotfiles.substack.com/ Neovim Course: neovimmastery.com/
CLI Tools For Visualizing Data
Просмотров 11 тыс.6 месяцев назад
github.com/yassinebridi/serpl github.com/shshemi/tabiew fx.wtf/ github.com/fioncat/otree Twitter: Adib_Hanna Newsletter: dotfiles.substack.com/ Neovim Course: neovimmastery.com/
This Zed feature is unbelievably powerful!
Просмотров 19 тыс.8 месяцев назад
Zed Tasks: zed.dev/docs/tasks
NerdFonts: How to add icons to your font?
Просмотров 1,9 тыс.8 месяцев назад
Nerd Fonts www.nerdfonts.com/ SF Mono developer.apple.com/fonts/ Nerd Font Patcher github.com/ryanoasis/nerd-fonts
What font, colorscheme, terminal, etc… do I use?
Просмотров 4,9 тыс.8 месяцев назад
Fonts: berkeleygraphics.com/typefaces/ github.com/epk/SF-Mono-Nerd-Font github.com/tonsky/FiraCode vercel.com/font monaspace.githubnext.com/ www.jetbrains.com/lp/mono/ www.nerdfonts.com/font-downloads Catpuccin (gruvbox): github.com/catppuccin/nvim/discussions/323#discussioncomment-5287724 Neovim breadcrumbs: github.com/utilyre/barbecue.nvim Lualine so fancy: github.com/meuter/lualine-so-fancy....
Jetbrains can Vim
Просмотров 4,7 тыс.9 месяцев назад
Jetbrains can Vim
How I navigate code in Neovim
Просмотров 21 тыс.9 месяцев назад
How I navigate code in Neovim
Dependency Injection in Go
Просмотров 6 тыс.9 месяцев назад
Dependency Injection in Go
Porting Neovim Keymaps To Zed
Просмотров 15 тыс.9 месяцев назад
Porting Neovim Keymaps To Zed
The One Keyboard To Rule Them All
Просмотров 6 тыс.9 месяцев назад
The One Keyboard To Rule Them All
Go is AMAZING
Просмотров 3 тыс.Год назад
Go is AMAZING
Neovim Config 2024 (ASMR)
Просмотров 7 тыс.Год назад
Neovim Config 2024 (ASMR)
10 AWESOME CLI TOOLS TO SUPERCHARGE YOUR WORKFLOWS
Просмотров 26 тыс.Год назад
10 AWESOME CLI TOOLS TO SUPERCHARGE YOUR WORKFLOWS
Lua, the simplest language to learn
Просмотров 3,6 тыс.Год назад
Lua, the simplest language to learn
Neovim - Tips, Distros, Configuration and Demo
Просмотров 2,9 тыс.Год назад
Neovim - Tips, Distros, Configuration and Demo
My Development Setup (Neovim, Tmux, Alacritty & Rust-based CLI Tools)
Просмотров 53 тыс.Год назад
My Development Setup (Neovim, Tmux, Alacritty & Rust-based CLI Tools)
How to use Git Worktree
Просмотров 6 тыс.Год назад
How to use Git Worktree

Комментарии

  • @varungawande9321
    @varungawande9321 2 дня назад

    This might be a stupid question. But if i am on macos, what benefits does Ghostty offer over iterm2? In terms of performance and experience. Keep the "define everything in a config file" part aside.

    • @murlidhr
      @murlidhr День назад

      splits and libghostty

  • @aio2315
    @aio2315 3 дня назад

    Thank you very much. This is really helpful. Do you think you still need tmux with Ghostty?

    • @adibhanna
      @adibhanna 3 дня назад

      thank you! yeah! I don’t think Ghostty is able to replace Tmux just yet! Im also really used to tmux!

    • @aio2315
      @aio2315 3 дня назад

      Thank you for your reply. I am also very used to tmux. I was just wondering if this terminal was going to be a real game changer on it ^^

  • @AdrienBarret
    @AdrienBarret 4 дня назад

    it a really really nice plugin, far more better than cursor at some point as UI is more conveniant ....... but it's less "pro" than cursor which is logic but it lead to stay on cursor instead :/

  • @avramukk
    @avramukk 8 дней назад

    Hey, @adibhanna! Can you please share your ZED settings.json?

    • @avramukk
      @avramukk 8 дней назад

      My problem is code formatter. I dont understand att all how it works and how to configure it.

  • @gerhardm
    @gerhardm 15 дней назад

    Great video thanks! How do you split the filename and the path like you have done in telescope? With filename first, and path after?

  • @j1d7s
    @j1d7s 15 дней назад

    Very nice approach! I am into hiding as much as possible, too. I don't show the Tmux status bar at all, but it's a nice idea to be able to toggle it e.g. to show the branch info. I think I will take some inspiration from you.

  • @EhabSamir-nn7le
    @EhabSamir-nn7le 15 дней назад

    Thank you

  • @theedgardev
    @theedgardev 18 дней назад

    This is the best explanation I've seen so far! I understood DI, thanks!

    • @adibhanna
      @adibhanna 18 дней назад

      Glad it was helpful!

  • @Zorgatone
    @Zorgatone 21 день назад

    I copied parts from your configuration but it seems the cursor in my oh-my-zsh prompt is incorrectly shown as a line instead of a block as specified in the settings :/

    • @Zorgatone
      @Zorgatone 21 день назад

      I closed and reopened Ghostty a few times and then it worked!

    • @adibhanna
      @adibhanna 21 день назад

      @@Zorgatone glad it worked!

  • @EhabSamir-nn7le
    @EhabSamir-nn7le 23 дня назад

    Thank you

  • @muhamadfirhat3689
    @muhamadfirhat3689 23 дня назад

    Thank you! This helping me configure my keymaps, I got bit confused before.

  • @data01010
    @data01010 23 дня назад

    Thank you! This really helped get a base quick config going, much appreciated.

  • @ayushkumarsuryawanshi
    @ayushkumarsuryawanshi 27 дней назад

    Thanks

  • @Johnbin89
    @Johnbin89 27 дней назад

    I have started using Ghostty and I liked it. But I miss an option or I am too noob to find it. Where is the option to define the color at prompt ? e.g, a green color like ubuntu terminal showing active path like user@system: ~$. This line before cursor for me on ubuntu has the same color as text. bashrc have these forced_color_promt and TERM variable

  • @narz.e
    @narz.e 28 дней назад

    Cool setup! By the way I’m curious what’s the app to show key presses on the bottom right?

  • @act0r399
    @act0r399 29 дней назад

    here the way to put background image ?

  • @p10tube
    @p10tube 29 дней назад

    your videos got awesome vibe

  • @MichaelMerickel
    @MichaelMerickel 29 дней назад

    This is fantastic, thank you. I was looking for a way to use tmux-style bindings but with better macos integration and your cmd+s style matched my brain/setup perfectly! ty ty ty

    • @adibhanna
      @adibhanna 29 дней назад

      you’re so welcome!

  • @longhe1682
    @longhe1682 Месяц назад

    Nice video! Could pls tell me the key cast app you used ? Thx very much!

  • @DanMackAlpha
    @DanMackAlpha Месяц назад

    cool video, thanks for sharing - I wasn't sure how the shell-integration settings worked but your example got my cursor to come back 🙂

  • @khanra17
    @khanra17 Месяц назад

    Would you keep distance from the mic? its kinda annoying. feels like someone is speaking right in my ears and too much into my personal space.

  • @k3rnel_err0r
    @k3rnel_err0r Месяц назад

    Are you also using Starship?

    • @adibhanna
      @adibhanna Месяц назад

      yup! I think i made a video about it as well

    • @k3rnel_err0r
      @k3rnel_err0r Месяц назад

      @@adibhanna Have you noticed any decrease in the speed of Ghostty when using Starship? Just curious.

    • @adibhanna
      @adibhanna Месяц назад

      @@k3rnel_err0r so far no! but ill keep an eye on it! Starship is really fast, so I doubt it will slow things down

  • @omarelkhatib150
    @omarelkhatib150 Месяц назад

    Thank you, that's exactly was I was planning to do in my neovim config too

  • @mageshyt2550
    @mageshyt2550 Месяц назад

    thank you

  • @jankomuzykant2656
    @jankomuzykant2656 Месяц назад

    Hi, there is no need to use Berkeley as patched font with nerd symbols, you can just install Nerd Fonts symbols as separate font and ghostty will use it :)

    • @adibhanna
      @adibhanna Месяц назад

      I didn’t know that! I’ll look it up! thank you

  • @bashmanx
    @bashmanx Месяц назад

    Adib, I thought you would use neovim to code. Or do you use vscode (or its variants) to code Go?

    • @adibhanna
      @adibhanna Месяц назад

      I still use Neovim, but I like to experiment with other editors every now and then. For my Go work, I still like using Goland, it has the most complete support for the language imo, and their IdeaVim plugin is one of the best for Vim motions

  • @money4nothing449
    @money4nothing449 Месяц назад

    as always your videos are simple and effective, thanks for this teaching style I can't abandon iTerm2 because I use profiles a lot and especially the hotkey window, I find opening a window always in the foreground very useful, I don't think ghostty has this function yet and as soon as it is there I will switch to it immediately I wanted to ask you what software you use to view the pressed keys on the bottom right corner and which one you use to make the yellow arrows along the screen

    • @adibhanna
      @adibhanna Месяц назад

      Ive used iTerm2 profiles a lot in the past, somehow Tmux managed to replace that need! iTerm2 is great!

  • @behnamheimer
    @behnamheimer Месяц назад

    how do you assign a global keeb shortcut to show/hide the ghostty window?

    • @adibhanna
      @adibhanna Месяц назад

      I have Hyper key configured on my keyboard, and I use Raycast to set a shortcut for it

    • @behnamheimer
      @behnamheimer Месяц назад

      @@adibhanna Thanks, I just did that!

  • @xExekut3x
    @xExekut3x Месяц назад

    "cross-platform terminal emulator" .. only unix-compatible versions... looks cool, though, i suppose

    • @bob_kazamakis
      @bob_kazamakis Месяц назад

      One guy built it, if you aren’t happy with it, contribute… Why you choose to punish yourself using Windows is the bigger mystery

    • @bibekshah3701
      @bibekshah3701 Месяц назад

      Cross platform means more than one platform. Nobody on windows even uses a terminal, so why waste effort there

    • @brice.rhodes
      @brice.rhodes 16 дней назад

      if you look at the timeline windows is planned, please do your research

    • @xExekut3x
      @xExekut3x 15 дней назад

      @@brice.rhodes yeah, didn't look that far. just looked at current releases. good to know, though. i'll def give it a go once it's released.

  • @leotsuda
    @leotsuda Месяц назад

    Wait.... these tmux-like keybinds are sick. I'll keep using Ghostty + tmux because it's easier to navigate through sessions/tabs but good to know Ghostty can do this action keybinds too.

    • @Adrian_Galilea
      @Adrian_Galilea Месяц назад

      It would be best if it showed in a popup window what your options are, kind of like helix editor does.

  • @GeoffreyLentner
    @GeoffreyLentner Месяц назад

    Okay, so I've always been calling these "Ghost-Tee-Tee-Why" and "Kit-Tee-Tee-Why".

  • @lefrax762
    @lefrax762 Месяц назад

    They look equals in terms of area. I wouldn't be surprised if each split shows roughly the same quantity of characters.

    • @adibhanna
      @adibhanna Месяц назад

      yup! I realized that after i recorded the video

  • @jamesbarrow
    @jamesbarrow Месяц назад

    Yeah, this aspect of testing is the power of introducing interfaces in other languages as well. The decoupling, and the ability to test “what” is done without being aware of “how” it’s done. Two great reasons to introduce it.

  • @Technoyote
    @Technoyote Месяц назад

    Thank you for sharing your config plus the nice font! The `display-p3` colorspace is mostly enabled by hardware. Apple monitors always have a wide color gamut so it will look good.

  • @11WicToR11
    @11WicToR11 Месяц назад

    i have one issue with tmux, and that is it fails to find text in very long lines (sometimes, which is even scarier) ...i found issue for that and there is no progress. So i was thinking, if you feel like this could replace that tool for me. We missing sessions and scrollback search at this point, am i right?

    • @brice.rhodes
      @brice.rhodes 16 дней назад

      sessions are not planned anytime in the near future, scrollbar and search are though

  • @khunjame7
    @khunjame7 Месяц назад

    What app that you use to point the arrow around ?

    • @adibhanna
      @adibhanna Месяц назад

      it’s called Presentify

  • @murtadha96
    @murtadha96 Месяц назад

    It's available on Homebrew (I watched the CI for adding it to the core tap in real time on release day)

  • @dkr91
    @dkr91 Месяц назад

    Nice, but not getting the rebinding of the tabs and navigating tabs to a more complex sequence instead of the native keybindings.

    • @adibhanna
      @adibhanna Месяц назад

      I think you can still use the native ones! I use Tmux most of the time, so I wanted something that would feel the same

  • @AKHU412
    @AKHU412 Месяц назад

    The video I was waiting for, ty

  • @TheShprota
    @TheShprota Месяц назад

    i've been using codeuim, though i do use only code completion for boiler parts. which have been nice

  • @didi098710
    @didi098710 Месяц назад

    I'd love Ghostty and i have switched from kitty. I just got one problem,how to set the background image in Ghostty?

    • @adibhanna
      @adibhanna Месяц назад

      hmm I'm not sure you can!

  • @EternalKernel
    @EternalKernel Месяц назад

    I can't seem to find a way to have it apply the changes to the code, I have to do everything manually?

  • @himanshu010
    @himanshu010 Месяц назад

    The font looks sick. Which one is it?

  • @pablomarelli2778
    @pablomarelli2778 Месяц назад

    Good video! For anyone trying this out, remember to reload .ideavimrc after modifying, Cmd + Shift + I in MacOS. Just dealed with that for a while until I found out

  • @arijitgogoi5653
    @arijitgogoi5653 Месяц назад

    First.

  • @coolemur
    @coolemur Месяц назад

    👍 Great explanation and very useful to save some typing for frequent commands Zed is lacking for esential features tho. Git diffs, git history, deboogers 😔this is just some of things that prevents me from fully transitioning to using Zed

  • @matheusalexandre3759
    @matheusalexandre3759 Месяц назад

    Can someone provide a valid invite to discord, pleease?

  • @avramukk
    @avramukk Месяц назад

    Thank you for the video) But I saw about ~20 videos like that, and I still can`t remember even simple arguments for these commands. Do you really use it in your daily tasks?) Because I see even on the video you just paste it into the terminal prepared command) But you know, when you need to sort something inside file, you should spend a bit of time to generate these commands, so maybe just open Vim for a second and do :s/word/newword/gc even with confirmation. I can truly say, that I will never remember "was -F',' '{sum +=$2}; count =+1} END ........' "

    • @avramukk
      @avramukk Месяц назад

      btw, how is shiaring your dotfiles moving?) I really like your minimalistic setup.

    • @adibhanna
      @adibhanna Месяц назад

      I don’t use these daily no! i had to prepare the video in advance and use some notes. My goal is to show people what’s available. I usually use some here and there, and I use AI to figure out how to do it!

  • @GustavoDiaz93
    @GustavoDiaz93 Месяц назад

    Great video thank you

    • @adibhanna
      @adibhanna Месяц назад

      Glad you liked it!

  • @jankomuzykant2656
    @jankomuzykant2656 Месяц назад

    Hi, which tool do you use to draw arrows etc. ? btw. thanks for all the videos, I think that I watched almost all of them and learned a lot from you.

    • @adibhanna
      @adibhanna Месяц назад

      Thank you! Im using an App called Presentify