diff options
| -rw-r--r-- | .vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -65,6 +65,7 @@ set clipboard=unnamed " fix not copying between clipboard and vim set backspace=indent,eol,start " fix backspace not deleteing existing text set number " set numbers column on the left set complete-=i " Faster vim completion +set complete+=k " Dictionary word completion using Ctrl+N set nrformats-=octal " Increment numbers decimally using Ctrl+A and Ctrl+X set autoindent " Auto indent " set smartindent " Smart indet (causes problems having differnt files indentation) @@ -153,7 +154,7 @@ autocmd BufNewFile,BufRead *.json.jbuilder set filetype=ruby " for ruby json te autocmd BufRead,BufNewFile *.md setlocal spell " spell check md files autocmd BufRead,BufNewFile *.markdown setlocal spell " spell check md files autocmd FileType gitcommit setlocal spell " spell check commits -autocmd FileType gitcommit set complete+=k " allow spell autocompletion using CTRL-N +autocmd FileType ruby setlocal nospell " disable spell checking for ruby documentation autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr> autocmd FileType json noremap <buffer> <c-f> :call JsonBeautify()<cr> autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr> |
