Adds i3 config syntax and makes i3 config file fold

This commit is contained in:
Jonathan Hodgson 2019-01-22 08:29:04 +00:00
parent 8ceb861ccc
commit 1b6ec60917
3 changed files with 10 additions and 0 deletions

3
.gitmodules vendored
View file

@ -66,3 +66,6 @@
path = bundle/wordpress.vim path = bundle/wordpress.vim
url = https://github.com/DArcMattr/wordpress.vim url = https://github.com/DArcMattr/wordpress.vim
branch = universal-ctags branch = universal-ctags
[submodule "bundle/i3config.vim"]
path = bundle/i3config.vim
url = https://github.com/mboughaba/i3config.vim

6
.vimrc
View file

@ -519,6 +519,12 @@ augroup latex
autocmd FileType tex,latex vnoremap <localleader>P :!pandoc -t markdown -f latex --wrap=preserve --atx-headers<cr> autocmd FileType tex,latex vnoremap <localleader>P :!pandoc -t markdown -f latex --wrap=preserve --atx-headers<cr>
augroup END augroup END
" Make vim fold using markers {{{2
augroup file_i3
autocmd!
autocmd FileType i3config setlocal foldmethod=marker foldenable
augroup END
" Make vim fold using markers {{{2 " Make vim fold using markers {{{2
augroup file_vim augroup file_vim
autocmd! autocmd!

1
bundle/i3config.vim Submodule

@ -0,0 +1 @@
Subproject commit ae9f8a6073c31e385445b0a98db3fc9051dd5ecd