~sircmpwn/dotfiles

9e372043a6d8f7195b2921432ddaadb773fec376 — Drew DeVault 27 days ago a3641ad
Update .vimrc
1 files changed, 10 insertions(+), 6 deletions(-)

M .vimrc
M .vimrc => .vimrc +10 -6
@@ 17,6 17,7 @@ Plugin 'gerw/vim-HiLinkTrace'
Plugin 'vim-scripts/ingo-library'
Plugin 'vim-scripts/SyntaxRange'
" Syntax highlighting
Plugin 'jparise/vim-graphql'
Plugin 'plasticboy/vim-markdown'
Plugin 'cespare/vim-toml'
Plugin 'rust-lang/rust.vim'


@@ 47,8 48,8 @@ let g:vim_markdown_frontmatter=1
let g:jsx_ext_required = 0

set encoding=utf-8
set tabstop=4
set shiftwidth=4
set tabstop=8
set shiftwidth=8
set autoindent
set magic " unbreak vim's regex implementation



@@ 99,10 100,10 @@ nnoremap Q <Nop>
command Jp e ++enc=euc-jp

" Preferences for various file formats
autocmd FileType c setlocal noet ts=4 sw=4 tw=80
autocmd FileType h setlocal noet ts=4 sw=4 tw=80
autocmd FileType cpp setlocal noet ts=4 sw=4 tw=80
autocmd FileType s setlocal noet ts=4 sw=4
autocmd FileType c setlocal noet ts=8 sw=8 tw=80
autocmd FileType h setlocal noet ts=8 sw=8 tw=80
autocmd FileType cpp setlocal noet ts=8 sw=8 tw=80
autocmd FileType s setlocal noet ts=8 sw=8
autocmd FileType go setlocal noet ts=4 sw=4
autocmd FileType hy setlocal filetype=lisp
autocmd FileType sh setlocal noet ts=4 sw=4


@@ 161,6 162,7 @@ highlight pythonConditional ctermfg=darkcyan
highlight pythonBuiltin ctermfg=darkcyan
highlight Pmenu ctermbg=white ctermfg=black
highlight PmenuSel ctermbg=darkcyan ctermfg=black
highlight hareKeyword ctermbg=NONE ctermfg=darkcyan

" Transparent editing of gpg encrypted files.
" By Wouter Hanegraaff


@@ 182,3 184,5 @@ let g:presenting_top_margin = 2

let g:vimspeak_enabled = 0
source ~/lib/vim/vimspeak.vim

set wildignore+=*/node_modules/*     " MacOSX/Linux