Skip to content

silverneko/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

194 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

WOMM

git clone --depth 1 git@github.com:silverneko/dotfiles.git ~/.dotfiles
git clone --depth 1 https://github.com/silverneko/dotfiles.git ~/.dotfiles
link-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-dot

Shell and utilities

sudo apt install fd-find ripgrep bat lsd lf
curl https://sh.rustup.rs -sSf | sh
rustup update
cargo install --locked bottom procs tlrc@1.13.1

Install and upgrade fzf with vim-plug.

Vim

Dependencies

  • vim 9.1+

vim-plug

Update plugins:

:PlugInstall  " Install new plugins only
:PlugUpdate

Update vim-plug itself:

:PlugUpgrade

Key mappings

  • Normal

    • CTRL-P Pick file
    • CTRL-B Pick buffer
    • CTRL-E CTRL-6 Edit alternate buffer
    • CTRL-↑ CTRL-U Scroll up
    • CTRL-↓ CTRL-D Scroll down
    • - [Dirvish] List parent dir of current file
    • [t / ]t Go to previous / next tab
    • [T / ]T Go to first / last tab
  • Command

    • CTRL-F Edit commandline
    • :MRU Pick :oldfiles
  • Insert

    • CTRL-E Cancel autocomplete
  • Visual

    • CTRL-C Copy selected text into system clipboard.

Hexmode

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.

About

My dotfiles

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors