Wecome to my dotfiles. In this setup, I am using and configuring:
Xorg
as my display managerbash
as the shellnvim
as my editorranger
as my file explorer- Other productivity utilies, such as
fzf
(fuzzy find),sxiv
(image viewer within ranger), etc. - Various command-line scripts to make my life easier.
cat .bashrc.append >> ~/.bashrc # or whatever rc file you have
You will need to install the following:
nvim
: Install it with your package manager or from source and make sure the version is at least0.8
.ranger
: Install it with your package managerfzf
: I recommend a full installation but you can skip the flags:
git clone --depth 1 https://github.com/junegunn/fzf.git /tmp/fzf
cd /tmp/fzf
./install --xdg --key-bindings --completion --update-rc
Optionally:
dunst
as a notification manager but you can stick withnotify-send
jq
to query json dataffmpeg
imagemagick
xclip
(clipboard)stow
to easily symlink this cloned repo to your local files
You can copy the configs in two ways - manually or with stow
. stow
is
a utility to recusively and easily create symlinks from directoties so this way
you don't constantly have to copy between your repo and your local files. Read
below if you decide to go with stow
.
Suppose you want to link the nvim config of this repo to your local files, e.g.
at ~/.config/nvim
. If you already have a setup in ~/.config/nvim
, you need
to delete it before using stow:
rm -rf ~/.config/nvim
mkdir -p ~/.config/nvim
cd dots/.config # in this cloned repo
stow -t ~/.config/nvim nvim
# to make sure everything worked:
# ls -l nvim # and you should see something like:
# lrwxrwxrwx 1 user user 38 Sep 9 18:40 init.lua -> ../../dev/dots/.config/nvim/init.lua
And that's it, you mirrored you cloned Neovim config into your local files! You can repeat this process for other any directories of your choice.
TODO: source the add_dir_to_path.sh
script
TODO: packer update with nvim
All scripts and files in this repo are released under kopimi. Feel free to copy or play around with them and no credits are needed.