Giter Club home page Giter Club logo

dotfiles's Introduction

Dotfiles

Setup:

  • Alacritty (or wezterm)
  • Tmux
  • neovim (0.6)
  • Oh-my-zsh
  • Starship prompt
  • yabai (tiling manager for macOS)
  • kmonad (wip keyboard remapping)

Installation

git clone --bare [email protected]:DanielCardonaRojas/dotfiles.git $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
config config --local remote.fetch "+refs/heads/*:refs/remotes/origin/*"
config for-each-ref --format='%(refname:short)' refs/heads | xargs -n1 -I{} git branch --set-upstream-to=origin/{} {}
config checkout

Other installations steps

ln -s /Applications/Alacritty.app/Contents/MacOS/alacritty /usr/local/bin

Install binaries

Most binaries are installed with nix package manager through home-manager

~/.config/scripts/install-home-manager.sh

Install VictorMono, FiraCode, and Caskaydia Cove, Nerd Fonts from here

Install yabai :

brew install koekeishiya/formulae/yabai

# start yabai
brew services start yabai

skhd will try to use hyper key for most operations this is enabled by installing karabiner elements.

Automated install (WIP):

sh -c "$(curl -fsSL https://raw.githubusercontent.com/DanielCardonaRojas/dotfiles/master/dotFilesConfig.sh)"

Neovim configuration

Latest neovim release is used so install with homebrew if version not available as nix package.

Language servers

Documentation as to how to setup most Language servers is available here

Here are some of the ones used in this config:

Kmonad setup (Incomplete)

  • Give input monitoring permission to kmonad
sudo cp ~/.config/com.decaroj.startup.plist /Library/LaunchAgents/
sudo chown root:wheel /Library/LaunchAgents/com.decaroj.startup.plist
sudo launchctl load /Library/LaunchDaemons/com.decaroj.startup.plist

Check if running: sudo launchctl list | grep kmonad

Restart with

sudo launchctl stop local.kmonad # Will leave you with unresponsive keyboard (use keyboard preview)
sudo launchctl start local.kmonad

Dotfiles management

config is a git alias used to work with these dotfiles reference

config add -f <filename>

Extras

zsh plugins

git clone https://github.com/jeffreytse/zsh-vi-mode \
  $HOME/.oh-my-zsh/custom/plugins/zsh-vi-mode

Resources

dotfiles's People

Contributors

danielcardonarojas avatar saraolaya avatar

Watchers

 avatar  avatar  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.