summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2017-11-20 14:37:41 +0100
committerTharre <tharre3@gmail.com>2017-11-20 14:37:41 +0100
commite35ec3294b4f181d1fc641ac94328386b6312ca7 (patch)
tree41436cc8cac40191a09f0e6dc9b49b6bb24e123b
parent924df4c162d1b42db769fffac613ff170c54c864 (diff)
downloaddotfiles-e35ec3294b4f181d1fc641ac94328386b6312ca7.tar.gz
dotfiles-e35ec3294b4f181d1fc641ac94328386b6312ca7.tar.xz
dotfiles-e35ec3294b4f181d1fc641ac94328386b6312ca7.zip
vim: add hexmode plugin for editing binary files
-rw-r--r--.gitmodules3
m---------.vim/bundle/hexmode0
-rw-r--r--.vimrc4
3 files changed, 7 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index c0fafec..31a5a57 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -68,3 +68,6 @@
[submodule ".vim/bundle/vim-shebang"]
path = .vim/bundle/vim-shebang
url = https://github.com/vitalk/vim-shebang.git
+[submodule ".vim/bundle/hexmode"]
+ path = .vim/bundle/hexmode
+ url = https://github.com/fidian/hexmode
diff --git a/.vim/bundle/hexmode b/.vim/bundle/hexmode
new file mode 160000
+Subproject ff820786b7a76e92aaa34623bff6aa795324794
diff --git a/.vimrc b/.vimrc
index 21dd733..f0abe8b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -143,3 +143,7 @@ let g:vim_markdown_math = 1
let g:ale_linters = {
\ 'html': ['htmlhint', 'tidy'],
\}
+
+" hexmode
+let g:hexmode_patterns = '*.bin,*.exe,*.dat,*.rom'
+let g:hexmode_autodetect = 1