Skip to content
taka512 edited this page Jan 7, 2018 · 4 revisions

vimについてあれこれ

.vimrc

set encoding=utf-8
set shiftwidth=4
set tabstop=4
set expandtab
set shiftwidth=4
set softtabstop=0

hi Comment  ctermfg=LightYellow
hi Constant ctermfg=Red
hi Special  term=bold ctermfg=Magenta
hi PreProc  term=bold ctermfg=Magenta

filetype plugin indent on

コマンド

バイナリ編集

Hex Editor モードに移行

:%! xxd

Hex Editor モードから脱出

:%! xxd -r

Clone this wiki locally