JaredVogt / vimrc

CONFIG: my vimrc
0 stars 0 forks source link

Utilize ftplugins directory for filetype specific settings #42

Open JaredVogt opened 8 years ago

JaredVogt commented 8 years ago

move file specific details into its own directory ftplugins http://vim.wikia.com/wiki/Keep_your_vimrc_file_clean

is coffeescript a file type that is recognized? Also, it appears that there must be some default settings - it uses 2 for JS and 4 for python, but I don't have that set anywhere

example File ~/.vim/ftplugin/python.vim ($HOME/vimfiles/ftplugin/python.vim on Windows) Python specific settings.

setlocal tabstop=4
setlocal shiftwidth=4
setlocal expandtab
setlocal autoindent
setlocal smarttab
setlocal formatoptions=croql

does it run all files in this dir?