Skip to content

jakec-dev/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Dotfiles

Setup

  1. 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/eza

Mac

brew install nvim tmux fd
  1. Clone repo
cd ~
git clone [email protected]:jakec-dev/dotfiles.git
  1. Run stow
cd ~/dotfiles
stow .
  1. 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
  1. Install tmux plugins
tmux
  • Press Control+b Shift+i
  1. Install nvim plugins
nvim
  • Run command :PlugInstall
  • Run command :TSInstall markdown markdown_inline
  1. Install coc extensions
nvim

Run command :CocInstall coc-tsserver coc-json coc-html coc-css coc-git coc-prettier coc-eslint coc-spell-checker

Vim Cheat Sheet

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

About

My system dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published