Skip to content

Commit

Permalink
update(vim-encode): error encoding problem
Browse files Browse the repository at this point in the history
issue #104
  • Loading branch information
sabertazimi committed Dec 6, 2018
1 parent a161141 commit c42e1dd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions programming/tools/vim/vimBasicNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,20 @@ In insert mode

## Error

### Swap Backup File

can't open swap or backup file:

- create `:set directory?` directory
- chown of directory to `${whoami}`

### Error Encoding

```vim
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1
set fileformats=unix,dos,mac
set enc=utf8
set fencs=utf8,gbk,gb2312,gb18030
set termencoding=utf-8
```

0 comments on commit c42e1dd

Please sign in to comment.