mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-21 14:32:32 -05:00
Configured vimpager to use concealed markdown for reading purposes
This commit is contained in:
parent
7c39a11401
commit
775770c3ee
5 changed files with 11 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,6 @@
|
|||
add-submodule
|
||||
delete-submodule
|
||||
add-pager-submodule
|
||||
delete-pager-submodule
|
||||
vim/bundle.user/*
|
||||
vim/vimrc.user
|
||||
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -94,3 +94,6 @@
|
|||
[submodule "vim/bundle/tabular"]
|
||||
path = vim/bundle/tabular
|
||||
url = https://github.com/godlygeek/tabular
|
||||
[submodule "vim/bundle.pager/vim-markdown-concealed"]
|
||||
path = vim/bundle.pager/vim-markdown-concealed
|
||||
url = https://github.com/prurigro/vim-markdown-concealed
|
||||
|
|
1
vim/bundle.pager/vim-markdown-concealed
Submodule
1
vim/bundle.pager/vim-markdown-concealed
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit f1858c68377b5a57b5642efdc346db0ddae95575
|
|
@ -42,7 +42,7 @@ endif
|
|||
|
||||
"filtype specific settings
|
||||
autocmd FileType gitcommit,notes,mail,notmuch,mkd,text,taskreport setlocal nonumber spell nolist wrap linebreak breakat&vim "some defautls for word processing
|
||||
autocmd Filetype mkd setlocal breakat-=* "prevent breaking *s from words to linewrap in markdown
|
||||
autocmd Filetype mkd,mkdc setlocal breakat-=* "prevent breaking *s from words to linewrap in markdown
|
||||
autocmd FileType help* wincmd L "help windows always open vertically
|
||||
autocmd FileType help* vertical resize 80 "set the window size to 80 cols
|
||||
autocmd FileType help* setlocal nocursorline "remove the horizontal cursor line
|
||||
|
|
|
@ -26,6 +26,10 @@ set clipboard+=unnamed "use '*' reg
|
|||
if has('unnamedplus')|set clipboard+=unnamedplus|endif "if exists, use '+' reg
|
||||
set autoread "track file changes
|
||||
autocmd CursorHold * checktime "use CursorHold events to trigger checktime
|
||||
set conceallevel=2 "enable the conceal feature to hide unnecessary elements
|
||||
|
||||
" Override Filetypes:
|
||||
runtime bundle.pager/vim-markdown-concealed/ftdetect/mkdc.vim
|
||||
|
||||
" Mappings:
|
||||
" Mouse
|
||||
|
|
Loading…
Reference in a new issue