Vim Tips And Tricks
- Edit file in HEX binary format
- vim ~/file.bin
- <now editing in vi>
- [esc] :%!xxd
- <now editing file.bin in hex>
- <find some innocuous string or rcsid>
- <change the values on the hex side>
- [esc] :%!xxd -r
- [esc] :wq!
- Disable backup files *.*~
- add
- set nobackup
- in vimrc file
- add
- Set forground/background colors
- for example:
- hi normal ctermfg=white ctermbg=black guifg=white guibg=black
- hi nontext ctermfg=blue ctermbg=black guifg=blue guibg=black
- for example:
- How to indent
- Using Tabs
- VIM swap files and backup files
- Enable code autocomplete in VIM for html/php/c/java editing
page revision: 8, last edited: 17 Jul 2008 02:19





