diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-05-04 19:26:11 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-05-04 19:26:11 -0700 |
commit | 48f7264133a2d0acfe4cc257dfec7a763640ceeb (patch) | |
tree | 645079ab36f4bb4dfca529e711bdcb895527fb17 /home/xyz/.config/nvim/init.vim | |
parent | 3dee4a4e009b3dcb3dd81364d790e38532a55472 (diff) |
nvim add hexmode plugin and related configs
Diffstat (limited to 'home/xyz/.config/nvim/init.vim')
-rw-r--r-- | home/xyz/.config/nvim/init.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim index d6d4aa87..ee5ed005 100644 --- a/home/xyz/.config/nvim/init.vim +++ b/home/xyz/.config/nvim/init.vim @@ -24,6 +24,8 @@ Plug 'tpope/vim-markdown' Plug 'rlue/vim-barbaric' " alternatives: 'thinca/vim-ref' with 'eiiches/vim-ref-info', 'HiPhish/info.vim', 'alx741/vinfo' Plug 'https://gitlab.com/HiPhish/info.vim.git' +" :h hexmode +Plug 'fidian/hexmode' call plug#end() " next line must put below `Plug 'glacambre/firenvim'`, else if click github issue textarea, then click elsewhere, then click textarea, textarea will not be selected (no cursor in it), not sure why @@ -96,6 +98,12 @@ augroup END let g:markdown_minlines = 350 "let g:markdown_fenced_languages = ['python', 'sh', 'vim', 'c', 'cpp'] +" :h hexmode, fidian/hexmode plugin +" imagemagick .gray file format +let g:hexmode_patterns = '*.gray' +map <leader>h :Hexmode<CR> +"let g:hexmode_xxd_options = '-c 32' + " netrw-p preview vertial split let g:netrw_preview = 1 let g:netrw_winsize = 20 |