Some home directory dot files to be installed into a new user home directory.

dblume dblume Make "-" a non-breaking char only for markdown docs 5a53291 @ 2024-10-17 15:14:48
.config Make "-" a non-breaking char only for markdown docs 2024-10-17 15:14:48
.local Move nvim rainbow plugin into .../plugin/ hierarchy 2024-05-26 16:00:37
.ssh Don't allow deprecated key types to be used. 2019-05-03 21:36:32
.vim Add "rainbow" plugin for colored parentheses 2024-05-26 14:29:28
.bash_profile Add GNU awk for macOS 2023-02-28 17:12:04
.bashrc bash PROMPT_COMMAND to set (restore) terminal title 2024-04-27 13:45:21
.editrc New \h:\W$ with error detection, use vi bindings 2018-03-30 22:07:01
.gdbinit Add my .gdbinit 2022-08-05 17:59:15
.gitconfig Add commit ID, user and timeframe to "git logtree" 2024-05-09 09:02:20
.gitignore Add .DS_Store to .gitignore 2022-02-03 22:14:37
.inputrc Mention show-mode-in-prompt in .inputrc 2023-10-17 12:18:11
.ripgreprc Add .yuv files to ripgrep ignorelist 2022-11-14 11:03:33
.tmux.conf tmux and vim to set terminal title 2024-04-27 11:54:08
.vimrc Make "-" a non-breaking char only for markdown docs 2024-10-17 15:14:48
.visidatarc Disable mouse events from visidata 2023-04-03 19:24:26
LICENSE.txt Add git log to vim; make git diff optionally show last diff 2023-02-12 20:43:38
README.md Document new Rainbow Parentheses vim/nvim plugin 2024-05-26 14:51:19
requirements.in Add Python pandas module 2023-04-15 01:45:45
requirements.txt Add Python pandas module 2023-04-15 01:45:45
setup.sh Add alacritty.toml to dotfiles to install 2024-04-27 00:20:10
README.md

David Blume's dotfiles

These are some of David Blume's dot files to be installed in new user home directories.

Preview

Here's a screen capture showing tmux, vim, and the shell preparing to run entr. (Because tmux+vim+entr is a great IDE.)

My vim config is light weight: no nerd fonts, no statusline plugin, no plugin manager, no file manager, etc. Yet it's full featured in that the status line shows nearly all the info of Powerline, and uses the built-in plugin manager and powers-up netrw, the built-in file explorer. It includes about five essential plugins.

The screen cap shows the tmux status line, the vim status line, taglist, and a vim popup menu.

tmux_vim_entr.png

Download the project

There are two remote repos:

  • git.dlma.com: Click Download and select Download ZIP or Download TAR.
  • GitHub: Click the green Code button and select Local -> Download ZIP

Install from CLI

Run the following:

~$ mkdir dotfiles
~$ cd dotfiles
dotfiles$ curl -L https://git.dlma.com/dotfiles.git/archive/HEAD.tar > dotfiles.tar
dotfiles$ tar -xvf dotfiles.tar
dotfiles$ rm dotfiles.tar

Then, when you run setup.sh, it'll backup your changed files to backup_of_dotfiles_<date> and replace them with the ones here. You can perform a dry run to see which files will be changed by passing the "-n" parameter.

./setup.sh -n

If you approve of the changes, then just run setup.sh

./setup.sh

See config.dlma.com for more.

What's installed

  1. .bashrc and .bash_profile
  2. Vim resources
    1. .vimrc
    2. An empty .vim_undo directory
    3. .vim with the following plugins:
      1. bbye for :Bdelete, to delete buffers without affecting windows.
      2. taglist, a ctags tree-view explorer.
      3. file-line, to open file:line as from a compiler error.
      4. visual-star-search, so * and # work in visual mode too.
      5. git-tab, use integrated context-sensitive git commands
      6. rainbow, for matching colored parentheses.
      7. Assorted favorite colors like desert.
  3. Neovim resources
    1. .config/nvim/init.vim
    2. .config/nvim/colors/nvim_desert.vim
    3. .local/share/nvim/site/plugin/ plugins
  4. .gitconfig and .gitignore
  5. .tmux.conf
  6. .inputrc, for vi mode and a partially matched command history traversal.
  7. .editrc, for vi mode and tab word completion in macOS.
  8. .ssh/config, for a fix for CVE-2016-0777. (Or upgrade to OpenSSH 7.1p2 released Jan 14, 2016 from http://www.openssh.com.)
  9. .ripgreprc, for ripgrep, or rg.
  10. .gdbinit
  11. .visidatarc, to hide visidata's menu at the top, for the old school UI.
  12. .config/gitui/key_bindings.ron, for vim key bindings in gitui.
  13. i3 configs.

Optional manual steps for fresh setups

Vim will work without warnings if you install ctags and cscope.

sudo apt update
sudo apt install ctags cscope moreutils

If you're coming from the far future and want the latest modules, not those pinned to a version, pip install requirements.in instead of requirements.txt.

sudo apt install python3-pip
python3 -m pip install -r requirements.in

What's not installed

  1. .dircolors (There are instructions in .bashrc to lighten the color of directories.)
  2. Private data like keys, get those from the USB4 bioport in the back of your neck.
  3. The commonly used Python modules described above

Is it any good?

Yes.

License

This software uses the MIT license.