This is a repo to store my dotfiles. To install, checkout this in ~/dotfiles, cd into it and run stow ..
If you don't have GNU stow, install it using your package manager first (brew on mac)
Once stow is available, from this repo checkout folder, run
stow nvim
stow ohmyposh
stow home
stow atuin
stow weztermThe dotfiles_installer folder contains some installation scripts.
- /dotfiles_installer/install-dependencies.sh: Install some dependencies using brew on OSX or APT on Ubuntu
- /dotfiles_installer/configure-git.sh: Set the username and email for git
Here is a short list of the different plugins installed and how to use them.
- CTRL+R allows you to search in the command history with Atuin database
- CTRL+T allows you to search for a file in the current directory (or sub-directories)
cd ...will show you a list of all the parent folder. If you select one, it will move you in this directory- [folder name], instead of tying
cd folderyou can just type the folder name to navigate into it z [folder]is using Zoxide to do fuzzy jump across folders
copydirwill copy the path of the current directory in the clipboardcopyfile [file]will copy the content offileinto the clipboard[command] | clipboardwill pipe the command result into the clipboard (osx only)
kis an git enhanced version ofls- many aliases:
git addf: add individual files to the index (use TAB to select the files)git switch: show the list of recent branches to switch togit publish: push the current branch to a branch with the same name on origingit fpush: likepublishbut as force pushgit wip: Commit everything with a message 'WIP'git undo-commit: Undo last commitgit nb [branch-name]: Create a branch and checkout it immediately (nb = new branch)git s: statusgit a: addgit co: checkoutgit cm: commit and amendgit rea: abort rebasegit rec: continue rebasegit delete-merged-branches: Delete merged branches. THIS IS POTENTIALLY DANGEROUS. BRANCHES MERGED BUT WITH LATER COMMIT MIGHT BE DELETEDgit lgp: an interactive git history using fzf, with preview
- the default diff has been replaced with diff-so-fancy, providing a better experience
pecois like grep but with interactive filtering capabilitiesfzfis a selection tool. You can pipe lines to it and it will allow you to select somencduis a better version ofduto find out how big is a folder and sub-folderhtopis a better version of topbatis a better version ofcat. An alias is done to usebatwhen typingcatdirenvis not a command, but an automatic process. If you enter a folder with a.envrcfile, the variable in the file are automatically exposed. When you leave the folder, they are removed