summaryrefslogtreecommitdiffstats
path: root/runtime/keymap/slovak.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/keymap/slovak.vim')
-rw-r--r--runtime/keymap/slovak.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/keymap/slovak.vim b/runtime/keymap/slovak.vim
new file mode 100644
index 0000000..f9fd6d6
--- /dev/null
+++ b/runtime/keymap/slovak.vim
@@ -0,0 +1,16 @@
+let encoding = &enc
+if encoding == 'latin1'
+ if has("unix")
+ let encoding = 'iso-8859-2'
+ else
+ let encoding = 'cp1250'
+ endif
+endif
+
+if encoding == 'utf-8'
+ source <sfile>:p:h/slovak_utf-8.vim
+elseif encoding == 'cp1250'
+ source <sfile>:p:h/slovak_cp1250.vim
+else
+ source <sfile>:p:h/slovak_iso-8859-2.vim
+endif