- Copy this to ~/dotfiles
- Then run:
$ cd ~/dotfiles
$ chmod +x install.sh
$ ./install.sh
$ git clone [email protected]:mbadolato/iTerm2-Color-Schemes.git ~/dotfiles/iTerm2/iTerm2-Color-Schemes
You may need this:
$ mkdir ~/.vim-backupdir
$ mkdir ~/.vim-directory
$ brew install zsh zsh-completions
Otherwise: Check the How to install zsh in many platforms
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
$ rm ~/.zshrc
$ ln -s ~/dotfiles/.zshrc .zshrc
$ source ~/.zshrc
$ brew install z
$ brew install nvm
$ mkdir ~/.nvm
Install a node version you need on the current machine
https://iterm2.com/downloads.html
Once iterm is opened, go to Preferences > General > Preferences and check Load preferences... and set folder to ~/dotfiles/iTerm2.
To install Powerline fonts
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
cd ..
rm -rf fonts
In iTerm2 access the Preferences pane on the Profiles tab. Under the Text tab change the font for each type (Regular and Non-ASCII) to ‘Inconsolata for Powerline’. (Refer to the powerline-fonts repo for help on font installation.)
This is happening because you have italics enabled, but some combination of your iTerm2 reported terminal type and terminfo database is causing italics to be displayed incorrectly.
- In iTerm2 preferences, on the “Terminal” tab, for the “Report Terminal Type:” setting, select “xtern-256color” if it’s not already selected
- In a shell, run tic ~/dotfiles/iTerm2Fix
- Quit and restart iTerm2
- Vim should now display italics properly
brew install ripgrep
$ brew install ctags
$ git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
$ ~/.fzf/install
Answer n
to all prompt questions.
$ source ~/.zshrc
Run fzf
command to check the installation worked.
$ brew install ack
$ brew install the_silver_searcher
Used by vim fzf preview to render syntax highlighting
bat, A cat(1) clone with wings. brew install bat
.
$ brew install neovim
Run :checkhealth
to figure out what are the missing providers.
Among the command to turn all OK are:
npm install -g neovim
brew install python@3
python3 -m pip install --user --upgrade pynvim
gem install neovim
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
Normally we should be prompt to download the missing. But most of the time this
may be disabled by a plugin... The work around is to start with no config vim -u none
. At that point you may or not need to do the manual setup of options.
Like set spelllang=en, fr, en
and then set spell
. Hopefully you are given
with the prompt with the option to download or decline.
This may not be necessary if it's able to pickup the dictionary from my dotfiles.
Once vim open execute: :PlugInstall
$ brew install tmux
In case of keyboard layout issue like this one: pqrs-org/Karabiner-Elements#1426 (comment) follow the instructions there.
Make sure that all keyboards in System Preferences have Caps lock
key mapped
to Caps lock
key.
Hopefully the install script manage to copy the custom-capslock.json
file to
Karabiner config folder. If not cherry pick the commands from the install.sh
file.
In Karabiner go to Complex Modification
and use the Add rule
button. You
should see the Change caps_lock to control if pressed...
. Enable it. Update
the value, in Parameters
tab of to_if_alone_timeout_milliseconds
to 500.
Connects tmux to the OS X clipboard service. Useful for copy mode.
brew install reattach-to-user-namespace