From 8982773fa7ee438d842415ba0dcb7aab65c303ee Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 16 Mar 2022 10:07:21 +0100 Subject: Add Vim hotkeys to convert to / from *.bin --- .vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vimrc b/.vimrc index 0315acd..d5e20c2 100644 --- a/.vimrc +++ b/.vimrc @@ -22,9 +22,14 @@ highlight folded ctermbg=LightYellow " hot keys +" switch tabs map :tabp map :tabn +" convert *.bin file to ascii or reverse (make sure to open with `vim -b`!) +map :%!xxd -r +map :%!xxd + " macros " see ':help key-notation' to view documentation -- cgit v1.2.3-70-g09d2