diff --git a/.vimrc b/.vimrc index ade9fa6..8e3b9fa 100644 --- a/.vimrc +++ b/.vimrc @@ -31,6 +31,9 @@ augroup end syntax enable filetype plugin on +" Enable Omnicomplete features +set omnifunc=syntaxcomplete#Complete + " Personal Notes settings " export NOTES_DIR= " before use @@ -124,7 +127,7 @@ call plug#end() " Markdown syntax highlighting for specified languages let g:markdown_fenced_languages = ['html', 'python', 'ini', 'vim', 'bash', 'yaml'] " Set default conceallevel to hide links and some formatting -set conceallevel=2 +set conceallevel=0 " strikethrough let g:vim_markdown_strikethrough = 1 " follow anchors - allow to follow anchors just like links @@ -262,6 +265,18 @@ imap =strftime("%Y-%m-%d %H:%M:%S") imap =strftime("%Y-%m-%d %a") imap =strftime("%H:%M") +" --------------------------------------------------------------------------------------------------------------------- +" ==> Keymaps: Autoclosing +" Autoclose brackets, parens...etc +" from: https://stackoverflow.com/a/34992101 +inoremap " "" +inoremap ' '' +inoremap ( () +inoremap [ [] +inoremap { {} +inoremap { {}O +inoremap {; {};O + " --------------------------------------------------------------------------------------------------------------------- " --------------------------------------------------------------------------------------------------------------------- " ==> Spellcheck