본문 바로가기

ETC

vim TIPs

vim을 사용하다가 혹시 다음과 같은 오류가 발생한다면

E513: 쓰기 에러, 변환 실패 (무시하려면 'fenc'를 비우면 됨)
E513: write error conversion failed (make 'fenc' empty to override)

다음과 같이 해 보시기 바랍니다.

:set fenc=

= 기호를 생략하시면 안 됩니다. 다음과 같이 하셔도 같은 기능입니다.

:set fileencoding=



출처: https://woogyun.tistory.com/641 [살아가는 이야기]

 

vim에서 E513: 쓰기 에러 발생 시

vim을 사용하다가 혹시 다음과 같은 오류가 발생한다면 E513: 쓰기 에러, 변환 실패 (무시하려면 'fenc'를 비우면 됨) E513: write error conversion failed (make 'fenc' empty to override) 다음과 같이 해 보시..

woogyun.tistory.com

 

How can I change a file's encoding with vim?

 

:set encoding=utf-8

 

https://stackoverflow.com/questions/778069/how-can-i-change-a-files-encoding-with-vim

 

How can I change a file's encoding with vim?

I'm used to using vim to modify a file's line endings: $ file file file: ASCII text, with CRLF line terminators $ vim file :set ff=mac :wq $ file file file: ASCII text, with CR line terminators I...

stackoverflow.com

 

YAML 내용을 붙여넣기할 때 indent 수정

 

:set paste
:set nopaste

$ cat > filename.yaml
---Paste Contents---
Ctrl+D

https://stackoverflow.com/questions/2514445/turning-off-auto-indent-when-pasting-text-into-vim

 

Turning off auto indent when pasting text into vim

I am making the effort to learn Vim. When I paste code into my document from the clipboard, I get extra spaces at the start of each new line: line line line I know you can turn off auto in...

stackoverflow.com

https://www.lesstif.com/system-admin/vim-code-paste-auto-indent-6979764.html

 

vim 에서 code paste 할때 auto indent 방지

 

www.lesstif.com

 

'ETC' 카테고리의 다른 글

ATTO  (0) 2011.06.16
이 또한 지나가리라  (0) 2010.11.25
Only the Paranoid Survive - Andrew S. Grove  (0) 2009.11.17
휴브리스(hubris), 과거의 작은 성공을 잊어라  (0) 2009.11.17
가을인데,, 책읽기에 빠져 보심이...  (0) 2009.09.15