File: Makefile
SOURCE_DOCS := $(shell find doc -type f -name '*.md')
EXT := docx
TARGET_DOCS = $(patsubst doc/%.md, target/%.$(EXT), $(SOURCE_DOCS))
GIT_LS_FILES := $(shell git ls-files)
.PHONY: all cleanFile: Makefile
SOURCE_DOCS := $(shell find doc -type f -name '*.md')
EXT := docx
TARGET_DOCS = $(patsubst doc/%.md, target/%.$(EXT), $(SOURCE_DOCS))
GIT_LS_FILES := $(shell git ls-files)
.PHONY: all clean| #!/bin/bash | |
| # Globally fuzzy search Neovim buffer filenames, | |
| # across all Tmux panes. | |
| # Requires: fzf, nvim, tmux, bash | |
| # Optional: bat, eza | |
| # Only tested on Fedora Linux | |
| # https://gist.github.com/mikeslattery/444f4fef4a20cfe786ba323a081262f7 |
| #!/bin/bash | |
| # Focus the window for the current terminal. | |
| # Usage: focusterm | |
| # Supports: | |
| # X11 | |
| # tmux | |
| # kitty, westerm, alacrity, and most other terminals |
| #!/bin/bash | |
| set -euo pipefail | |
| # Neovim configuration selection | |
| # Provides a fuzzy search for all directories under ~/.config for init.lua | |
| # Usage: nvims | |
| # Requires: | |
| # fzf |
| " ~/.idea-lazy.vim | |
| " LazyVim mappings for Jetbrains IDEs | |
| " Required plugins. https://plugins.jetbrains.com/bundles/7-ideavim-bundle | |
| " IDEAVim | |
| " Which-Key | |
| " IdeaVim-Sneak | |
| " To install, add this to the top of your ~/.ideavimrc: |
| local M = {} | |
| -- | |
| -- $HOME/.config/nvim/lua/which-key/plugins/briefmarks.lua | |
| -- | |
| -- This extends which-key/plugins/marks.lua with these changes: | |
| -- | |
| -- * Only show subset of marks | |
| -- * Letters | |
| -- * ^ . quote |
| #!/bin/bash | |
| # Takes a photo and converts to a project text artifact. | |
| # Just experimental for now. | |
| set -euo pipefail | |
| THISDIR="$(dirname "$0")" | |
| #shellcheck disable=SC1091 | |
| source "$THISDIR/.env" |
| #!/bin/bash | |
| help() { cat<<HELP | |
| git-syncr - git worktree synchronizer | |
| Usage: git syncr <command> | |
| COMMANDS: | |
| create <path> [<branch>] | |
| Create new worktree at <path> forked from current directory. |
| " This is a beginners .vimrc or init.vim file | |
| " with sane defaults so you can be productive at the start. | |
| " Not designed to work with Neovim. | |
| " Sane defaults. | |
| source $VIMRUNTIME/defaults.vim | |
| set mouse=a " Enable mouse | |
| set clipboard+=unnamed,unnamedplus " Use desktop's clipboard | |
| set hidden " Allow switch buffers if current not saved | |
| set noswapfile autoread " Swap file annoyance. Use git. |
| #!/bin/bash | |
| # Screen cast your desktop to Apple TV (airplay). | |
| # Usage: airplay-client <server-address> <local-address> | |
| # Untested. Likely doesn't work. Airplay V1 only. | |
| if [[ "$SERVER_PORT" == "7000" ]]; then | |
| # We are the cgi script. | |
| echo 'Content-Type: video/h264' |