Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
Adds i3 config syntax and makes i3 config file fold
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Hodgson committed Jan 22, 2019
1 parent 8ceb861 commit 1b6ec60
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 6 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down
1 change: 1 addition & 0 deletions bundle/i3config.vim
Submodule i3config.vim added at ae9f8a

0 comments on commit 1b6ec60

Please sign in to comment.