Update vimrc, easier vimrc edit, .md is markdown, no yaml syntax

main
Buddy Sandidge 11 years ago
parent aae26059b7
commit 2941ef9389

@ -0,0 +1,2 @@
set syntax=off

10
vimrc

@ -39,12 +39,13 @@ set ofu=syntaxcomplete#Complete
" Mappings " Mappings
let mapleader="," let mapleader=","
let g:mapleader="," let g:mapleader=","
map <leader>rc :source $MYVIMRC<CR> map <leader>rl :source $MYVIMRC<CR>
map <leader>nt :NERDTreeToggle<CR> map <leader>nt :NERDTreeToggle<CR>
map <leader>ss :setlocal spell!<CR> map <leader>ss :setlocal spell!<CR>
map <leader>ct :TlistToggle<CR> " taglist shortcut map <leader>ct :TlistToggle<CR> " taglist shortcut
map <leader>ts :%s/\s\s*$//g<CR> " trim trailing whitespace map <leader>ts :%s/\s\s*$//g<CR> " trim trailing whitespace
map <leader>cc :CoffeeCompile<CR> " Complie CoffeeScript map <leader>cc :CoffeeCompile<CR> " Complie CoffeeScript
nnoremap <leader>rc :split $MYVIMRC<cr>
if bufwinnr(1) if bufwinnr(1)
map <leader>+ <C-W>< map <leader>+ <C-W><
@ -53,9 +54,6 @@ endif
map <F12> ggVGg? " apply rot13 for people snooping over shoulder, good fun map <F12> ggVGg? " apply rot13 for people snooping over shoulder, good fun
" snipMate Settings
let g:snips_author = "Buddy Sandidge <buddysandidge@gmail.com>"
" Nerdtree settings " Nerdtree settings
let NERDTreeDirArrows=1 let NERDTreeDirArrows=1
@ -174,6 +172,10 @@ augroup coffee
au! BufRead,BufNewFile *.coffee set filetype=coffee au! BufRead,BufNewFile *.coffee set filetype=coffee
augroup END augroup END
augroup markdown
au! BufRead,BufNewFile *.md set filetype=markdown
augroup END
augroup COMMIT_EDITMSG augroup COMMIT_EDITMSG
au! BufRead,BufNewFile COMMIT_EDITMSG set filetype=gitcommit au! BufRead,BufNewFile COMMIT_EDITMSG set filetype=gitcommit
augroup END augroup END

Loading…
Cancel
Save