summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-03-16 10:07:21 +0100
committerxengineering <me@xengineering.eu>2022-03-16 10:07:21 +0100
commit8982773fa7ee438d842415ba0dcb7aab65c303ee (patch)
tree6d6c9f4f5b70879ea918b8250d4a083171db60ad
parent741b5d7dcfe3b0866b16b53e03d80d4ebca337e6 (diff)
downloaddotfiles-8982773fa7ee438d842415ba0dcb7aab65c303ee.tar
dotfiles-8982773fa7ee438d842415ba0dcb7aab65c303ee.tar.zst
dotfiles-8982773fa7ee438d842415ba0dcb7aab65c303ee.zip
Add Vim hotkeys to convert to / from *.bin
-rw-r--r--.vimrc5
1 files changed, 5 insertions, 0 deletions
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 <F7> :tabp <LF>
map <F8> :tabn <LF>
+" convert *.bin file to ascii or reverse (make sure to open with `vim -b`!)
+map <F5> :%!xxd -r <LF>
+map <F6> :%!xxd <LF>
+
" macros
" see ':help key-notation' to view documentation