profile.git
14 years agoResize fixes.
Iain Patterson [Thu, 14 May 2009 10:26:41 +0000 (11:26 +0100)]
Resize fixes.

The numberwidth variable is only available in Vim 7.  We had thought it
was available in Vim 6.
The winnr() function used to check whether any windows have &number on
is present in Vim 7.  Disable window resizing if the function isn't
available.

14 years agoHighlight background of line numbers.
Iain Patterson [Mon, 11 May 2009 13:14:13 +0000 (14:14 +0100)]
Highlight background of line numbers.

14 years agoWorking dynamic window resizing in number mode.
Iain Patterson [Fri, 1 May 2009 16:41:29 +0000 (17:41 +0100)]
Working dynamic window resizing in number mode.

Detect if any window uses number and expand if necessary.
Shrink again when no window has it set.

14 years agoUse find_working to prepare aliases.
Iain Patterson [Fri, 24 Apr 2009 16:49:41 +0000 (17:49 +0100)]
Use find_working to prepare aliases.

The find_working script will find a usable program somewhere in the PATH.

15 years agoSeparate aliases and variables.
Iain Patterson [Thu, 23 Apr 2009 21:13:15 +0000 (22:13 +0100)]
Separate aliases and variables.

Moved grep, ls and screen aliases and variables into their own files.
These are grep.bashrc, ls.bashrc and screen.bashrc.

15 years agoMore git colours.
Iain Patterson [Thu, 23 Apr 2009 21:11:50 +0000 (22:11 +0100)]
More git colours.

Use cyan for interactive prompts as blue is too hard to read.
Use green for interactive headers.

15 years agoBrought get_remote_ip into version control.
Iain Patterson [Thu, 23 Apr 2009 21:09:53 +0000 (22:09 +0100)]
Brought get_remote_ip into version control.

Use get_remote_ip to find the address of an ssh client.
Use get_remote_ip -n to report the remote hostname if
available.

15 years agoGeneric handling of SSH_FORWARDED overrides.
Iain Patterson [Wed, 22 Apr 2009 18:39:01 +0000 (14:39 -0400)]
Generic handling of SSH_FORWARDED overrides.

Check if the remote IP address matches a regular expression from
~/.ssh/forwarded and append " (from <hostname>)" to the PROMPT_COMMAND
only if not.

15 years agoScreen fixes.
Iain Patterson [Wed, 22 Apr 2009 15:02:56 +0000 (16:02 +0100)]
Screen fixes.

Don't break old Solaris with PROMPT_COMMAND inside screen.
Don't accidentally send xoff.

15 years agoPS1 overhaul.
Iain Patterson [Wed, 22 Apr 2009 15:00:52 +0000 (16:00 +0100)]
PS1 overhaul.

Include Git and Perforce prompt information but disable them by default.
Allow toggling user@host prompt with prompt hide|show user.
Allow toggling Git prompt with prompt hide|show git.
Allow toggling Perforce prompt with prompt hide|show p4.

15 years agoGit colours.
Iain Patterson [Mon, 20 Apr 2009 22:27:22 +0000 (23:27 +0100)]
Git colours.

Use colour where appropriate.
Choose diff colours which match vim.

15 years agoCross merge with CSR.
Iain Patterson [Sat, 18 Apr 2009 09:12:13 +0000 (10:12 +0100)]
Cross merge with CSR.

15 years agoGitify the working tree.
Iain Patterson [Fri, 17 Apr 2009 22:16:29 +0000 (23:16 +0100)]
Gitify the working tree.

Removed Subversion Id tags.
Moved scripts to opt/bin.
Moved source to src.

