Comment[pt_BR]=Edite arquivos de texto
Comment[ro]=Editare fişiere text
@@ -70,11 +70,11 @@
- Comment[wa]=Asspougnî des fitchîs tecses
Comment[zh_CN]=编辑文本文件
Comment[zh_TW]=編輯文字檔
-TryExec=gvim
+Exec=gvim.gnome -f %F
Terminal=false
Type=Application
+ Keywords=Text;editor;
Icon=gvim
-Categories=Utility;TextEditor;
+Categories=GTK;GNOME;TextEditor;
Comment[pt_BR]=Edite arquivos de texto
Comment[ro]=Editare fişiere text
@@ -70,11 +70,11 @@
- Comment[wa]=Asspougnî des fitchîs tecses
Comment[zh_CN]=编辑文本文件
Comment[zh_TW]=編輯文字檔
-TryExec=gvim
+Exec=gvim.gtk -f %F
Terminal=false
Type=Application
+ Keywords=Text;editor;
Icon=gvim
-Categories=Utility;TextEditor;
+Categories=GTK;TextEditor;
Comment[pt_BR]=Edite arquivos de texto
Comment[ro]=Editare fişiere text
@@ -70,11 +70,11 @@
- Comment[wa]=Asspougnî des fitchîs tecses
Comment[zh_CN]=编辑文本文件
Comment[zh_TW]=編輯文字檔
-TryExec=gvim
+Exec=gvim.motif -f %F
Terminal=false
Type=Application
+ Keywords=Text;editor;
Icon=gvim
-Categories=Utility;TextEditor;
+Categories=Motif;TextEditor;
" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
" let &guioptions = substitute(&guioptions, "t", "", "g")
-@@ -42,13 +45,13 @@
+@@ -46,13 +46,13 @@ map Q gq
inoremap <C-U> <C-G>u<C-U>
" In many terminal emulators the mouse works just fine, thus enable it.
+" set mouse=a
+"endif
- " Switch syntax highlighting on, when the terminal has colors
- " Also switch on highlighting the last used search pattern.
+ " Switch syntax highlighting on when the terminal has colors or when using the
+ " GUI (which always has colors).
-if &t_Co > 2 || has("gui_running")
+if (&t_Co > 2 || has("gui_running")) && filereadable($VIMRUNTIME."/syntax/syntax.vim")
syntax on
- set hlsearch
- endif
+
+ " Also switch on highlighting the last used search pattern.
@@ -93,10 +93,18 @@
" Convenient command to see the difference between the current buffer and the
" file it was loaded from, thus the changes you made.
+++ /dev/null
---- vim60z/src/screen.c~ Tue Apr 10 15:47:51 2001
-+++ vim60z/src/screen.c Tue Apr 10 15:49:00 2001
-@@ -2328,7 +2328,7 @@
-
- #ifndef MSDOS
- /* Check if the character under the cursor should not be inverted */
-- if (!highlight_match && lnum == curwin->w_cursor.lnum && wp == curwin
-+ if (!highlight_match && *T_VI == NUL && lnum == curwin->w_cursor.lnum && wp == curwin
- # ifdef FEAT_GUI
- && !gui.in_use
- # endif
# tail -n1 sources | awk '{print $2}'
# VCS Commits: https://github.com/vim/vim/commits/master
-%define ver 7.4.1236
-%define rel 4
+%define ver 7.4.1943
+%define rel 1
Summary: Vi IMproved - a Vi clone
Summary(de.UTF-8): VIsual editor iMproved
Summary(es.UTF-8): Editor visual incrementado
Group: Applications/Editors/Vim
#Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
Source0: https://github.com/vim/vim/archive/v%{ver}.tar.gz
-# Source0-md5: bca123584eb843c485c687861d54ad27
+# Source0-md5: 0ea9464041fe4b1f09e760c8ab6687ec
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: bc4d1e115ca506ad7751b9bd2b773a7f
Source2: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
# http://www.vim.org/scripts/script.php?script_id=1464 (2.6.3)
Source33: moria.vim
Patch0: %{name}-sysconfdir.patch
-Patch1: %{name}-visual.patch
+
Patch2: %{name}-paths.patch
Patch3: %{name}-no_libelf.patch
Patch4: %{name}-egrep.patch
cp -p runtime/gvim.desktop gvim-motif.desktop
%patch0 -p1
-%patch1 -p1
+
%patch2 -p1
%patch3 -p1
%patch4 -p1
%doc %{_datadir}/vim/keymap/README.txt
%{_datadir}/vim/keymap/*.vim
+%{_datadir}/vim/pack
+
%dir %{_datadir}/vim/plugin
%doc %{_datadir}/vim/plugin/README.txt