Contains various configuration and init scripts that I use for local development
- Dracula Terminal.app theme
- pure zsh prompt
- git completion
Package | Description |
---|---|
fzf | CLI fuzzy finder |
bat | Better cat |
zsh-syntax-highlighting | Like in fsh |
neovim | Vim-fork |
direnv | Dynamic env var loading |
diff-so-fancy | Better git diff |
the_silver_searcher | Grep for code search and fzf |
rg | Alternative to ag |
rga
is most accessible via therga-fzf
command, which will search the provided text in all compatible files, unlikefzf
which will by default search for file names and not their contents. Keyboard shortcut in shell: Ctrl + f.Install instructions:
# Install rust > brew install rustup-init > rustup-init # Enable nightly toolchain > rustup toolchain install nightly # Install nightly version of rga > cargo +nightly install --git https://github.com/phiresky/ripgrep-all.git
Shortcut | Description |
---|---|
ZZ | Write current file, if modified, and quit |
ZQ | Quit without checking for changes |
jk | Escape from insert and terminal modes |
ci' | Change inside single quotes |
ci{ | Change inside braces |
,z | Bring up zsh terminal in split view |
,p | Run Prettier on buffer |
,t | Toggle tree viewer |
,n | Find current file in tree viewer |
,f | Ack in all subdirectories |
m | While selecting node in tree view to bring up menu |
,,s | Search for character |
,,w | Go to word |
,osfu | C# find usages |
,osfi | C# find implementations |
,osca | C# code actions |
,os= | C# code format |
,osre | C# restart server |
gd | C# go to definition |
Ctrl + p | Bring up fuzzy file finder |
Ctrl + b | Bring up fuzzy buffer finder |
Ctrl + w , = | Resize split evenly |
Ctrl + w , Ctrl + r | Swap split windows |
:bd | Delete buffer |
Shortcut | Description |
---|---|
Ctrl + r | Search command history |
Ctrl + t | Find file |
Ctrl + f | Search file contents in all subdirectories |