Subdomain Posts
Recent Posts
None | 1 sec ago
None | 23 sec ago
C# | 35 sec ago
None | 42 sec ago
None | 48 sec ago
Delphi | 52 sec ago
C# | 1 min ago
FreeBasic | 1 min ago
None | 1 min ago
None | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By Dick Moores on the 23rd of Aug 2008 09:03:21 AM
Download |
Raw |
Embed |
Report
"From http://vim.wikia.com/wiki/Disable_F1_built-in_help_key
inoremap <F1> <Esc>
noremap <F1> :call SophHelp()<cr>
function! MapF1()
if buftype == "help"
exec 'quit'
else
exec 'help'
endif
endfunction
function! SophHelp()
if &buftype=="help" && match( strpart( getline("."), col(".")-1,1), "\\S")<0
bw
else
try
exec "help ".expand("<cWORD>")
catch /:E149:/
exec "help ".expand("<cword>")
endtry
endif
endfunc
Submit a correction or amendment below.
[ previous version ] | [ difference ] | Make A New Post