dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit cdea10c15abd7c8e5b3194e32e93978a3b3a70a2
parent 8a05c88ef64df4aaa001588c9069aa3f1408dd84
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon,  4 May 2020 14:58:18 +0200

vim: various

Former-commit-id: 6c636ec301f258a1b70415ea2fb2aee789bce3c6
Diffstat:
Mvim/after/ftplugin/tex.vim | 9+++++++++
Mvim/after/syntax/markdown.vim | 2+-
Mvim/vimrc | 4++--
3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/vim/after/ftplugin/tex.vim b/vim/after/ftplugin/tex.vim @@ -1,5 +1,14 @@ nnoremap <buffer> <leader>tt :VimtexTocToggle +inoremap <buffer> . .<c-g>u +inoremap <buffer> ? ?<c-g>u +inoremap <buffer> ! !<c-g>u +inoremap <buffer> , ,<c-g>u +inoremap <buffer> : :<c-g>u +inoremap <buffer> ; ;<c-g>u +inoremap <buffer> - -<c-g>u + if !exists('b:undo_ftplugin') let b:undo_ftplugin = '' end let b:undo_ftplugin .= '|nmapc <buffer>' +let b:undo_ftplugin .= '|imapc <buffer>' diff --git a/vim/after/syntax/markdown.vim b/vim/after/syntax/markdown.vim @@ -1,6 +1,6 @@ syn match markdownError "\w\@<=\w\@=" syn match markdownCite "\[@\w\+\]" contains=@NoSpell -syn match markdownLatex "\\[a-z0-9]\+" contains=@NoSpell +syn match markdownLatex "\\[a-z0-9]\+{\?.*}\?" contains=@NoSpell syn region markdownMathInline start="\(\\\)\@<!\$\(\$\)\@!" end="\$" contains=@NoSpell syn region markdownMathBlock start="\$\$" end="\$\$" contains=@NoSpell syn region markdownComment start="<!--" end="-->" contains=@NoSpell diff --git a/vim/vimrc b/vim/vimrc @@ -33,7 +33,7 @@ Plug 'tpope/vim-eunuch' Plug 'majutsushi/tagbar', { 'on': ['TagbarToggle', 'TagbarOpen'] } " Personal hypertext files -Plug 'vimwiki/vimwiki' ", { 'on': '<Plug>VimwikiIndex', 'for': 'vimwiki' } +Plug 'thezeroalpha/vimwiki' ", { 'on': '<Plug>VimwikiIndex', 'for': 'vimwiki' } " Git wrapper from tpope Plug 'tpope/vim-fugitive' @@ -475,7 +475,7 @@ set noswapfile set magic " directories to search on find, gf, etc. -set path=.,**,/usr/include,/usr/local/include,, +set path=.,**,$DOTFILES/vim/**,/usr/include,/usr/local/include,, set wildignore=**/__pycache__/**,**/venv/**,**/node_modules/**,**/dist/**,**/build/**,*.o,*.pyc,*.swp " set wildignore=**/.git/**,**/__pycache__/**,**/venv/**,**/node_modules/**,**/dist/**,**/build/**,*.o,*.pyc,*.swp set wildignorecase