dmesg is a Vim plugin to provide syntax file and trivial utility for dmesg. dmesg is a utility of Android kernel to view the log of Android kernel. adb shell dmesg -r |tee filename.dmesg vi filename.dmesg Refer: https://github.com/thinca/vim-logcat