Git Product home page Git Product logo

dev-env's Introduction

Development Configurations

List of All Apps that needs

ripgrep
trash
fzf
fd
jq
jump
nightfall
scroll-reverser
rectangle
dozer
sd
alacritty
wezterm
lsd
notunes
  • Copy items in a text file, one item per line, and then run
xargs brew install < apps.txt
  • Install the rmtree to remove formulae and all their dependencies
brew tap beeftornado/rmtree
brew rmtree <packagename>
  • Enable fzf keybindings
# paste this and hit yes for all
$(brew --prefix)/opt/fzf/install

Pre-requisite

  • Install ripgrep brew install ripgrep
    • Need this for telescope grep
  • Install Trash brew install trash
    • To avoid error "trash.cmd" is not executable in nvim-tree
  • Install fd. brew install fd
    • venv selector needs fd to find the venv folder.
  • jq: Command Line Json processor
brew install jq
  • Git

  • a Nerd Font (optional)

  • Terminal: brew install alacritty

    • For mac, in the application folder, right click on the alacritty icon click Open & click Open again
  • To change the theme you need to create a sym link to the file you want with the following command.

    • run and re-start alacritty
    # for light theme
    ln -s ~/.config/alacritty/themes/light.toml ~/.config/alacritty/themes/my_theme.toml
    
    # for dark theme
    ln -s ~/.config/alacritty/themes/dark.toml ~/.config/alacritty/themes/my_theme.toml

Install

  • Backup Neovim Files
# required
mv ~/.config/nvim{,.bak}

# optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}
  • Clone the repo

Make sure to clone & spread the repo inside the .config folder

cd ~/.config # navigate to .config folder
git init  # initialize it as a git repo
git remote add origin [email protected]:xaaha/dev-env.git #  https://www.github.com/xaaha/dev-env
git fetch
git checkout -t origin/main

Zshrc Alias

# common commands
alias pn=pnpm
alias python=python3
alias pip=pip3
alias v="nvim"
alias lg=lazygit
alias ls=lsd

# common directories
alias dl="cd ~/Downloads"
alias dt="cd ~/Desktop"
alias dc="cd ~/Documents"
alias pp="cd ~/Documents/Projects"
alias pf="fzf  --preview='less {}' --bind shift-up:preview-page-up,shift-down:preview-page-down"

Useful Tools

  • Jump: To easily navigate between folders
brew install jump

After installation, put this in the .zshrc

eval "$(jump bash)"
  • zshrc plugins
plugins=(
 git
 zsh-autosuggestions
 zsh-syntax-highlighting
 )
  • Amazon CodeWhisperer (Command line Utility). Get here
  • After Installation, run
cw integrations install input-method
  • Nightfall: To easily switch between dark and light mode
brew install nightfall
  • Scroll Reverser: To make using mouse and mouse pad natural

  • Rectangle: Window Management

brew install --cask rectangle
  • Dozer: To sweep up all the items in the menu bar
brew install --cask dozer
  • sd: Search and Displace
brew install sd

dev-env's People

Contributors

xaaha avatar pthapa1 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.