You can put something like this in $VIM/vimrc
autocmd BufNewFile,BufRead /path/to/files/* set nowrap tabstop=4 shiftwidth=4
More Related Contents:
- How do I exit the Vim editor?
- Using Vim’s tabs like buffers
- Vim and Ctags tips and tricks [closed]
- How to paste yanked text into the Vim command line
- Why do Vim experts prefer buffers over tabs? [closed]
- How do I exit Vim?
- What is the difference between the remap, noremap, nnoremap and vnoremap mapping commands in Vim?
- Vim 80 column layout concerns
- Why should I use an IDE? [closed]
- Turning off auto indent when pasting text into vim
- Where is my .vimrc file?
- Search for selection in Vim
- How to paste over without overwriting register
- A more useful statusline in vim? [closed]
- How can I automatically add some skeleton code when creating a new file with vim
- How to add line numbers to range of lines in Vim?
- Is there a “vim runtime log”?
- Vim auto-generate ctags
- How to prevent the cursor from moving back one character on leaving Insert mode in Vim?
- Using vim’s f command over multiple lines
- How to effectively work with multiple files in Vim
- Why is \r a newline for Vim?
- Best way to insert timestamp in Vim?
- Can terminals detect or ?
- Auto-open NERDTree in “EVERY” tab
- Replace tabs with spaces in vim
- Case preserving substitute in Vim
- Setting Vim whitespace preferences by filetype
- Vim run autocmd on all filetypes EXCEPT
- Cut to the system clipboard from Vim on Ubuntu