small tweaks and improvements

This commit is contained in:
2019-05-19 11:42:08 +02:00
parent f7158c1ed4
commit d634763173
3 changed files with 5 additions and 3 deletions

View File

@@ -1 +1 @@
setlocal foldmethod=syntax
setlocal foldmethod=syntax sw=2 tabstop=2

View File

@@ -2,5 +2,7 @@ iabbrev <buffer> inp import numpy as np
iabbrev <buffer> ipl import matplotlib.pyplot as plt
iabbrev <buffer> ipd import pandas as pd
iabbrev <buffer> inm if __name__ == '__main__'
iabbrev <buffer> itf import tensorflow as tf
iabbrev <buffer> sex raise SystemExit
nnoremap <buffer> <localleader>x :term python %<cr>

View File

@@ -59,8 +59,8 @@ let g:user_emmet_install_global = 0
let g:user_emmet_leader_key = '<c-f>'
augroup webdev
autocmd!
autocmd FileType html,jinja,css EmmetInstall
autocmd FileType html,jinja setlocal omnifunc=htmlcomplete#CompleteTags sw=2 tabstop=2
autocmd FileType html,jinja,css,vue EmmetInstall
autocmd FileType html,jinja,vue setlocal omnifunc=htmlcomplete#CompleteTags sw=2 tabstop=2
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
augroup END
runtime macros/matchit.vim