13 Commits

Author SHA1 Message Date
a7f30e8f93 Add sections to configs. 2026-02-21 09:11:56 -05:00
2efcfabb7b Add configurations to README. 2026-02-21 09:08:25 -05:00
9dcdbf1275 Move comment. 2026-02-21 08:54:21 -05:00
644fca32ed Update README. 2026-02-21 08:51:10 -05:00
753dc47666 Update readme. 2026-02-21 08:49:45 -05:00
f9163b626d Update setup script. 2026-02-21 08:42:15 -05:00
1479f3ac37 Relocate .bash_secrets. 2026-02-21 08:38:16 -05:00
99be1dfecd Update bash stuff. 2026-02-21 08:36:12 -05:00
e7c4fe36bc Ignore blesh installations. 2026-02-21 08:22:47 -05:00
dabfa780df Add bash.d. 2026-02-21 08:08:06 -05:00
288dc28e07 Disable inputrc for now.
Keeping it around in case a non-blesh option is wanted in the future.
2026-02-21 06:51:54 -05:00
c7f6c0b791 Add Qt assistant bash helper. 2026-02-21 06:51:34 -05:00
f1930f166d Update clang_complete. 2026-02-21 06:46:42 -05:00
3 changed files with 26 additions and 63 deletions

17
.blerc
View File

