Skip to content

wei-yuuuu/dotfiles-m1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iTerm2

VSCode

macOS softwares

MiddleClick-Ventura

brew install --cask --no-quarantine middleclick

SwitchKey

brew install --cask switchkey

shortcuts

Remove macOS Terminal Last Login Message

touch .hushlogin

Install vim plugins

:PlugInstall

gitconfig

[commit]
	gpgsign = true
[column]
	ui = auto
[branch]
	sort = -committerdate
[tag]
	sort = version:refname
[diff]
	algorithm = histogram
	colorMoved = plain
	mnemonicPrefix = true
	renames = true
[push]
	autoSetupRemote = true
	followTags = true
[fetch]
	prune = true
	pruneTags = true
	all = true
[help]
	autocorrect = prompt
[rerere]
	enabled = true
	autoupdate = true
[rebase]
	autoSquash = true
	autoStash = true
	updateRefs = true

lazygit

v ~/Library/Application\ Support/lazygit/config.yml
promptToReturnFromSubprocess: false

Reload config without restart

:so %
:source %

tmux

shortcut description shortcut description
ctrl a prefix prefix c create window
prefix - split pane prefix & close current window
prefix | vsplit pane prefix p previous window
prefix x close current pane prefix n next window
prefix H J K L resize pane
tpm tmux-resurrect
prefix I install plugins prefix ctrl s save
prefix U update plugins prefix ctrl r restore
prefix z zoom into full window prefix [ + V + y copy paste

Install tpm

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

Press prefix + I to fetch the plugin

Source the conf file manually

tmux source ~/.tmux.conf

Managing plugins via the command line

  • remove plugins not on the plugin list
~/.tmux/plugins/tpm/bin/clean_plugins

telescope.nvim

nerdtree

shortcut description
ctrl n toggle
shift ? help
m insert/delete files
i split
s vsplit
t new tab

Install coc

:CocInstall coc-pairs
:CocInstall coc-prettier
:CocInstall coc-eslint
:CocInstall coc-tsserver

Symbolic Links

ln -sf ~/Projects/dotfiles/nvim/init.vim ~/.config/nvim/init.vim
ln -sf ~/Projects/dotfiles/nvim/plugins.vim ~/.config/nvim/plugins.vim
ln -sf ~/Projects/dotfiles/nvim/coc-settings.json ~/.config/nvim/coc-settings.json
ln -sf ~/Projects/dotfiles/zsh/.zshrc ~/.zshrc
ln -sf ~/Projects/dotfiles/tmux/.tmux.conf ~/.tmux.conf

About

⚙️ My dotfiles for Mac with Apple silicon

Topics

Resources

Stars

Watchers

Forks