This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Enforce order for task inclusion using filename tokens: | |
# 1) numeric index | |
# 2) component list | |
# 3) increasing platform specificity | |
- include_tasks: | |
file: '{{ taskfile }}' | |
loop: | | |
{%- set taskfiles = [] -%} | |
{%- set delimiter = '_' -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! ToggleZoom(toggle) | |
if exists("t:restore_zoom") && (t:restore_zoom.win != winnr() || a:toggle == v:true) | |
exec t:restore_zoom.cmd | |
unlet t:restore_zoom | |
elseif a:toggle | |
let t:restore_zoom = { 'win': winnr(), 'cmd': winrestcmd() } | |
vert resize | resize | |
endif | |
endfunction | |
augroup restorezoom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
shopt -s extglob | |
# Globals ====================================================================== | |
export script_path="$(readlink -f "$0")" | |
export script_name="${script_path##*/}" | |
export mods_root="$(readlink -f "${0%/*}/../provision")" category='' module='' | |
export -a all_mods=() | |
export -A global_sws=() cat_sws=() mod_sws=() switches=() |