Giter Site home page Giter Site logo

ofer987 / dotfiles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skwp/dotfiles

0.0 1.0 1.0 4.47 MB

These are my dotfiles, containing configurations for a macOS environment: Tmux, Fish, Neovim, Karabiner. Originally forked from @skwp's dotfiles.

License: BSD 2-Clause "Simplified" License

Ruby 34.24% Shell 45.20% Vim Script 20.16% JavaScript 0.30% Python 0.09%

dotfiles's Introduction

Installation Instructions

Technology Install Command Latest Instructions
iTerm2 N/A https://iterm2.com
Brew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"; https://github.com/Homebrew/brew
Neovim brew install neovim; https://github.com/neovim/neovim
Vim brew install vim; https://github.com/vim/vim
Tmux brew install tmux;
Fish brew install fish; https://fishshell.com/
zoxide brew install zoxide https://github.com/ajeetdsouza/zoxide
fzf brew install fzf https://github.com/junegunn/fzf
Fisher curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher; https://github.com/jorgebucaran/fisher
Karabiner N/A https://github.com/pqrs-org/Karabiner-Elements
Pry gem install pry; https://github.com/pry/pry
NVM curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash; https://github.com/nvm-sh/nvm
Git Scripts N/A Set the GitHub Personal Authentication Token as env -x GITHUB_TOKEN <personal-pat> in ~/.yadr/fish/config.personal.fish

Configuration Instructions

Git-scripts submodule

  1. git submodule update --recursive;

Fish and Starship

  1. mkdir -p -- ~/.config;
  2. ln -s ~/.yadr/fish ~/.config/fish;
  3. ln -s ~/.yadr/starship.toml ~/.config/starship.toml;
  4. curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher;
  5. fisher install edc/bass;
  6. fisher install oh-my-fish/theme-coffeeandcode;
  7. fisher install dracula/fish;

Make Fish be the Default Shell

  1. Add the result of which fish to /etc/shells
  2. chsh -s $(which fish) in Bash

iTerm2

  1. Load settings from ~/.yadr/iTerm2, Preferences -> General -> Preferences

Starship Cross-shell Prompt

  1. Follow the instructions at https://starship.rs/
  2. Install the NerdFont FiraCode font for iTerm2

Node && Yarn

  1. nvm install 14.17
  2. nvm install 18.14
  3. ln -s ~/.yadr/nvmrc ~/.nvmrc
  4. npm install --global yarn

IntelliJ IDEA

  1. defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false

.NET Core

Install from Microsoft.

Install in the home directory (~) on Thomson Reuters computers because of permissions.

Python

  1. Install pyenv, brew install pyenv
  2. Install pipx, brew install pipx, and follow extra instructions at https://pypi.org/project/pipx/
  3. Install pipenv, pipx install pipenv

Neovim and Vim

Install both Neovim and Vim via Brew, and then run,

  1. pip3 install pynvim --upgrade
  2. yarn global add neovim
  3. gem install neovim

Configure GitHub Copilot

  1. :Copilot setup
  2. :Copilot enable

vim-plug

  1. Install vim-plug, https://github.com/junegunn/vim-plug, for both Neovim and Vim

Plugins

  1. ln -s ~/.yadr/vim ~/.vim;
  2. ln -s ~/.yadr/vimrc ~/.vimrc;
  3. mkdir -p -- ~/.config/nvim;
  4. ln -s ~/.yadr/vimrc ~/.config/nvim/init.vim;
  5. ln -s ~/.yadr/vim/spell ~/.config/nvim/spell;
  6. nvim +PlugClean +PlugInstall +PlugUpdate;
  7. vim +PlugClean +PlugInstall +PlugUpdate;
  8. vim +OmniSharpInstall;

Language Servers

  1. gem install rubocop;
  2. ln -s ~/.yadr/rubocop/config.yml ~/.rubocop.yml;
  3. ln -s ~/.yadr/ruby/ruby-version ~/.ruby-version;
  4. npm install -g vim-language-server;
  5. gem install solargraph;
  6. mkdir -p ~/.config/solargraph;
  7. ln -s ~/.yadr/solargraph.yml ~/.config/solargraph/config.yml;
  8. pip install python-language-server;
  9. npm install -g typescript typescript-language-server;
  10. npm install -g bash-language-server;
  11. npm install -g vscode-css-languageserver-bin;
  12. npm install -g vscode-html-languageserver-bin;
  13. npm install -g dockerfile-language-server-nodejs;
  14. brew install llvm;
  15. ln -s ~/.yadr/nvmrc ~/.nvmrc
  16. For TypeScript (via CoC):
  17. execute in Neovim: :CocInstall coc-tsserver
  18. execute in Neovim: :CocInstall coc-css
  19. execute in Neovim: :CocInstall coc-json
  20. execute in Neovim: :CocInstall coc-solargraph
  21. execute in Neovim: :CocInstall coc-powershell
  22. execute in shell: ln -s ~/.yadr/coc-settings.json ~/.config/nvim/coc-settings.json;

Configure Solargraph by following its documentation

Git

  1. ln -s ~/.yadr/git/gitconfig ~/.gitconfig

Tmux

  1. git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm;
  2. ~/.tmux/plugins/tpm/tpm;
  3. ln -s ~/.yadr/tmux/tmux.conf ~/.tmux.conf;
  4. ln -s ~/.yadr/tmux/tmux.user.conf ~/.tmux.user.conf;
  5. Run ~/.tmux/plugins/tpm/tpm
  • If the Plugins do not exist at ~/.tmux/plugins then install them manually
    1. git clone https://github.com/tmux-plugins/tpm
    2. git clone [email protected]:tmux-plugins/tmux-yank.git
    3. git clone [email protected]:ofer987/tmux-airline-dracula.git
  1. Silence bell:
  2. Preferences -> Profiles -> Terminal -> Silence bell
  3. Fonts:
  4. Font Book -> Add -> ~/.yadr/fonts/Fira Code Regular Nerd Font Complete.otf
  5. Preferences -> Profiles -> Text -> FiraCode Nerd Font
  6. Meta Key:
  7. Preferences -> Profiles -> Keys -> General -> Left Option Key set to Esc+

Pry

  1. ln -s ~/.yadr/irb/pryrc ~/.pryrc;
  2. ln -s ~/.yadr/irb/aprc ~/.aprc;

Karabiner

  1. ln -s ~/.yadr/karabiner ~/.config/karabiner;

LaunchBar

  1. Install LaunchBar from http://launchbar.com
  2. Licence can be found in [email protected] email inbox
  3. Install custom actions by executing, ~/.yadr/launch_bar/create_action

Future Plans

TODO: Consider moving the entire ~/.config directory into ~/.yadr and then adding a .gitignore file within it to preclude machine-dependent files

Key Mappings

Key Mappings

Chrome

  1. Install Rearrange Tabs
  2. Install Pin Tab
  3. Install Autocrate
  4. Install Bavardo

dotfiles's People

Contributors

cap10morgan avatar dsimmons avatar duhanebel avatar fabiopelosin avatar fwfabio avatar giorni avatar ianks avatar jasonwbarnett avatar jby avatar jeanmertz avatar jeffwidman avatar kylewest avatar lfilho avatar maletor avatar marioricalde avatar mcornick avatar n0nick avatar nandalopes avatar nikolai-b avatar ofer987 avatar paulnsorensen avatar petrushka avatar rafaelregis avatar sagmor avatar skwp avatar stevenbarragan avatar syqingyu avatar taybin avatar timstott avatar victormours avatar

Watchers

 avatar

Forkers

demental

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.