Skip to content

acudworth3/dotfiles

Repository files navigation

Setup

These are dotfiles I use for my personal development environment. Heavily inspired by the following. Suggestions are welcome

Demo

CLI Demo

CLI_demo

Neovim Demo

nvime_demo

Install Linux Dependencies

The install.sh script will run the following to covering most tools in these dotfiles

  1. Call ./install.sh after making it executable chmod +x install.sh
## Latest setup is configured in  ./install.sh

sudo apt install bat btop cargo cmatrix fd-find stow tree gh pv

# something broke here
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

curl -sS https://starship.rs/install.sh | sh

# EXA
sudo apt install cargo
cargo install exa
cargo install tokei
sudo snap install jqp

Setup Dotfiles

From the top folder of this repo run the following command. This creates symlinks from the dotfiles repo location to your home directory. Files can be edited and managed with git.

  • Once you've done this, you can edit the dot files in your clone of this repo, source bash (run sbb) and immediately have the changed available
# sudo install stow if not present
cd ..
stow -t ~/.config ./

Add the following to ~/.bashrc for quick setup.

# Source all files in ~/.config/bash_config if the directory exists
if [ -d "$HOME/.config/bash_config" ]; then
    for file in "$HOME/.config/bash_config"/*.sh; do
        if [ -f "$file" ]; then
            source "$file"
        fi
    done
fi
  1. Rerun stow -t ~/.config ./ if any new files are added/removed
  2. Run source ~/.bashrc or sbb to update Bash config after editing a file

Neovim

Plugin Overview

[!IMPORTANT] You do nto need to do this if you cloned the dotfiles and and ran the stow commands. This would be to install only neovim from this repo

Install Instructions

Install requires Neovim 0.9+. Always review the code before installing a configuration.

Clone the repository and install the plugins:

git clone [email protected]:acudworth3/dotfiles ~/.config/acudworth3/dotfiles

Open Neovim with this config:

NVIM_APPNAME=acudworth3/dotfiles/nvim-astro nvim

Plugins

completion

editing-support

file-explorer

fun

fuzzy-finder

git

keybinding

lsp

markdown-and-latex

motion

nvim-dev

plugin-manager

preconfigured

programming-languages-support

scrolling

search

snippet

split-and-window

startup

statusline

syntax

terminal-integration

workflow

Language Servers

  • bashls
  • dockerls
  • efm
  • eslint
  • html
  • jsonls
  • lua_ls
  • marksman
  • yamlls

This readme was generated by Dotfyle

Tool Examples

Examples of tools that help with my workflow

  • Task -> πŸ—’οΈ add starshp + input.rc

  • Task -> πŸ—’οΈ add fzf

  • Task -> πŸ—’οΈ more detail on nvim

  • Task -> πŸ—’οΈ show env vars

atuin

use Atuin to view all previous commands

  • CTRL+ r to view command list
  • TAB to play in cli without executing
  • enter to execute
atuin demo

atuin_demo

jqp

An excellent tui for the jq utility that can save the filtered output to a file

cat EXAMPLE.json | jqp

jqp sample

jqp

batcat

batcat provides an alternative to cat with navigable previews

alias cat='batcat'
alias bat='batcat'
  • scroll through the preview with j k and CTRL+d CTRL+u
  • q to exit the preview
batcat demo

batcat

yazi

yazi is a TUI file explorer

  • use h and l to move up or down 1 folder level
  • use j and k to move up and down the file list
  • use ~ to view all options
  • search with f
yazi demo

yazi

exa

Exa Demo

exa

Git tooling

Lazygit

TUI for git management used as daily driver for git tasks.

gitmenu

Git Plugins

For git tasks without leaving the editor git astronvim based whichkeys are provided

gitmenu

https://github.com/pwntester/octo.nvim for editor to github integration

gitmenu

About

Dotfiles I use for my personal development environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published