mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
force man/help pages into vertical splits in vim
This commit is contained in:
parent
a1404a262a
commit
5a872f8a3c
@ -76,18 +76,29 @@ Plug 'vv9k/vim-github-dark'
|
|||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
|
||||||
|
"------------------------------------------------------------------------------
|
||||||
|
" Enable :Man <man_page>
|
||||||
|
"------------------------------------------------------------------------------
|
||||||
|
runtime ftplugin/man.vim
|
||||||
|
"------------------------------------------------------------------------------
|
||||||
|
" Force help/man buffers into vertical split
|
||||||
|
"------------------------------------------------------------------------------
|
||||||
|
autocmd FileType help wincmd L
|
||||||
|
autocmd FileType man wincmd L
|
||||||
|
|
||||||
|
"------------------------------------------------------------------------------
|
||||||
|
"jump to remembered position in file if available
|
||||||
|
"------------------------------------------------------------------------------
|
||||||
|
if has("autocmd")
|
||||||
|
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
||||||
|
endif
|
||||||
"------------------------------------------------------------------------------
|
"------------------------------------------------------------------------------
|
||||||
" Carbon Now
|
" Carbon Now
|
||||||
"------------------------------------------------------------------------------
|
"------------------------------------------------------------------------------
|
||||||
" carbon now
|
" carbon now
|
||||||
" let g:carbon_now_sh_base_url = 'http://localhost:8888'
|
" let g:carbon_now_sh_base_url = 'http://localhost:8888'
|
||||||
let g:carbon_now_sh_browser = 'firefox'
|
let g:carbon_now_sh_browser = 'firefox'
|
||||||
|
|
||||||
"jump to remembered position in file if available
|
|
||||||
if has("autocmd")
|
|
||||||
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
"------------------------------------------------------------------------------
|
"------------------------------------------------------------------------------
|
||||||
"fzf
|
"fzf
|
||||||
"------------------------------------------------------------------------------
|
"------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user