mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 11:30:29 +01:00
Added vimwiki filetype settings
This commit is contained in:
9
vimrc
9
vimrc
@@ -373,6 +373,12 @@ function s:SetRestSettings() "{{{2
|
||||
|
||||
endfunction
|
||||
"}}}
|
||||
function s:SetVimwikiSettings() "{{{2
|
||||
map <F5> :Vimwiki2HTML<CR>
|
||||
map <S-F5> :Vimwiki2HTMLBrowse<CR>
|
||||
map <C-F5> :VimwikiAll2HTML<CR>
|
||||
endfunction
|
||||
"}}}
|
||||
|
||||
"remove all trailing whitespace for specified files before write
|
||||
autocmd BufWritePre * :call <SID>StripTrailingWhitespaces(0, 'n')
|
||||
@@ -395,6 +401,7 @@ autocmd FileType snippet call <SID>SetSnippetSettings()
|
||||
autocmd FileType sql call <SID>SetSqlSettings()
|
||||
autocmd FileType markdown call <SID>SetMarkdownSettings()
|
||||
autocmd FileType vim call <SID>SetVimSettings()
|
||||
autocmd FileType vimwiki call <SID>SetVimwikiSettings()
|
||||
|
||||
" }}}
|
||||
"TERMINAL: options for terminal emulators {{{
|
||||
@@ -543,8 +550,6 @@ map <Leader>wp <Plug>VimwikiPrevWord
|
||||
"}}}
|
||||
" FUNCTIONS: usefull functions for all of the files {{{
|
||||
|
||||
" Switch VCSCommand current used VCS system
|
||||
|
||||
" Simple wrapper for :make command
|
||||
function <SID>Make()
|
||||
echohl Statement
|
||||
|
||||
Reference in New Issue
Block a user