@@ -52,20 +52,3 @@ function blerc/define-sabbrev-commit {
}
blehook/eval-after-load complete blerc/define-sabbrev-commit
# Show the timestamp aligned to the right after each command is entered.
show_timestamp() {
# 17:10:00 EST-05
local ts="$(date +'%H:%M:%S %Z%:::z')"
# Column to show timestamp.(COLUMNS - length_of_timestamp)
local col=$((COLUMNS - ${#ts}))
# Save current cursor position.
printf '\033[s'
# Move cursor to desired column.
printf "\033[${col}G"
# Print timestamp in gray.
printf '\e[90m%s\e[0m' "$ts"
# Restore previous cursor position.
printf '\033[u'
}
blehook PREEXEC=show_timestamp

View File

@@ -16,9 +16,6 @@ set -g @scroll-speed-num-lines-per-scroll 2
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @yank_action 'copy-pipe-no-clear'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @continuum-restore 'on'
bind -T copy-mode C-c send -X copy-pipe-no-clear "xsel -i --clipboard"
bind -T copy-mode-vi C-c send -X copy-pipe-no-clear "xsel -i --clipboard"
# Other examples:

View File

@@ -1,6 +1,6 @@
## Dotfiles
Dotfiles configurations for Kubuntu linux environments. Be sure to
Dotfiles configurations for headless Kubuntu linux environments. Be sure to
clone recursively if you want to grab updated plugins / submodules included. For
example, using Pathogen with Vim to manage plugins requires that the plugin to
be installed are cloned to the `~/.vim/bundle/` directory. Cloning recursively
@@ -14,7 +14,7 @@ screenshot below
### Install
Installation instructions
Installation instructions -
```bash
git clone --recursive https://github.com/shaunrd0/dot
@@ -24,19 +24,6 @@ mv ~/.bashrc ~/.bashrc.backup
stow . -t ~
```
To uninstall
```bash
stow -D . -t ~
mv ~/.bashrc.backup ~/.bashrc
```
If you have files other than `~/.bashrc` that conflict with these
configurations,
be sure to back them up so you can restore to your original state. If you do not
provide the `-t` flag to stow, the files will be symlinked within the parent
of your current directory.
### Docker
You can run these dotfiles in a docker container -
@@ -48,17 +35,34 @@ docker build -t dot .
docker run -it dot bash
```
Note that some features may not work properly in the container, like system
clipboard integration with vim or certain font icons used in themes. Still, the
base configurations work, and using the container as a clean environment is
useful for testing things such as installation instructions for a personal
project.
### Configurations
#### Vim
| Plugin | Description | Repository |
|---------------------|--------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|
| tmux plugin manager | Manages tmux plugins directly from GitHub. | [https://github.com/tmux-plugins/tpm](https://github.com/tmux-plugins/tpm) |
| tmux-sensible | Provides improved sane defaults for tmux behavior and usability. | [https://github.com/tmux-plugins/tmux-sensible](https://github.com/tmux-plugins/tmux-sensible) |
| tmux-resurrect | Saves and restores tmux sessions, panes, and layouts between restarts. | [https://github.com/tmux-plugins/tmux-resurrect](https://github.com/tmux-plugins/tmux-resurrect) |
| tmux-continuum | Automatically saves tmux sessions and can restore them on system reboot. | [https://github.com/tmux-plugins/tmux-continuum](https://github.com/tmux-plugins/tmux-continuum) |
| xclip | Integrates tmux copy mode with the system clipboard under X11. | [https://github.com/astrand/xclip](https://github.com/astrand/xclip) |
#### Tmux
| Plugin | Description | Repository |
|--------------------|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
| Colorizer | Highlights color codes in Vim buffers (useful for CSS/ web). | [https://github.com/chrisbra/Colorizer](https://github.com/chrisbra/Colorizer) |
| ALE | Asynchronous Lint Engine linting & fixing in Vim asynchronously. | [https://github.com/dense-analysis/ale](https://github.com/dense-analysis/ale) |
| clang_complete | Auto-completion support for C/C++ using libclang. | [https://github.com/xavierd/clang_complete](https://github.com/xavierd/clang_complete) |
| supertab | Expand completions using `<Tab>` in insert mode. | [https://github.com/ervandew/supertab](https://github.com/ervandew/supertab) |
| unicode.vim | Unicode helpers (insert and inspect Unicode characters). | [https://github.com/chrisbra/unicode.vim](https://github.com/chrisbra/unicode.vim) |
| vim-airline | Lean and fast status/tabline for Vim. | [https://github.com/vim-airline/vim-airline](https://github.com/vim-airline/vim-airline) |
| vim-airline-themes | Additional themes for vim-airline. | [https://github.com/vim-airline/vim-airline-themes](https://github.com/vim-airline/vim-airline-themes) |
| vim-signify | Shows VCS (git/hg) changes in the sign column. | [https://github.com/mhinz/vim-signify](https://github.com/mhinz/vim-signify) |
#### Utilities
| Tool | Description | Repository |
| Tool / File | Description | Official Repository |
|----------------------|--------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
| ranger | Console-based file manager with Vim-like keybindings, previews, and customizable commands. | [https://github.com/ranger/ranger](https://github.com/ranger/ranger) |
| ble.sh | Advanced Bash line editor providing syntax highlighting, autosuggestions, and improved interactive shell behavior. | [https://github.com/akinomyoga/ble.sh](https://github.com/akinomyoga/ble.sh) |
@@ -66,24 +70,3 @@ project.
| `.stow-local-ignore` | Stow configuration file that excludes specific files or patterns from being symlinked during deployment. | [https://www.gnu.org/software/stow/manual/stow.html](https://www.gnu.org/software/stow/manual/stow.html) |
| `setup.sh` | Bootstrap script that automates symlink setup and environment initialization. | (Repository-local script) |
#### Tmux
| Plugin | Description | Repository |
|---------------------|--------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|
| tmux plugin manager | Manages tmux plugins directly from GitHub. | [https://github.com/tmux-plugins/tpm](https://github.com/tmux-plugins/tpm) |
| tmux-resurrect | Saves and restores tmux sessions, panes, and layouts between restarts. | [https://github.com/tmux-plugins/tmux-resurrect](https://github.com/tmux-plugins/tmux-resurrect) |
| tmux-continuum | Automatically saves tmux sessions and can restore them on system reboot. | [https://github.com/tmux-plugins/tmux-continuum](https://github.com/tmux-plugins/tmux-continuum) |
| xclip | Integrates tmux copy mode with the system clipboard under X11. | [https://github.com/astrand/xclip](https://github.com/astrand/xclip) |
#### Vim
| Plugin | Description | Repository |
|--------------------|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
| Colorizer | Highlights color codes in Vim buffers (useful for CSS/ web). | [https://github.com/chrisbra/Colorizer](https://github.com/chrisbra/Colorizer) |
| ALE | Asynchronous Lint Engine - linting & fixing in Vim asynchronously. | [https://github.com/dense-analysis/ale](https://github.com/dense-analysis/ale) |
| clang_complete | Auto-completion support for C/C++ using libclang. | [https://github.com/xavierd/clang_complete](https://github.com/xavierd/clang_complete) |
| supertab | Expand completions using `<Tab>` in insert mode. | [https://github.com/ervandew/supertab](https://github.com/ervandew/supertab) |
| unicode.vim | Unicode helpers (insert and inspect Unicode characters). | [https://github.com/chrisbra/unicode.vim](https://github.com/chrisbra/unicode.vim) |
| vim-airline | Lean and fast status/tabline for Vim. | [https://github.com/vim-airline/vim-airline](https://github.com/vim-airline/vim-airline) |
| vim-airline-themes | Additional themes for vim-airline. | [https://github.com/vim-airline/vim-airline-themes](https://github.com/vim-airline/vim-airline-themes) |
| vim-signify | Shows VCS (git/hg) changes in the sign column. | [https://github.com/mhinz/vim-signify](https://github.com/mhinz/vim-signify) |