15 years agoUse h and l previous and next windows.
Iain Patterson [Fri, 17 Apr 2009 17:01:41 +0000 (17:01 +0000)]
Use h and l previous and next windows.
Use v and V for hardstatus toggle.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@187 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSmarter krb5 cache initialisation.
Iain Patterson [Fri, 17 Apr 2009 10:19:03 +0000 (10:19 +0000)]
Smarter krb5 cache initialisation.
If we don't have valid credentials but there are some useful credentials
somewhere then copy those credentials into our cache.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@186 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse a different escape sequence for magenta.
Iain Patterson [Mon, 30 Mar 2009 12:05:43 +0000 (12:05 +0000)]
Use a different escape sequence for magenta.
Terminal.app (which only supports 16 colours) running screen in 256-colour mode renders colours 88 and 89 as red.  Use colour 90 for magenta.  Terminals with real 256-colour functionality show only a subtle difference between the two colours.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@185 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't set extended termcapinfo for xterm; only for xterm-*.
Iain Patterson [Sat, 28 Mar 2009 10:04:27 +0000 (10:04 +0000)]
Don't set extended termcapinfo for xterm; only for xterm-*.
Correct caption comments.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@184 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoGit configuration.
Iain Patterson [Tue, 17 Mar 2009 15:41:23 +0000 (15:41 +0000)]
Git configuration.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@183 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoYet another hardstatus tweak.
Iain Patterson [Tue, 17 Mar 2009 15:41:04 +0000 (15:41 +0000)]
Yet another hardstatus tweak.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@182 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoLook for screen quietly.
Iain Patterson [Wed, 4 Mar 2009 11:49:13 +0000 (11:49 +0000)]
Look for screen quietly.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@181 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoFixed krenew for screen.
Iain Patterson [Fri, 27 Feb 2009 15:15:29 +0000 (15:15 +0000)]
Fixed krenew for screen.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@180 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't override SCREENDIR when screen is setuid.
Iain Patterson [Fri, 27 Feb 2009 12:13:37 +0000 (12:13 +0000)]
Don't override SCREENDIR when screen is setuid.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@179 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoHandle locale a bit (but not much) more sensibly.
Iain Patterson [Wed, 25 Feb 2009 13:52:08 +0000 (13:52 +0000)]
Handle locale a bit (but not much) more sensibly.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@178 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoRemoved erroneous TERM export from variables.bashrc.
Iain Patterson [Thu, 19 Feb 2009 17:36:18 +0000 (17:36 +0000)]
Removed erroneous TERM export from variables.bashrc.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@177 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSwapped Insert and Insert/Held statusline colours.
Iain Patterson [Thu, 19 Feb 2009 17:29:29 +0000 (17:29 +0000)]
Swapped Insert and Insert/Held statusline colours.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@176 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse bigscreen and krenew.
Iain Patterson [Thu, 19 Feb 2009 17:26:34 +0000 (17:26 +0000)]
Use bigscreen and krenew.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@175 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSet MacVim transparency.
Iain Patterson [Sun, 1 Feb 2009 15:36:54 +0000 (15:36 +0000)]
Set MacVim transparency.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@174 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't use PROMPT_COMMAND on dtterm.
Iain Patterson [Fri, 23 Jan 2009 17:10:12 +0000 (17:10 +0000)]
Don't use PROMPT_COMMAND on dtterm.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@173 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSome fields were being deleted erroneously.
Iain Patterson [Fri, 16 Jan 2009 17:35:48 +0000 (17:35 +0000)]
Some fields were being deleted erroneously.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@172 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSet Perforce filetype when submitting.
Iain Patterson [Thu, 15 Jan 2009 14:58:11 +0000 (14:58 +0000)]
Set Perforce filetype when submitting.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@171 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoLess cluttered titlestring.
Iain Patterson [Thu, 15 Jan 2009 14:57:40 +0000 (14:57 +0000)]
Less cluttered titlestring.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@170 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded krb5.bashrc.
Iain Patterson [Wed, 7 Jan 2009 11:58:32 +0000 (11:58 +0000)]
Added krb5.bashrc.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@169 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDarker statusline for the non-active window.
Iain Patterson [Sat, 20 Dec 2008 15:41:59 +0000 (15:41 +0000)]
Darker statusline for the non-active window.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@168 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse a darker shade of blue for listchars characters.
Iain Patterson [Mon, 15 Dec 2008 16:27:55 +0000 (16:27 +0000)]
Use a darker shade of blue for listchars characters.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@167 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse ESC-backslash sequence to close PROMPT_COMMAND so as not to cause a virtual conso...
Iain Patterson [Thu, 11 Dec 2008 17:38:49 +0000 (17:38 +0000)]
Use ESC-backslash sequence to close PROMPT_COMMAND so as not to cause a virtual console to beep.
Use octal escape for backslash in ESC-backslash to avoid the shell eating it and messing up the following carriage return.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@166 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoActually blank the line after emitting our title in prompt command, instead of trying...
Iain Patterson [Wed, 10 Dec 2008 18:00:07 +0000 (18:00 +0000)]
Actually blank the line after emitting our title in prompt command, instead of trying to hackily overwrite what we'd already printed.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@165 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoNumeric terminfo entries for OS X.
Iain Patterson [Tue, 9 Dec 2008 10:23:02 +0000 (10:23 +0000)]
Numeric terminfo entries for OS X.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@164 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDifferent prompt colours according to the number of supported colours.
Iain Patterson [Fri, 5 Dec 2008 13:18:51 +0000 (13:18 +0000)]
Different prompt colours according to the number of supported colours.
No longer allow user override of prompt colours.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@163 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded session alias to start or reattach a persistent screen session.
Iain Patterson [Fri, 5 Dec 2008 13:18:03 +0000 (13:18 +0000)]
Added session alias to start or reattach a persistent screen session.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@162 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoStart with hardstatus off.
Iain Patterson [Thu, 4 Dec 2008 17:33:36 +0000 (17:33 +0000)]
Start with hardstatus off.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@161 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAllow hiding the hardstatus with H and showing it again with h.
Iain Patterson [Fri, 28 Nov 2008 13:56:05 +0000 (13:56 +0000)]
Allow hiding the hardstatus with H and showing it again with h.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@160 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoHide message when the Vim version is too old to run the plugin.
Iain Patterson [Fri, 28 Nov 2008 10:55:32 +0000 (10:55 +0000)]
Hide message when the Vim version is too old to run the plugin.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@159 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoMany screen tweaks including screen-256color termcap, white caption and hardstatus...
Iain Patterson [Thu, 27 Nov 2008 15:32:12 +0000 (15:32 +0000)]
Many screen tweaks including screen-256color termcap, white caption and hardstatus with clock.
Fix for prompt command inside screen.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@158 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoe16 settings.
Iain Patterson [Thu, 27 Nov 2008 15:30:49 +0000 (15:30 +0000)]
e16 settings.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@157 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded Perforce plugin.
Iain Patterson [Thu, 27 Nov 2008 15:28:57 +0000 (15:28 +0000)]
Added Perforce plugin.
Added gvim titlestring.
Fixed mapping typo.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@156 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSet grep 2.5.3 colours.
Iain Patterson [Tue, 25 Nov 2008 15:40:00 +0000 (15:40 +0000)]
Set grep 2.5.3 colours.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@155 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded terminal_colors script.
Iain Patterson [Tue, 25 Nov 2008 15:31:34 +0000 (15:31 +0000)]
Added terminal_colors script.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@154 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't show diffs if there are no opened files in the current changelist.
Iain Patterson [Mon, 24 Nov 2008 15:33:57 +0000 (15:33 +0000)]
Don't show diffs if there are no opened files in the current changelist.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@153 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't try to diff jobs or other non-file stuff.
Iain Patterson [Mon, 24 Nov 2008 10:33:03 +0000 (10:33 +0000)]
Don't try to diff jobs or other non-file stuff.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@152 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded p4 settings to version control.
Iain Patterson [Thu, 20 Nov 2008 13:59:19 +0000 (13:59 +0000)]
Added p4 settings to version control.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@151 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoScript to set urxvt font.
Iain Patterson [Thu, 16 Oct 2008 16:00:02 +0000 (16:00 +0000)]
Script to set urxvt font.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@150 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoFix LineNr highlighting.
Iain Patterson [Mon, 22 Sep 2008 15:42:36 +0000 (15:42 +0000)]
Fix LineNr highlighting.
Set listchars when entering Make mode.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@149 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoMore tty and globbing fixes.
Iain Patterson [Mon, 15 Sep 2008 10:00:00 +0000 (10:00 +0000)]
More tty and globbing fixes.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@148 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoRun .profile.d scripts in the correct order.
Iain Patterson [Mon, 15 Sep 2008 09:27:05 +0000 (09:27 +0000)]
Run .profile.d scripts in the correct order.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@147 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDiscount new files when diffing.
Iain Patterson [Sun, 14 Sep 2008 13:46:11 +0000 (13:46 +0000)]
Discount new files when diffing.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@146 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoNarrow diffs to the modified files.
Iain Patterson [Wed, 3 Sep 2008 13:19:27 +0000 (13:19 +0000)]
Narrow diffs to the modified files.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@145 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded choice command to wrap zenity or xmessage.
Iain Patterson [Fri, 29 Aug 2008 10:30:29 +0000 (10:30 +0000)]
Added choice command to wrap zenity or xmessage.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@144 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAllow vim to be used by crontab -e.
Iain Patterson [Wed, 27 Aug 2008 12:39:50 +0000 (12:39 +0000)]
Allow vim to be used by crontab -e.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@143 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoBasic .tcshrc.
Iain Patterson [Tue, 26 Aug 2008 13:17:01 +0000 (13:17 +0000)]
Basic .tcshrc.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@142 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't show from localhost.
Iain Patterson [Mon, 25 Aug 2008 10:35:25 +0000 (10:35 +0000)]
Don't show from localhost.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@141 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse canonical diff format.
Iain Patterson [Fri, 22 Aug 2008 15:30:32 +0000 (15:30 +0000)]
Use canonical diff format.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@140 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoSet scratch buffer name.
Iain Patterson [Wed, 20 Aug 2008 09:25:28 +0000 (09:25 +0000)]
Set scratch buffer name.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@139 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agogit-svn-id: https://svn.cambridge.iain.cx/profile/trunk@138 6be0d1a5-5cfe-0310-89b6...
Iain Patterson [Wed, 20 Aug 2008 09:24:05 +0000 (09:24 +0000)]
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@138 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoFixes.
Iain Patterson [Tue, 19 Aug 2008 16:16:21 +0000 (16:16 +0000)]
Fixes.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@137 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoVim tip 99.
Iain Patterson [Tue, 19 Aug 2008 15:57:19 +0000 (15:57 +0000)]
Vim tip 99.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@136 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoZoomWin plugin.
Iain Patterson [Tue, 19 Aug 2008 15:56:10 +0000 (15:56 +0000)]
ZoomWin plugin.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@135 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoVim 6 can't close a buffer by number. Fall back to a guess of the filename.
Iain Patterson [Wed, 13 Aug 2008 08:41:42 +0000 (08:41 +0000)]
Vim 6 can't close a buffer by number.  Fall back to a guess of the filename.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@134 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoWrap colourscheme in a try ... catch block.
Iain Patterson [Tue, 12 Aug 2008 21:08:24 +0000 (21:08 +0000)]
Wrap colourscheme in a try ... catch block.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@133 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoVersion tidying up.
Iain Patterson [Tue, 12 Aug 2008 13:24:29 +0000 (13:24 +0000)]
Version tidying up.
Enable wildmenu and ignore object files.
Use personal colourscheme if the terminal supports it.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@132 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded Subversion post-commit script for vim.
Iain Patterson [Mon, 11 Aug 2008 16:34:24 +0000 (16:34 +0000)]
Added Subversion post-commit script for vim.
Set editor-cmd to vim -S <script> in Subversion config.
Set keywords for vim scripts.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@131 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoMore reliable p4 change script.
Iain Patterson [Mon, 11 Aug 2008 16:27:49 +0000 (16:27 +0000)]
More reliable p4 change script.
Change P4EDITOR to vim -S <script>.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@130 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoWork in progress personal theme.
Iain Patterson [Mon, 11 Aug 2008 09:03:12 +0000 (09:03 +0000)]
Work in progress personal theme.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@129 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse \ or <Leader> instead of Q for mappings.
Iain Patterson [Fri, 8 Aug 2008 15:19:55 +0000 (15:19 +0000)]
Use \ or <Leader> instead of Q for mappings.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@128 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoFixed Ignore syntax.
Iain Patterson [Fri, 8 Aug 2008 14:45:17 +0000 (14:45 +0000)]
Fixed Ignore syntax.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@127 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoThe Highlight_StatusLine() function is valid code in version 6. Move it out of the...
Iain Patterson [Fri, 8 Aug 2008 14:31:47 +0000 (14:31 +0000)]
The Highlight_StatusLine() function is valid code in version 6.  Move it out of the version 7 section so we can get a consistent statusline colour at startup.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@126 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse a nicer bold colour.
Iain Patterson [Fri, 8 Aug 2008 14:30:45 +0000 (14:30 +0000)]
Use a nicer bold colour.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@125 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoTry to match up darkblue and darkred colours for the status bar in terminals.
Iain Patterson [Fri, 8 Aug 2008 13:46:15 +0000 (13:46 +0000)]
Try to match up darkblue and darkred colours for the status bar in terminals.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@124 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded initial conversion of darkblue for terminal.
Iain Patterson [Fri, 8 Aug 2008 13:43:47 +0000 (13:43 +0000)]
Added initial conversion of darkblue for terminal.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@123 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoTrust provided TERM and override missing terminfo entries.
Iain Patterson [Tue, 5 Aug 2008 13:43:53 +0000 (13:43 +0000)]
Trust provided TERM and override missing terminfo entries.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@122 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoDon't hang trying to interpret keypresses which might be escape sequences, eg <ESC>OA.
Iain Patterson [Tue, 5 Aug 2008 13:43:14 +0000 (13:43 +0000)]
Don't hang trying to interpret keypresses which might be escape sequences, eg <ESC>OA.
Assume we are using a terminal with a dark background.  This should be the case if Xresources are correctly loaded.  If by some unfortunate happenstance we should find ourselves at the console of an old Solaris machine we can set bg=light.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@121 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUnset the TERMCAP environment variable before checking whether we have a particular...
Iain Patterson [Tue, 5 Aug 2008 13:40:17 +0000 (13:40 +0000)]
Unset the TERMCAP environment variable before checking whether we have a particular term entry, as screen will set this variable and interfere with the results.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@120 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUnused.
Iain Patterson [Tue, 5 Aug 2008 13:36:07 +0000 (13:36 +0000)]
Unused.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@119 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse new Highlight_StatusLine() function to handle statusline highlighting.
Iain Patterson [Thu, 31 Jul 2008 14:14:32 +0000 (14:14 +0000)]
Use new Highlight_StatusLine() function to handle statusline highlighting.
Turn statusline purple if focus is lost and the cursor is held.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@118 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded p4 script for use with p4 submit.
Iain Patterson [Wed, 30 Jul 2008 13:30:09 +0000 (13:30 +0000)]
Added p4 script for use with p4 submit.
To use, set P4EDITOR to vim -s <script>.
The script will dump syntax-highlighted diff underneath the change spec.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@117 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUse DejaVu font.
Iain Patterson [Wed, 30 Jul 2008 13:23:22 +0000 (13:23 +0000)]
Use DejaVu font.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@116 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoTidy up.
Iain Patterson [Tue, 8 Jul 2008 13:22:47 +0000 (13:22 +0000)]
Tidy up.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@115 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAppend [grid] to prompt when we think we're running from the grid.
Iain Patterson [Tue, 8 Jul 2008 12:43:37 +0000 (12:43 +0000)]
Append [grid] to prompt when we think we're running from the grid.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@114 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoAdded GNU GLOBAL completion.
Iain Patterson [Tue, 8 Jul 2008 12:00:16 +0000 (12:00 +0000)]
Added GNU GLOBAL completion.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@113 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoCleanup completion variables.
Iain Patterson [Tue, 8 Jul 2008 09:36:35 +0000 (09:36 +0000)]
Cleanup completion variables.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@112 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoFixed cursor colour when matchign brackets.
Iain Patterson [Tue, 20 May 2008 12:48:25 +0000 (12:48 +0000)]
Fixed cursor colour when matchign brackets.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@111 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoFail silently if ctags isn't available.
Iain Patterson [Tue, 6 May 2008 13:18:50 +0000 (13:18 +0000)]
Fail silently if ctags isn't available.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@110 6be0d1a5-5cfe-0310-89b6-964be062b18b

