jvaverka / dotfiles

configuration files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dot Files

Purpose

Configurations for:

  • LunarVim
  • Neovim
  • Julia
  • Bash
  • Bin
  • Git
  • X
  • Alacritty
  • Starship
  • Newsboat

Install

To install all these configurations:

cd ~
git clone <this-repo>
cd <this-repo>
stow */

To install a selected configuration, e.g., Neovim:

cd ~
git clone <this-repo>
cd <this-repo>
stow nvim

To uninstall a selected configuration, e.g., Neovim:

stow -D nvim

To uninstall all configurations:

stow -D */

LunarVim?

LunarVim:

  1. LunarVim is easy
  2. LunarVim is fast
  3. LunarVim is light
  4. LunarVim is community driven
  5. LunarVim is configured in lua

One can have separate configurations for vim, nvim, & lvim.

Privacy

It may be useful to stop tracking files in working tree for privacy reasons.

Use the following command to stop tracking changes:

git update-index --assume-unchanged <filename>

Use the following command to resume tracking changes:

git update-index --no-assume-unchanged <filename>

Style

Fonts

After downloading the Nerd Font of you choosing, to ~/.local/share/fonts run the following commands to install and retrieve the font family name.

# force reinstallation of fonts
sudo fc-cache -fv
# find font family name
fc-list | grep -i <your-font-name>

Once you have the font family name, you can change your terminal configuration, as seen in my alacritty/alacritty.yml.

font:
  normal:
    family: "Hasklug Nerd Font"
    style: Regular
  bold:
    family: "Hasklug Nerd Font"
    style: Bold
  italic:
    family: "Hasklug Nerd Font"
    style: Italic
  bold_italic:
    family: "Hasklug Nerd Font"
    style: Bold Italic

Themes

If using Alacritty, alacritty-themes can be used to switch themes for the terminal.

Using the setup in this repo, changing Neovim themes is easy. Just change the appropriate file in init.vim.

TODO

  • convenience functions in bin/
    • dirsize
    • myip
    • mdcd
    • ranger config?

About

configuration files


Languages

Language:Lua 90.3%Language:Shell 8.4%Language:Smarty 0.5%Language:Vim Script 0.5%Language:Julia 0.3%