Adds i3 config syntax and makes i3 config file fold
This commit is contained in:
parent
8ceb861ccc
commit
1b6ec60917
3 changed files with 10 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -66,3 +66,6 @@
|
|||
path = bundle/wordpress.vim
|
||||
url = https://github.com/DArcMattr/wordpress.vim
|
||||
branch = universal-ctags
|
||||
[submodule "bundle/i3config.vim"]
|
||||
path = bundle/i3config.vim
|
||||
url = https://github.com/mboughaba/i3config.vim
|
||||
|
|
6
.vimrc
6
.vimrc
|
@ -519,6 +519,12 @@ augroup latex
|
|||
autocmd FileType tex,latex vnoremap <localleader>P :!pandoc -t markdown -f latex --wrap=preserve --atx-headers<cr>
|
||||
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
|
||||
augroup file_vim
|
||||
autocmd!
|
||||
|
|
1
bundle/i3config.vim
Submodule
1
bundle/i3config.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ae9f8a6073c31e385445b0a98db3fc9051dd5ecd
|
Loading…
Add table
Add a link
Reference in a new issue