Skip to content

Commit

Permalink
master: [feature] add xxd
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyangze committed Dec 13, 2022
1 parent 903b2f0 commit fca756d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions layers/user/keymap.vim
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,11 @@ let g:which_key_map.e = {
\'g': [':set fileencoding=GBK', 'Save as Gbk'],
\'u': [':set fileencoding=UTF-8', 'Save as Utf-8'],
\},
\'x': {
\'name' : 'XXD Editing',
\'d': [':%!xxd', 'Edit as XXD'],
\'r': [':%!xxd -r', 'Recover from XXD'],
\},
\'i': {
\'t': ['InitTemplate()', 'Init Template']
\},
Expand Down

0 comments on commit fca756d

Please sign in to comment.