List Archive: gentoo-science
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
I installed sage and also gap via the sage-for-gentoo overlay on a
Gentoo linux system (64 bit installation). It turned out that gap
installed a plugin /usr/share/vim/vimfiles/plugin/gap_debug.vim where
some keybindings are defined to help debug gap programs.
First, I think this file should go under
/usr/share/vim/vimfiles/ftplugin directory since it applies only to gap
files. Secondly, the files define some keybindings without allowing for
the user to override those keybindings in ~/.vimrc.
I am attaching a patch which defines a global vim variable. If the user
sets that variable in ~/.vimrc, then this gap plugin will not be read.
This is one way I think the plugin can be made to not supersede user
If there is some other way of overriding that plugin file, please let me
Thanks and regards,
--- debug_gap.vim 2011-06-05 17:29:33.473985132 +0800
+++ debug_gap.vim.new 2011-06-05 17:35:51.686985062 +0800
@@ -6,6 +6,12 @@
" $Id: debug.vim,v 1.1 2003/04/07 17:06:17 gap Exp $
map <f2> OError("Breakpoint #<esc>"apa");<esc>
map <f3> OPrint("Watchpoint #<esc>"apa\n");<esc>
map <f4> ODEBUG_LIST[<esc>"apa].count := DEBUG_LIST[<esc>"apa].count - 1;<cr>if DEBUG_LIST[<esc>"apa].count <= 0 then Error("Breakpoint #<esc>"apa"); fi;<esc>