Home

Awesome

my dotfiles

introduction

sh install.sh
sh symlink.sh

tmux

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

nvim

brew install neovim
pip install neovim
brew install nodebrew
mkdir -p ~/.nodebrew/src
nodebrew install-binary stable
brew install tree-sitter

zsh

brew install zsh
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh

fish

brew install fish
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher

jupyter notebook

# Create required directory in case (optional)
mkdir -p $(jupyter --data-dir)/nbextensions

# Clone the repository
cd $(jupyter --data-dir)/nbextensions
git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding

# Activate the extension
jupyter nbextension enable vim_binding/vim_binding
pip install jupyterthemes
jt -t gruvboxd -vim -T -N -f meslo -nf latosans -nfs 10 -tfs 10
// Configure CodeMirror Keymap
require([
  'nbextensions/vim_binding/vim_binding',   // depends your installation
], function() {
  // Map jj to <Esc>
  CodeMirror.Vim.map("jj", "<Esc>", "insert");
  // Swap j/k and gj/gk (Note that <Plug> mappings)
  CodeMirror.Vim.map("j", "<Plug>(vim-binding-gj)", "normal");
  CodeMirror.Vim.map("k", "<Plug>(vim-binding-gk)", "normal");
  CodeMirror.Vim.map("gj", "<Plug>(vim-binding-j)", "normal");
  CodeMirror.Vim.map("gk", "<Plug>(vim-binding-k)", "normal");
});

mac

chsh -s /usr/local/bin/fish