[vim] change bindings for help
This commit is contained in:
parent
f4ddcdbd4d
commit
a5ac67dc62
7
.vimrc
7
.vimrc
@ -430,8 +430,8 @@ nmap <S-F2> :split <C-R>=expand("%:h") . "/"<CR>
|
|||||||
" allow embedded man page
|
" allow embedded man page
|
||||||
runtime! ftplugin/man.vim
|
runtime! ftplugin/man.vim
|
||||||
" show vimrc with shift+F1
|
" show vimrc with shift+F1
|
||||||
nmap <silent> <S-F1> :sview ~/.vimrc<CR>gg
|
"nmap <silent> <S-F1> :sview ~/.vimrc<CR>gg
|
||||||
imap <F1> <Esc><S-F1>
|
"imap <F1> <Esc><S-F1>
|
||||||
" show contextual help with F1
|
" show contextual help with F1
|
||||||
function Help()
|
function Help()
|
||||||
try
|
try
|
||||||
@ -441,7 +441,7 @@ function Help()
|
|||||||
endtry
|
endtry
|
||||||
endfunction
|
endfunction
|
||||||
nmap <silent> <F1> :call Help()<CR>
|
nmap <silent> <F1> :call Help()<CR>
|
||||||
imap <S-F1> <Esc><F1>
|
imap <F1> <Esc><F1>
|
||||||
" show VIM help with alt+shift+F1
|
" show VIM help with alt+shift+F1
|
||||||
nmap <silent> <M-S-F1> :help <C-R>=expand("<cword>")<CR><CR>
|
nmap <silent> <M-S-F1> :help <C-R>=expand("<cword>")<CR><CR>
|
||||||
imap <M-S-F1> <Esc><M-S-F1>
|
imap <M-S-F1> <Esc><M-S-F1>
|
||||||
@ -509,6 +509,7 @@ set tags=tags
|
|||||||
"for when programming in build dir
|
"for when programming in build dir
|
||||||
set tags+=../tags
|
set tags+=../tags
|
||||||
set tags+=~/.vim/qttags
|
set tags+=~/.vim/qttags
|
||||||
|
set tags+=~/.vim/qtembedded
|
||||||
|
|
||||||
" Affichage du prototype d'une fonction sur le
|
" Affichage du prototype d'une fonction sur le
|
||||||
" plugin echofunc
|
" plugin echofunc
|
||||||
|
Loading…
Reference in New Issue
Block a user