Just some tips I found useful

Vim

vim related:

Scrolling menu to insert file or dir path in insert mode

Ctrl-X, Ctrl-F

Copy to named buffer ‘a’

"ayy

Paste named buffer ‘a’

"ap

Edit file in hex mode

In vim :%!xxd will apply xxd cmd to current file.

Let’s say we have a file with “HeX” in it. Open it in vim and do :%!xxd we got:

0000000: 4865 580a                                HeX.
  • 0000000 must keep untouched
  • 4865 580a can be edited
  • HeX. must keep untouched

When you are done editing hex data just do :%!xxd -r and you can save it :w.

Cases

Lowercase

:%s/[A-Z]/\L&g

Uppercase

:%s/[a-z]/\U&g

Activate both scroll

:set scrollbind , change window and do the same

Last updated on Thursday, June 4, 2020
Published on Thursday, June 4, 2020