Alex Selimov 10 months ago
commit 4e011c8561

@ -6,6 +6,10 @@
"reportUnboundVariable":"none" "reportUnboundVariable":"none"
}, },
"hover.target": "preview", "hover.target": "preview",
"clangd.path": "/usr/bin/clangd" "clangd.path": "/usr/bin/clangd",
"python.formatting.provider": "black",
"python.formatting.blackPath": "/home/aselimov/.local/bin/black",
"python.formatting.blackArgs": ["-l","100"],
"coc.preferences.formatOnSaveFiletypes": ["python"]
} }

@ -1,7 +1,2 @@
map <C-b> : w % <Bar> ! ./% <CR> set colorcolumn=100
set tw=100
inoremap ;ph ####<CR>#Help<CR>####<CR>Help(){<CR>echo ""<CR>echo<CR>echo "Syntax: <++> [<++>] <++>"<CR>echo "options:"<CR>echo "<++>"<CR><BACKSPACE>}<ESC>5k0f"a
inoremap ;pf function fail {<CR>printf '%s\n' "$1" >&2<CR>exit "${2-1}"<CR>}
inoremap ;i if [ ]; then<CR><++><CR>fi<ESC>2k0f[a<Space>
inoremap ;pg args=()<CR>argnum=0<CR>while [ $# -gt 0 ]; do<CR>unset OPTIND<CR>unset OPTARG<CR>#Parse Flags<CR>while getopts 'h' options; do <CR>case $options in<CR>h)<CR>Help<CR>break;;<CR><++>)<CR><++>;;<CR>esac<CR>done<CR>shift $((OPTIND-1))<CR>args+=("$1")<CR> (( argnum++ ))<CR>shift<CR>done<ESC>13kf'la
inoremap ;pf ####<CR>#Error<CR>####<CR>function fail {<CR>printf '%s\n' "$1" >&2<CR>exit "${2-1}"<CR>}<CR>

Loading…
Cancel
Save