Skip to content

Instantly share code, notes, and snippets.

@jcarsique
Created February 29, 2016 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jcarsique/a2c597406a1a75a30d5b to your computer and use it in GitHub Desktop.
Save jcarsique/a2c597406a1a75a30d5b to your computer and use it in GitHub Desktop.
"use docx2txt.pl to allow VIm to view the text content of a .docx file directly.
autocmd BufReadPre *.docx set ro
autocmd BufReadPost *.docx %!docx2txt.pl
set number
" size of a hard tabstop
set tabstop=4
" size of an "indent"
set shiftwidth=4
" a combination of spaces and tabs are used to simulate tab stops at a width other than the (hard)tabstop
set softtabstop=4
" make "tab" insert indents instead of tabs at the beginning of a line
set smarttab
" always uses spaces instead of tab characters
set expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment