Skip to content

👾 terminal-centric setup for hackers

Notifications You must be signed in to change notification settings

flaviomilan/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Dotfiles for a Terminal-Centric Life

Welcome to my dotfiles! This is where the magic happens for all the terminal lovers out there. If you live in the terminal and want to make it even more awesome, you've come to the right place! These dotfiles are packed with tools and keymaps to make your command-line life smoother, faster, and, dare I say, cooler.

🛠️ Terminal Utilities

Here's the squad of tools that'll supercharge your terminal:

  • mise: Dev tools, environment variables, task runner — it's like your terminal's personal assistant.
  • fzf: 🌸 A fuzzy finder that lets you find stuff faster than you can say "I love my terminal."
  • fd: A snappy alternative to find. It’s like find, but faster and cooler.
  • bat: A cat clone with wings! Display your files with style.
  • tldr: 📚 Collaborative cheatsheets for your terminal commands. Because who doesn’t forget grep options sometimes?
  • zoxide: A smarter cd command that actually knows where you’re going. No more hunting for directories!
  • eza: ls on steroids. A modern twist on listing files.
  • git-fzf: Git + fzf = pure joy. Navigate your Git history like a boss.
  • lazygit: A Git UI that’s so simple, you’ll wonder why you ever used Git the old way.
  • starship: ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

🎮 Keymap

Here’s where the real fun begins: key bindings and shortcuts to make you feel like a terminal ninja. These keymaps are optimized to work perfectly with the tools listed above. Get ready for some serious terminal speedrunning!

fzf

  • CTRL-T: Trigger fuzzy file search (using fd for file navigation)
  • ALT-C: Trigger fuzzy directory search (using fd for directories)
  • CTRL-R: Trigger reverse search (history search)

fzf-git

  • CTRL-GCTRL-F for Files
  • CTRL-GCTRL-B for Branches
  • CTRL-GCTRL-T for Tags
  • CTRL-GCTRL-R for Remotes
  • CTRL-GCTRL-H for commit Hashes
  • CTRL-GCTRL-S for Stashes
  • CTRL-GCTRL-L for reflogs
  • CTRL-GCTRL-W for Worktrees
  • CTRL-GCTRL-E for Each ref (git for-each-ref)

🛠️ Aliases

These aliases are designed to save you time and make your terminal experience even smoother:

  • tree → View your directories like a pro
  • dtree → For directories only, no files!
  • lg → Because who doesn’t want a simple Git UI?

git

  • ga → git add . (Add all the things)
  • gs → git status -s (Quick status, because you’re efficient)
  • gc → git commit -m (Commit messages made easy)
  • gp → git pull origin main --rebase (Keep your branch fresh)
  • glog → See all your commits with style

🛠️ Setup

Mac - iTerm2 theme

Getting rid of the ugly title bar 💩

iTerm2 Preferences: Appearance > General > Theme: Minimal

Hide scrollbars

iTerm2 Preferences: Appearance > Windows > Hide scrollbars

Install Snazzy theme

(curl -Ls https://raw.githubusercontent.com/sindresorhus/iterm2-snazzy/main/Snazzy.itermcolors > /tmp/Snazzy.itermcolors && open /tmp/Snazzy.itermcolors)

iTerm2 Preferences: Profiles > Color > Colo Presets: Snazzy

📜 License

These dotfiles are open-source and licensed under the MIT License. Feel free to use, modify, and enjoy! See the LICENSE file for more details.

About

👾 terminal-centric setup for hackers

Topics

Resources

Stars

Watchers

Forks