git clone --depth 1 git@github.com:silverneko/dotfiles.git ~/.dotfilesgit clone --depth 1 https://github.com/silverneko/dotfiles.git ~/.dotfileslink-dot() { [ -e "$2" ] && (set -x; mv "$2" "$2".old); mkdir -p $(dirname "$2"); (set -x; ln -s ~/.dotfiles/"$1" "$2") }
link-dot zsh/.zshenv ~/.zshenv
link-dot vim ~/.vim
link-dot git ~/.config/git
link-dot tmux ~/.config/tmux
link-dot wezterm ~/.config/wezterm
link-dot ghostty ~/.config/ghostty
link-dot lf ~/.config/lf
link-dot tlrc ~/.config/tlrc
link-dot procs.toml ~/.procs.toml
unset -f link-dotsudo apt install fd-find ripgrep bat lsd lfcurl https://sh.rustup.rs -sSf | sh
rustup update
cargo install --locked bottom procs tlrc@1.13.1Install and upgrade fzf with vim-plug.
vim9.1+
Update plugins:
:PlugInstall " Install new plugins only
:PlugUpdateUpdate vim-plug itself:
:PlugUpgrade-
Normal
CTRL-PPick fileCTRL-BPick bufferCTRL-ECTRL-6Edit alternate bufferCTRL-↑CTRL-UScroll upCTRL-↓CTRL-DScroll down-[Dirvish] List parent dir of current file[t/]tGo to previous / next tab[T/]TGo to first / last tab
-
Command
CTRL-FEdit commandline:MRUPick:oldfiles
-
Insert
CTRL-ECancel autocomplete
-
Visual
CTRL-CCopy selected text into system clipboard.
Simply editing a file in binary mode (eg. vim -b some_file.jpg)
will automatically convert it into hex.
Or use :Hexmode to switch between hex editing and normal editing.
