A: Try to 'help backupdir'. Ex) set backupdir=$VIMRUNTIME\backup
After this, all backup file will be stored to this backup directory.
Q: How can I change syntax highlighting color?
A: Try to use color scheme from $VIMRUNTIME\colors folder.
Ex) source $VIMRUNTIME/colors/darkblue.vim
Q: How can I add new file extension to syntax highlighting candidate?
A: Add extension string to $VIMRUNTIME/filetype.vim file
Ex) Add jpp extension to Java syntax highlighting
- 1. Open filetype.vim file
- 2. Find Java
- 3. Add jpp => au BufNewFile,BufRead *.java,*.jav,*.jpp setf java
댓글 없음:
댓글 쓰기