15 years agoUpdated taglist plugin.
Iain Patterson [Tue, 6 May 2008 12:30:49 +0000 (12:30 +0000)]
Updated taglist plugin.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@109 6be0d1a5-5cfe-0310-89b6-964be062b18b

16 years agoRace.
Iain Patterson [Tue, 22 Apr 2008 10:13:31 +0000 (10:13 +0000)]
Race.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@108 6be0d1a5-5cfe-0310-89b6-964be062b18b

16 years agoSet zero delay for xbindkeys.
Iain Patterson [Tue, 22 Apr 2008 09:58:51 +0000 (09:58 +0000)]
Set zero delay for xbindkeys.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@107 6be0d1a5-5cfe-0310-89b6-964be062b18b

16 years agoUse DejaVu fonts.
Iain Patterson [Thu, 3 Apr 2008 10:47:51 +0000 (10:47 +0000)]
Use DejaVu fonts.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@106 6be0d1a5-5cfe-0310-89b6-964be062b18b

16 years agoFurther cross-platform tidyups.
Iain Patterson [Thu, 13 Mar 2008 21:33:18 +0000 (21:33 +0000)]
Further cross-platform tidyups.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@105 6be0d1a5-5cfe-0310-89b6-964be062b18b

16 years agoDon't try to alias unconditionally.
Iain Patterson [Sat, 8 Mar 2008 17:31:05 +0000 (17:31 +0000)]
Don't try to alias unconditionally.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@104 6be0d1a5-5cfe-0310-89b6-964be062b18b

16 years agoAdded diffchanges and speeddating plugins.
Iain Patterson [Wed, 5 Mar 2008 11:06:01 +0000 (11:06 +0000)]
Added diffchanges and speeddating plugins.
Added cfengine syntax.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@103 6be0d1a5-5cfe-0310-89b6-964be062b18b

16 years agoLaunch xscreensaver if it isn't running.
Iain Patterson [Fri, 29 Feb 2008 15:56:06 +0000 (15:56 +0000)]
Launch xscreensaver if it isn't running.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@102 6be0d1a5-5cfe-0310-89b6-964be062b18b

16 years agoRerun filetype detection with Qs.
Iain Patterson [Fri, 29 Feb 2008 15:55:35 +0000 (15:55 +0000)]
Rerun filetype detection with Qs.

git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@101 6be0d1a5-5cfe-0310-89b6-964be062b18b