Permalink
Browse files

Remove Markdown association with .txt files

  • Loading branch information...
1 parent 06f29f0 commit aba183a655d7bc215ca8ec67031717dffc17a75f @swaroopch committed Sep 18, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 vimrc
View
@@ -253,11 +253,8 @@ function! PasteFromClipboard()
endfunction
command B call PasteFromClipboard()
-" Plain text files are Markdown
-autocmd BufNewFile,BufRead *.txt setlocal ft=markdown
-autocmd BufNewFile,BufRead *.text setlocal ft=markdown
+" Markdown files are plain text files
autocmd FileType markdown TextMode
-autocmd BufNewFile,BufRead requirements.txt setlocal ft=
" Allow these file extensions to be accessed via 'gf' of only the name, for
" e.g. gf on [[AnotherPage]] should go to AnotherPage.md

0 comments on commit aba183a

Please sign in to comment.