dotfiles

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

commit de48df48a6ddb361d1a39b9f958664ae36c89464
parent 2690df514eb91db0cee4ec827e3e0dcbfec8aed8
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sun, 17 Feb 2019 14:34:22 +0100

autocmd for insert mode header expansion

In markdown, I can enter ';6' to enter a 6-level header.


Former-commit-id: cb1270c5a665bb352454eaee3e2ea7895e7f7802
Diffstat:
Mvim/autocmd.vimrc | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/vim/autocmd.vimrc b/vim/autocmd.vimrc @@ -7,3 +7,13 @@ augroup configgroup autocmd FileType tagbar setlocal nocursorline autocmd FileType qf setlocal nocursorline augroup END + +augroup insertbinds + autocmd! + autocmd FileType markdown inoremap ;1 # + autocmd FileType markdown inoremap ;2 ## + autocmd FileType markdown inoremap ;3 ### + autocmd FileType markdown inoremap ;4 #### + autocmd FileType markdown inoremap ;5 ##### + autocmd FileType markdown inoremap ;6 ###### +augroup END