dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 06dc8c9ccd445653c2686c159b97d44cca5b0f41
parent b3cb17ba7d3ccdff2a4c2b54eb8d283c186a89d5
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Wed,  5 Feb 2020 22:01:24 +0100

vim: commands

Former-commit-id: 7db39bdb3ed93c1038dbf7e18d0ce06faee6204d
Diffstat:
Mvim/vimrc | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -584,8 +584,11 @@ command! Hexedit %!xxd command! Unhex %!xxd -r command! JsonSimplifyObject %s/^\(\s\{10}\){\n\s\{12\}\(.*\)\n\s\{10\}}\(,\?\)/\1{ \2 }\3 command! BeautifyJson %!python -m json.tool -command! Dos2unix .!dos2unix "%" +command! Dos2unix %!dos2unix command! -nargs=1 Cheat terminal curl cheat.sh/<args> +command! Reveal exe "silent !open ".shellescape(expand("%:p:h")) | redraw! +command! Softwrap setlocal textwidth=0 wrapmargin=0 wrap +command! Hardwrap setlocal textwidth< wrapmargin< nowrap " Fat finger fixes/convenience abbreviations cnoreabbrev W! w!