commit eb85497647be3e2c7b5b1768f39e85b80639ec8b
parent 8e6cf573d25b1c10a533276055d15f1035070b33
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 24 Sep 2018 16:53:16 +0200
Vim command for hex editing
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/vim/commands.vimrc b/vim/commands.vimrc
@@ -8,6 +8,8 @@ command! Maketab set noet ts=2 | %retab!
command! Diff w !diff % -
command! Diffc w !git diff % -
command! Fuckwindows %s/
//g
+command! Hexedit %!xxd
+command! Unhex %!xxd -r
function! InsertTabWrapper()
let col = col('.') - 1
if !col || getline('.')[col - 1] !~ '\k'