- disable autowrapping of .txt files, #479896

This commit is contained in:
Karsten Hopp 2009-12-02 16:40:52 +00:00
parent 11102c5348
commit a1bddf5b69

2
vimrc
View File

@ -16,7 +16,7 @@ if has("autocmd")
augroup fedora augroup fedora
autocmd! autocmd!
" In text files, always limit the width of text to 78 characters " In text files, always limit the width of text to 78 characters
autocmd BufRead *.txt set tw=78 # autocmd BufRead *.txt set tw=78
" When editing a file, always jump to the last cursor position " When editing a file, always jump to the last cursor position
autocmd BufReadPost * autocmd BufReadPost *
\ if line("'\"") > 0 && line ("'\"") <= line("$") | \ if line("'\"") > 0 && line ("'\"") <= line("$") |