set cursorline
set scrolloff=5
-
set encoding=utf-8
set listchars=tab:»,trail:·,eol:$
set virtualedit=block
+filetype plugin indent on
+
set tabstop=4
set shiftwidth=4
set expandtab
set smarttab
+set autoindent
+set smartindent
+
set incsearch
set hlsearch
end
syntax on
-filetype plugin indent on
runtime plugsetup.vim
let g:airline_powerline_fonts=1
let g:clang_compilation_database = '.'
-let g:deoplete#enable_at_startup=1
+" Speedup deoplete startup time, see deoplete FAQ
+let g:python3_host_prog = '/usr/bin/python3'
+" deoplete requires huge startuptime. Delay loading upon first InsertEnter.
+let g:deoplete#enable_at_startup = 0
+autocmd InsertEnter * call deoplete#enable()
"augroup pencil
"au!
let g:vim_markdown_frontmatter=1
let g:vim_markdown_math=1
+au FileType markdown call RagtagInit()
+
let g:guesslang_langs=[ 'en_US', 'de_AT']
-au FileType text,markdown,mail,tex setlocal spell
+au FileType text,markdown,mail,tex,gitcommit,mediawiki,vimwiki setlocal spell
au BufReadPost * :DetectIndent
+au FileType text,markdown,mail,gitcommit,mediawiki,vimwiki set fo+=n
+
+au FileType mediawiki setlocal wrap linebreak tw=0
+
au BufEnter *.c* let b:fswitchlocs='reg:/lib/include/,rel:.'
au BufEnter *.h* let b:fswitchlocs='reg:/include/lib/,rel:.'
au BufRead,BufNewFile *.cls set filetype=tex
au Filetype tex set shiftwidth=2
-au BufRead,BufNewFile *.plt set filetype=gnuplot
-
:let g:org_todo_keywords = [['TODO(t)', 'WAITING(w)', '|', 'DONE(d)'],
- \ ['|', 'OBSOLETE(o)'],
+ \ ['|', 'OBSOLETE(o)', 'WONT(n)'],
\ ['CANCELED(c)']]
+let g:vimwiki_list = [{'path': '~/.vimwiki/',
+ \ 'template_path': '~/.vim/vimwiki/templates',
+ \ 'template_default': 'default',
+ \ 'template_ext': '.html'}]
+
" Trailing whitespace
highlight default link TrailingWhitespace SpellCap
" Make trailing whitespace be flagged as bad.