Iain Patterson [Fri, 26 Jun 2009 12:07:45 +0000 (13:07 +0100)]
NERD_tree plugin.
Iain Patterson [Tue, 16 Jun 2009 11:09:38 +0000 (12:09 +0100)]
Latest attempt to fix commit diffs.
Iain Patterson [Wed, 10 Jun 2009 15:47:29 +0000 (16:47 +0100)]
Regression.
Fixed p4 diff breaking as a result of the directory change.
Iain Patterson [Wed, 10 Jun 2009 13:27:10 +0000 (14:27 +0100)]
Perforce and SVN Vim script fixes.
Check for existence of p4 script before setting $P4EDITOR.
Work around weird bug whereby calling "file [p4 diff]" when in a
directory with a subdirectory called ``d'' would confuse Vim.
Removed old debugging code which shouldn't have been still there.
Iain Patterson [Wed, 10 Jun 2009 10:29:42 +0000 (11:29 +0100)]
pumheight was introduced in Vim 7.
Iain Patterson [Wed, 10 Jun 2009 10:11:34 +0000 (11:11 +0100)]
Vim completion stuff.
Use ^B to search backward when completing. ^P conflicts with screen.
Use ^L to show matching completions but don't select one.
Limit the size of the popup menu.
Set popup menu colour.
Iain Patterson [Wed, 10 Jun 2009 10:09:04 +0000 (11:09 +0100)]
More git aliases.
Alias git amend to ``git commit --amend''.
Alias git alias to show aliases.
Iain Patterson [Mon, 8 Jun 2009 09:18:36 +0000 (10:18 +0100)]
Added git graph alias.
Aliased to ``git log --graph --pretty=oneline''.
Iain Patterson [Mon, 1 Jun 2009 12:23:25 +0000 (13:23 +0100)]
Fix hang when checking for .svn directory.
If the parent directory is not executable __svn_dir() will not be able
to change to it and will hang. Prevent this by returning failure if the
working directory isn't executable.
Iain Patterson [Wed, 27 May 2009 13:30:57 +0000 (14:30 +0100)]
Comment for SVN prompt colour.
Iain Patterson [Fri, 22 May 2009 15:59:34 +0000 (16:59 +0100)]
Include SVN prompt.
Allow toggling SVN prompt with prompt hide|show svn.
Specify depth for svn status with SVN_PS1_DEPTH.
Iain Patterson [Thu, 21 May 2009 14:16:29 +0000 (15:16 +0100)]
Back compatibility.
Tab line functions were enclosed in a conditional block for version >=
"700" as they are not available before Vim 7. Earlier versions still
parse them, however. Vim 6 was reading the functions in, barfing on the
:for/:endfor blocks and spitting out an error about :return not inside a
function later on.
For Vim 6 the return WASN'T inside a function because the function
wasn't defined.
As a workaround all :for/:endfor blocks have been replaced with
:while/:endwhile blocks. Vim 6 is now happy.
Iain Patterson [Tue, 19 May 2009 13:22:20 +0000 (14:22 +0100)]
Tab bar.
Iain Patterson [Thu, 14 May 2009 15:22:40 +0000 (16:22 +0100)]
Window tweaks for screen.
Bind digraph to ^K.
Bind fit to _.
Bind windowlist to = and colour the window list.
Iain Patterson [Thu, 14 May 2009 10:31:58 +0000 (11:31 +0100)]
Explicitly store user name in .gitconfig for sudo.
Iain Patterson [Thu, 14 May 2009 10:28:31 +0000 (11:28 +0100)]
Use green for gitconfig prompt.
Although cyan looks better it can be difficult to spot against added
lines in the diff.
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.
Iain Patterson [Mon, 11 May 2009 13:14:13 +0000 (14:14 +0100)]
Highlight background of line numbers.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Iain Patterson [Sat, 18 Apr 2009 09:12:13 +0000 (10:12 +0100)]
Cross merge with CSR.
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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