| verzia 1.106, 2005/03/09 20:51:54 |
verzia 1.107, 2005/04/20 22:47:38 |
|
|
| " |
" |
| " Lubomir Host 'rajo' <rajo AT platon.sk> |
" Lubomir Host 'rajo' <rajo AT platon.sk> |
| |
|
| " Version: $Platon: vimconfig/vimrc,v 1.105 2005/03/09 19:50:06 rajo Exp $ |
" Version: $Platon: vimconfig/vimrc,v 1.106 2005/03/09 20:51:54 rajo Exp $ |
| |
|
| " Debian uses compressed helpfiles. We must inform vim that the main |
" Debian uses compressed helpfiles. We must inform vim that the main |
| " helpfiles is compressed. Other helpfiles are stated in the tags-file. |
" helpfiles is compressed. Other helpfiles are stated in the tags-file. |
|
|
| " Function ChooseInputMethod() {{{ |
" Function ChooseInputMethod() {{{ |
| function! ChooseInputMethod(method) |
function! ChooseInputMethod(method) |
| let b:disable_imap=0 |
let b:disable_imap=0 |
| let g:available_methods = "&none\n&Tex-universal\n&tex-iso8859-2\n&iso8859-2\n&windows-1250\nunicode-&Html" |
let g:available_methods = "&none\n&Tex-universal\n&tex-iso8859-2\n&iso8859-2\n&windows-1250\nunicode-&Html\n&UTF-8" |
| |
|
| if a:method == 0 |
if a:method == 0 |
| let choice = confirm("Choose input mapping:", g:available_methods, 1) |
let choice = confirm("Choose input mapping:", g:available_methods, 1) |
| Riadok 742 function! ChooseInputMethod(method) |
|
| Riadok 742 function! ChooseInputMethod(method) |
|
| let b:input_method = "windows-1250" |
let b:input_method = "windows-1250" |
| elseif choice == 6 |
elseif choice == 6 |
| let b:input_method = "unicode-html" |
let b:input_method = "unicode-html" |
| |
elseif choice == 7 |
| |
let b:input_method = "UTF-8" |
| endif |
endif |
| |
|
| if choice == 1 |
if choice == 1 |