]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vimrc
.conf files are often termcap ones
[dotfiles.git] / vim / .vimrc
index b9bb77da9745ab5b8170e152dd968cb27a966e0c..6d0607aa01ffbb1fceacfb3524717a17b723fa21 100644 (file)
@@ -120,6 +120,7 @@ set formatoptions+=n
 autocmd BufEnter * let &titlestring = expand("%:t")
 autocmd BufRead /tmp/mutt-* setlocal textwidth=72
 autocmd BufRead,BufNewFile *.pyi setlocal filetype=python
+autocmd BufRead,BufNewFile *.conf setlocal noexpandtab
 autocmd BufRead,BufNewFile *.go setlocal noexpandtab
 autocmd BufRead,BufNewFile *.go let g:defsplit_shift=" "
 autocmd BufNewFile,BufRead *.tex abbreviate framedo \begin{frame}<CR>\frametitle{TODO}<CR>\end{frame}<ESC>k>>wwlcw
@@ -163,7 +164,7 @@ nmap <leader>' yiwciw"<C-r>""<ESC>
 nmap <leader>h1 yypVr=o
 nmap <leader>72 :set textwidth=72
 nmap <leader>sc 024i-<ESC>a >8 <ESC>24a-<ESC>
-nmap <leader><C-]> :vertical winc ]<CR>
+nmap <leader><C-]> :vertical wincmd ]<CR>
 nnoremap <C-P> <C-I>
 
 nmap <F1> :help!<CR>