- Install software
Ubuntu
sudo apt update
sudo apt upgrade
sudo apt install tldr stow nvim tmux fd-find
// Install eza
wget -c https://github.com/eza-community/eza/releases/latest/download/eza_x86_64-unknown-linux-gnu.tar.gz -O - | tar xz
sudo chmod +x eza
sudo chown root:root eza
sudo mv eza /usr/local/bin/ezaMac
brew install nvim tmux fd- Clone repo
cd ~
git clone [email protected]:jakec-dev/dotfiles.git- Run stow
cd ~/dotfiles
stow .- Setup zsh
git clone https://github.com/Aloxaf/fzf-tab ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab
git clone https://github.com/jeffreytse/zsh-vi-mode $ZSH_CUSTOM/plugins/zsh-vi-mode
// Install zoxide
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh- Install tmux plugins
tmux- Press Control+b Shift+i
- Install nvim plugins
nvim- Run command :PlugInstall
- Run command :TSInstall markdown markdown_inline
- Install coc extensions
nvim
Run command :CocInstall coc-tsserver coc-json coc-html coc-css coc-git coc-prettier coc-eslint coc-spell-checker
| Key | Action | . | Key | Action | 
|---|---|---|---|---|
| J | join next line to current line | . | cs"' | change double-quotes to single-quotes | 
| . | . | . | ds" | remove double-quotes | 
| . | . | . | ysiw" | surround word with double quotes | 
| . | . | . | ,aw | open spell checker menu for word | 
| . | . | . | ,aap | open spell checker menu for paragraph | 
| zz | center cursor on screen | . | * | search word under cursor | 
| zt | position cursor on top of screen | . | "y | yank to registry | 
| zb | position cursor on bottom of screen | . | "p | paste registry | 
| ^ | jump to first non-blank character in line | . | m | save as mark | 
| ; | repeat previous f, t, F or T movement | . | ' | jump to mark | 
| , | repeat previous f, t, F or T movement, backwards | . | % | jump to matching bracket | 
| Ctrl+u | jump up half a screen | . | vi | visual select inside character | 
| Ctrl+d | jump down half a screen | . | . | . |