profile.git
9 years agoSet author/committer name/email from dotfiles.
Iain Patterson [Tue, 6 Jan 2015 10:25:15 +0000 (10:25 +0000)]
Set author/committer name/email from dotfiles.

Read author name from .git_author_name and author email from
.git_author_email.  Read committer name and email from
.git_commiter_name and .git_committer_email.

Fall back to author name/email if committer name/email is undefined.

Look in HOME first then PROFILE_HOME, unlike many other profile scripts
which override settings in HOME with PROFILE_HOME.

9 years agoExport SCREENRC in become.
Iain Patterson [Tue, 2 Dec 2014 13:25:37 +0000 (13:25 +0000)]
Export SCREENRC in become.

Set SCREENRC in the environment so screen will be configured
appropriately when run under sudo.

9 years agoSave path to .profile.d in PROFILE_D variable.
Iain Patterson [Fri, 20 Jun 2014 09:34:38 +0000 (10:34 +0100)]
Save path to .profile.d in PROFILE_D variable.

Make PROFILE_D similar to PROFILE_HOME with the differences that it is
unconditionally set (PROFILE_HOME is unset if it is the same as HOME)
and never exported (PROFILE_HOME is exported under become).

9 years agoFixed symlink path leakage.
Iain Patterson [Wed, 29 Oct 2014 14:37:10 +0000 (14:37 +0000)]
Fixed symlink path leakage.

The .fonts.conf symlink was incorrectly pointing to a fully-qualified
path, making it unsuitable for use in the general case.

9 years agoShortcut .rc file.
Iain Patterson [Mon, 6 Oct 2014 10:04:05 +0000 (11:04 +0100)]
Shortcut .rc file.

Because typing ". /profile/path/.bash_profile" is too time-consuming.

9 years agoShortcut to setting PROFILE_HOME.
Iain Patterson [Fri, 26 Sep 2014 08:39:59 +0000 (09:39 +0100)]
Shortcut to setting PROFILE_HOME.

Allow sourcing .bash_profile directly to set up PROFILE_HOME.

A user can now simply run ``. /profile/path/.bash_profile'' instead of
``PROFILE_HOME=/profile/path; .  $PROFILE_HOME/.bash_profile'' to use
these scripts.

9 years agoColours for PS2 and PS4.
Iain Patterson [Tue, 24 Jun 2014 12:52:56 +0000 (13:52 +0100)]
Colours for PS2 and PS4.

9 years agoShow expandtab in the statusline.
Iain Patterson [Fri, 20 Jun 2014 10:02:27 +0000 (11:02 +0100)]
Show expandtab in the statusline.

If expandtab is unset, which is the default with this .vimrc, show a
hard tab indicator after the tab width in the statusline.

9 years agoDifferent Unicode tab indicator.
Iain Patterson [Fri, 20 Jun 2014 10:01:37 +0000 (11:01 +0100)]
Different Unicode tab indicator.

Use RIGHTWARDS ARROW TO BAR in listchars to indicate tabs.

9 years agoLess convoluted rtp setting.
Iain Patterson [Fri, 16 May 2014 10:16:50 +0000 (11:16 +0100)]
Less convoluted rtp setting.

We can add to rtp with += rather than escaping out VIMRUNTIME.

9 years agoLook in HOME then PROFILE_HOME for .become files.
Iain Patterson [Fri, 9 May 2014 11:01:15 +0000 (12:01 +0100)]
Look in HOME then PROFILE_HOME for .become files.

Propagate per-user profile files scripts by looking in $HOME/.become
then $PROFILE_HOME/.become for the <user> and "all" files.

If you explicitly don't want to include files from PROFILE_HOME, eg
because you are using another user's profile but he has incompatible
scripts, make $HOME/.become/all sticky.

9 years agoExport PROFILE_HOME.
Iain Patterson [Fri, 9 May 2014 11:00:31 +0000 (12:00 +0100)]
Export PROFILE_HOME.

Export PROFILE_HOME in the environment so that become can be run from
became without losing settings.

9 years agoRework changing pane titles.
Iain Patterson [Thu, 10 Apr 2014 16:01:57 +0000 (17:01 +0100)]
Rework changing pane titles.

If PROMPT_COMMAND is set to something which tries to change a window's
title, tmux would happily override the user-supplied pane name even
though set-titles is set to off.

Setting allow-rename to off prevents titles from being set to annoying
stuff like "[root@localhost ~]#" when becoming root on a Red Hat
machine.

Previously "automatic-rename = off" was commented out because
allow-rename overrode it.  Having an automatic name based on the current
process is acceptable in case where no explicit title has been set, so
we now set it on.

9 years agoTypo.
Iain Patterson [Thu, 8 May 2014 10:37:28 +0000 (11:37 +0100)]
Typo.

10 years agoStrip non-numerics from tmux version.
Iain Patterson [Tue, 1 Apr 2014 10:12:23 +0000 (11:12 +0100)]
Strip non-numerics from tmux version.

Version 1.9a was causing the major/minor comparison to barf.

10 years agoNicer space marker.
Iain Patterson [Sat, 1 Mar 2014 12:19:54 +0000 (12:19 +0000)]
Nicer space marker.

10 years agoTypo.
Iain Patterson [Fri, 28 Feb 2014 11:50:43 +0000 (11:50 +0000)]
Typo.

10 years agoShow Space plugin information in the statusline.
Iain Patterson [Wed, 26 Feb 2014 10:54:42 +0000 (10:54 +0000)]
Show Space plugin information in the statusline.

The Space plugin supplies a function which prints the action performed
by the spacebar.  We now include its output in the statusline along with
the search direction marker.

10 years agoSet tab width with a function.
Iain Patterson [Wed, 26 Feb 2014 10:54:38 +0000 (10:54 +0000)]
Set tab width with a function.

Use the new Tab_Width() function to set tabstop and shiftwidth rather
than calling set for each.

10 years agoMore specific Mapping().
Iain Patterson [Wed, 26 Feb 2014 10:54:35 +0000 (10:54 +0000)]
More specific Mapping().

Add an extra argument to Mapping() to define the specific modes which it
should affect.

10 years agoUse silent mappings where possible.
Iain Patterson [Wed, 26 Feb 2014 10:54:30 +0000 (10:54 +0000)]
Use silent mappings where possible.

The Mapping() function was being called with ":<CR>" appended to every
mapping so that executing the mapping would not leave the expanded
command in the ruler.

On Vim 6 and later the correct way to execute the mapping discreetly is
to use <silent> and even on Vim 5 it is more appropriate to append the
":<CR>" within the Mapping() function.

10 years agoSet shiftwidth and tabstop together.
Iain Patterson [Wed, 26 Feb 2014 10:54:19 +0000 (10:54 +0000)]
Set shiftwidth and tabstop together.

When using <Leader>{n} to set a tabstop of {n} columns also set the
shiftwidth.

10 years agoSpace plugin.
Iain Patterson [Fri, 7 Feb 2014 17:05:25 +0000 (17:05 +0000)]
Space plugin.

10 years agoCharacterize plugin.
Iain Patterson [Fri, 7 Feb 2014 16:58:37 +0000 (16:58 +0000)]
Characterize plugin.

10 years agoRecovery plugin.
Iain Patterson [Thu, 6 Feb 2014 14:43:30 +0000 (14:43 +0000)]
Recovery plugin.

10 years agoNarrowRegion plugin.
Iain Patterson [Thu, 6 Feb 2014 14:16:41 +0000 (14:16 +0000)]
NarrowRegion plugin.

10 years agoHighlight DOS format files in the statusline.
Iain Patterson [Wed, 5 Feb 2014 10:53:38 +0000 (10:53 +0000)]
Highlight DOS format files in the statusline.

Display a note in the statusline if the fileformat is not UNIX.

10 years agoMildly more readable statusline code.
Iain Patterson [Wed, 5 Feb 2014 10:50:09 +0000 (10:50 +0000)]
Mildly more readable statusline code.

Explain what the local variables are for and make it explicitly clear
when we are changing highlight group.

10 years agoTidy up Show_Encoding().
Iain Patterson [Wed, 5 Feb 2014 09:45:36 +0000 (09:45 +0000)]
Tidy up Show_Encoding().

Show the BOM indicator before the encoding name.  It was hard to make
out after, eg utf-16le.

Show a dot indicator before the encoding when no file is loaded, rather
than the encoding in brackets.

10 years agoFixed older versions parsing .vimrc
Iain Patterson [Mon, 10 Feb 2014 16:49:36 +0000 (16:49 +0000)]
Fixed older versions parsing .vimrc

Some mappings which were supposed to be applied only for version 6 or
later, and some variables which were supposed to be applied only for
version 7 or later, were incorrectly placed outside the relevant
if..endif block.

Vim 5 doesn't understand "set fdm=marker" in the header so mark it as a
vim6 snippet.

10 years agoVim 5 fixes.
Iain Patterson [Mon, 10 Feb 2014 16:48:10 +0000 (16:48 +0000)]
Vim 5 fixes.

Trying to set viminfo+=! fails on Vim 5 if viminfo doesn't already
contain a '{N} chunk.  Set it to the Vim 6+ default.

10 years agoUse help buffers in commit and merge scripts.
Iain Patterson [Thu, 6 Feb 2014 13:27:42 +0000 (13:27 +0000)]
Use help buffers in commit and merge scripts.

The previous attempt to override Vim 7.4's window closing paranoia
didn't work that well.  Closing the scratch buffer would result in
the commit message window being lost without saving changes.

The latest scheme is to mark the scratch buffer as a help buffer,
despite the documentation saying we aren't supposed to do that.
The result is that it will automatically be closed when it's the
last buffer standing, which is very close to what we want.

10 years agoAdded git pretty alias.
Iain Patterson [Fri, 7 Feb 2014 11:23:20 +0000 (11:23 +0000)]
Added git pretty alias.

Alias git pretty to print a nicer graph with colours.

10 years agoShow marks in the statusline.
Iain Patterson [Mon, 3 Feb 2014 13:36:48 +0000 (13:36 +0000)]
Show marks in the statusline.

All marks set for the current cursorline will be indicated in the
statusline, possibly using the Unicode symbols defined for signs.

10 years agoUnicode completion plugin.
Iain Patterson [Mon, 3 Feb 2014 13:48:53 +0000 (13:48 +0000)]
Unicode completion plugin.

10 years agoShow file encoding in the statusline.
Iain Patterson [Fri, 31 Jan 2014 16:41:07 +0000 (16:41 +0000)]
Show file encoding in the statusline.

And BOM indicator if appropriate.

10 years agoShow search direction in the statusline.
Iain Patterson [Thu, 30 Jan 2014 10:53:39 +0000 (10:53 +0000)]
Show search direction in the statusline.

Show an up arrow indicator if v:searchforward is 0, indicating that the
last search was backwards.

10 years agoSeparate statusline colour for replace mode.
Iain Patterson [Thu, 30 Jan 2014 10:38:08 +0000 (10:38 +0000)]
Separate statusline colour for replace mode.

Use v:insertmode, if available, to highlight the statusline with a
slightly different colour when replacing as opposed to inserting.

10 years agoConfiguration options for gitv plugin.
Iain Patterson [Wed, 29 Jan 2014 14:54:16 +0000 (14:54 +0000)]
Configuration options for gitv plugin.

Open the view in horizontal mode if appropriate.
Tidy up windows on exit.

10 years agoDon't use cursor sign if cursorline is active.
Iain Patterson [Wed, 29 Jan 2014 13:36:52 +0000 (13:36 +0000)]
Don't use cursor sign if cursorline is active.

The sign is a poor relation as it isn't updated in real time.  Hide it
when cursorline is available.

10 years agoAlways use cursorline with a highlight.
Iain Patterson [Wed, 29 Jan 2014 13:25:33 +0000 (13:25 +0000)]
Always use cursorline with a highlight.

Use cursorline when CursorLineNr is supported, with no background
formatting on the line itself but a highlight in the number column.

10 years agoUpdate signs when the cursor is held.
Iain Patterson [Tue, 28 Jan 2014 18:18:36 +0000 (18:18 +0000)]
Update signs when the cursor is held.

Signs can be "out of date" if the cursor is held in editing mode.

10 years agoAdded cursor sign highlight.
Iain Patterson [Tue, 28 Jan 2014 18:15:18 +0000 (18:15 +0000)]
Added cursor sign highlight.

New, highest priority, sign to show the line with the cursor.

10 years agoSign precedence.
Iain Patterson [Tue, 28 Jan 2014 18:13:15 +0000 (18:13 +0000)]
Sign precedence.

Signs listed later take precedence because each sign is drawn over the
top of existing ones.  Rearrange the list such that more important signs
such as the last changed line appear later in the list and hence are
drawn later.

10 years agoMore readable sign initialisation code.
Iain Patterson [Tue, 28 Jan 2014 17:50:44 +0000 (17:50 +0000)]
More readable sign initialisation code.

Not much more, admittedly.

10 years agoMore incorrect uses of noremap.
Iain Patterson [Mon, 27 Jan 2014 16:59:04 +0000 (16:59 +0000)]
More incorrect uses of noremap.

Normal commands should be mapped with nnoremap not noremap.

10 years agoVim 7.4 won't let us quit windows from a script.
Iain Patterson [Mon, 27 Jan 2014 16:55:23 +0000 (16:55 +0000)]
Vim 7.4 won't let us quit windows from a script.

The Perforce and Subversion commit and merge scripts want to quit when
the commit message window has been closed, since the only other window
shown really should be the diff.

Vim 7.4's paranoia about scripts closing windows make quitting tricky...

10 years agoScript to get environment variables for a process.
Iain Patterson [Mon, 27 Jan 2014 14:40:23 +0000 (14:40 +0000)]
Script to get environment variables for a process.

Use "readenv <pid>" to get the full environment block for <pid>.
Use "readenv <pid> [<env> [<env> ...]]" to restrict output to the named
variables.

10 years agoScript to guess Red Hat machine's build date.
Iain Patterson [Mon, 27 Jan 2014 14:31:17 +0000 (14:31 +0000)]
Script to guess Red Hat machine's build date.

Querying RPM for the installation date of the basesystem package should
provide a decent approximation of the date the machine was (re)built.

10 years agoText formatter plugin.
Iain Patterson [Mon, 27 Jan 2014 14:01:04 +0000 (14:01 +0000)]
Text formatter plugin.

10 years agogitv plugin.
Iain Patterson [Mon, 27 Jan 2014 13:46:47 +0000 (13:46 +0000)]
gitv plugin.

10 years agoFugitive plugin.
Iain Patterson [Mon, 27 Jan 2014 13:50:31 +0000 (13:50 +0000)]
Fugitive plugin.

Git-related plugin for Vim.  Needed for gitv plugin.

10 years agoOverride "p4 diff" to handle change numbers.
Iain Patterson [Sat, 16 Apr 2011 11:43:00 +0000 (12:43 +0100)]
Override "p4 diff" to handle change numbers.

Wrapper around "p4 diff" which detects use of the -c flag and calls
p4-diffchange, thus enabling uses such as "p4 diff -c 12345" which will
show diffs only for files opened in changelist 12345.

10 years agoOverride Perforce typos.
Iain Patterson [Thu, 6 Dec 2012 13:15:00 +0000 (13:15 +0000)]
Override Perforce typos.

Custom commands that override common typos "p4 intergrate" and "p4
oepned" to do the intended thing.

10 years agoLoad matchit plugin where available.
Iain Patterson [Fri, 24 Feb 2012 12:57:34 +0000 (12:57 +0000)]
Load matchit plugin where available.

10 years agoMap q to quit easily when submitting p4 and svn.
Iain Patterson [Tue, 28 Jun 2011 10:40:13 +0000 (11:40 +0100)]
Map q to quit easily when submitting p4 and svn.

10 years agoWrapper to use custom p4 scripts.
Iain Patterson [Fri, 15 Apr 2011 15:07:08 +0000 (16:07 +0100)]
Wrapper to use custom p4 scripts.

Script which allows overriding Perforce commands or adding new commands.
If the file opt/p4/p4-<command> exists then "p4 <command>" will run the
file in preference to the builtin command.

Source opt/p4/common to identify the arguments which should be passed to
p4 itself.  They will be available in $p4opts.  The command name will be
available in $p4command.  Arguments to the command will be available in
the positional parameters as usual.

Three custom commands are included in this commit.

"p4 diffchange" does a diff of only files opened against the default
changelist or the changelist specified by the -c flag.

"p4 login" attempts to renew Kerberos credentials if SSO login is
enabled.

"p4 update" detects all new, delete or changed files, like "git -A" does.

10 years agoSymlink .fonts.conf.
Iain Patterson [Thu, 23 Jan 2014 15:29:18 +0000 (15:29 +0000)]
Symlink .fonts.conf.

The new standard location for user-specific fonts configuration is
.config/fontconfig/fonts.conf.

10 years agotmux 1.8 changed how run-shell works.
Iain Patterson [Sun, 29 Sep 2013 15:18:56 +0000 (16:18 +0100)]
tmux 1.8 changed how run-shell works.

Prior to tmux 1.8 all run-shell commands ran in the foreground and we
had to detach explicitly.  From 1.8 onwards we can use the -b flag to
run a command in the background.

Ensure we run ktmux_helper in the appropriate way for the available tmux
version.

10 years agoCorrectly use of nnoremap.
Iain Patterson [Thu, 23 Jan 2014 15:23:44 +0000 (15:23 +0000)]
Correctly use of nnoremap.

Some mappings which are only appropriate in normal mode were incorrectly
using noremap instead of the more appropriate nnoremap.

10 years agoMappings for gundo plugin.
Iain Patterson [Thu, 23 Jan 2014 15:21:56 +0000 (15:21 +0000)]
Mappings for gundo plugin.

Toggle gundo window with \g.

Press r in the gundo window to fake reloading it by calling
GundoToggle() twice in succession.

10 years agogundo plugin.
Iain Patterson [Fri, 24 Feb 2012 12:59:42 +0000 (12:59 +0000)]
gundo plugin.

10 years agoHandle non-default XAUTHORITY.
Iain Patterson [Mon, 20 Jan 2014 16:07:24 +0000 (16:07 +0000)]
Handle non-default XAUTHORITY.

Newer Fedora versions set XAUTHORITY to a file in /tmp.  Not helpful in
an NFS environment.  Not at all helpful when running sudo and finding
the XAUTHORITY file owned by root.

10 years agoFixes for console mode vim on Windows.
Iain Patterson [Fri, 4 Oct 2013 12:16:43 +0000 (13:16 +0100)]
Fixes for console mode vim on Windows.

Console vim running on windows supports UTF-8.

The vim which ships with GNU On Windows doesn't have the necessary
support files for syntax highlighting to work.  Wrap "syn enable" in a
try..catch block so parsing .vimrc doesn't fail when run by GOW vim.

10 years agoMove plugin.
Iain Patterson [Wed, 2 Oct 2013 16:35:25 +0000 (17:35 +0100)]
Move plugin.

Move lines or blocks with alt+d/j/k/u.

10 years agoEnvironment variables for pdsh.
Iain Patterson [Sun, 29 Sep 2013 15:09:25 +0000 (16:09 +0100)]
Environment variables for pdsh.

Options to use ssh without checking host public keys or forwarding
agents or displays.

10 years agoSemi-transparent border.
Iain Patterson [Mon, 1 Jul 2013 13:45:54 +0000 (14:45 +0100)]
Semi-transparent border.

Set urxvt's borderColor to match its background.

10 years agoSet hidden option.
Iain Patterson [Fri, 30 Aug 2013 09:01:45 +0000 (10:01 +0100)]
Set hidden option.

Remember the undo list for a buffer which was abandoned.

10 years agoDon't rely on tty.
Iain Patterson [Mon, 5 Aug 2013 14:02:31 +0000 (15:02 +0100)]
Don't rely on tty.

The tty command may not always be available.  Use the builtin test -t 0.

10 years agoProcess dependencies in subdirectories.
Iain Patterson [Tue, 22 Jun 2010 13:45:42 +0000 (14:45 +0100)]
Process dependencies in subdirectories.

This allows having, for example, a symlink to standard bashrc files
and local overrides.

10 years agoLook for .bashrc files in subdirectories.
Iain Patterson [Fri, 26 Feb 2010 09:27:16 +0000 (09:27 +0000)]
Look for .bashrc files in subdirectories.

10 years agoClipboard plugin.
Iain Patterson [Wed, 29 Jul 2009 13:51:39 +0000 (14:51 +0100)]
Clipboard plugin.

Not much use on Red Hat but works on Windows.

10 years agoAdded compton configuration.
Iain Patterson [Sat, 29 Jun 2013 10:28:21 +0000 (11:28 +0100)]
Added compton configuration.

10 years agoRecognise DIR: cache collections when becoming.
Iain Patterson [Thu, 13 Jun 2013 09:36:38 +0000 (10:36 +0100)]
Recognise DIR: cache collections when becoming.

The current ticket cache may be a collection.  Look for the DIR: prefix
as well as FILE:.

10 years agoPrevent hang.
Iain Patterson [Tue, 11 Jun 2013 14:20:24 +0000 (15:20 +0100)]
Prevent hang.

If ls produced no output the grep could hang.

10 years agoAllow specifying a match in program output.
Iain Patterson [Thu, 13 Jun 2013 09:29:16 +0000 (10:29 +0100)]
Allow specifying a match in program output.

Use the -g flag to specify a string to grep for instead of just the
program name.

10 years agoTidyup.
Iain Patterson [Thu, 13 Jun 2013 09:28:25 +0000 (10:28 +0100)]
Tidyup.

Don't treat -? as a glob.
Print options in alphabetical order.
Use \b instead of space to match the program name.

11 years agoAdded localvimrc plugin.
Iain Patterson [Mon, 22 Apr 2013 09:04:21 +0000 (10:04 +0100)]
Added localvimrc plugin.

Parse any .lvimrc files in the current or parent directories when
starting vim.

11 years agoStrip symlinks from PATH.
Iain Patterson [Sat, 2 Mar 2013 00:48:47 +0000 (00:48 +0000)]
Strip symlinks from PATH.

Remove entries from PATH etc if they are symlinks to other entries
which already exist.  Useful on Solaris or Fedora 17+ where, for
example, /bin is a symlink to /usr/bin.

11 years agoKRB5CCNAME fixes.
Iain Patterson [Fri, 30 Apr 2010 13:08:45 +0000 (14:08 +0100)]
KRB5CCNAME fixes.

Always pass KRB5CCNAME to became.  Though many vendors' sudo
configurations will retain it in the environment there is no guarantee
that will happen.
Canonicalise KRB5CCNAME which may sometimes be set to a file path
without the FILE: prefix, eg by krenew.

11 years agoSeparate bindings to enter and leave mouse mode.
Iain Patterson [Tue, 22 Jan 2013 17:39:13 +0000 (17:39 +0000)]
Separate bindings to enter and leave mouse mode.

As of tmux 1.7 the mouse-mode option can take one of three possible values,
namely on/off/copy-mode.  We can no longer use ^m to toggle between all
mouse options because toggling only works for on/off values.  Instead use
^m to enable mouse options with copy mode, and alt-m to disable the options.

11 years agoSupport tmux 1.7.
Iain Patterson [Sat, 15 Dec 2012 01:59:55 +0000 (01:59 +0000)]
Support tmux 1.7.

11 years agoPentadactyl deprecated noremap.
Iain Patterson [Mon, 22 Oct 2012 21:53:22 +0000 (22:53 +0100)]
Pentadactyl deprecated noremap.

11 years agoFix test for Mac.
Iain Patterson [Mon, 22 Oct 2012 21:52:19 +0000 (22:52 +0100)]
Fix test for Mac.

.pentdactylrc no longer recognises navigator.userAgent but
content.navigator.userAgent works.

11 years agoTry to handle unrecognised terminals.
Iain Patterson [Mon, 22 Oct 2012 21:17:01 +0000 (22:17 +0100)]
Try to handle unrecognised terminals.

Fall back to various degrees of xterm if the inherited TERM variable
isn't usable.

This should be thought of as a last resort.  In general it is a bad idea
to try to overrule TERM.

11 years agoLight blue active window border.
Iain Patterson [Mon, 22 Oct 2012 21:02:58 +0000 (22:02 +0100)]
Light blue active window border.

11 years agoScript to set urxvt background colour on the fly.
Iain Patterson [Fri, 14 Sep 2012 14:58:41 +0000 (15:58 +0100)]
Script to set urxvt background colour on the fly.

11 years agoSSHTERM background for ads.iain.cx.
Iain Patterson [Fri, 14 Sep 2012 14:58:22 +0000 (15:58 +0100)]
SSHTERM background for ads.iain.cx.

11 years agoSupport urxvt with a 32-bit RGBA visual.
Iain Patterson [Fri, 14 Sep 2012 14:53:17 +0000 (15:53 +0100)]
Support urxvt with a 32-bit RGBA visual.

Use a semi-transparent background for urxvt where possible.
For it to work we need a compositing manager running on a display with
support for at least one 32-bit visual and a window manager which
respects the depth, visual and colormap supplied by urvxt.

11 years agoFix corruption in fonts.conf and prefer DejaVu fonts.
Iain Patterson [Thu, 3 May 2012 14:12:07 +0000 (15:12 +0100)]
Fix corruption in fonts.conf and prefer DejaVu fonts.

11 years agoUse bash builtin to check for tty.
Iain Patterson [Thu, 3 May 2012 14:08:55 +0000 (15:08 +0100)]
Use bash builtin to check for tty.

12 years agoUse ^o to switch back to the last pane.
Iain Patterson [Thu, 1 Mar 2012 12:46:45 +0000 (12:46 +0000)]
Use ^o to switch back to the last pane.

Switching back and forth between panes is done often enough to justify an
easier way than reaching for the six key.

12 years agoUse alt-underscore to monitor a pane for silence.
Iain Patterson [Tue, 28 Feb 2012 15:16:35 +0000 (15:16 +0000)]
Use alt-underscore to monitor a pane for silence.

12 years agoSupport tmux 1.6.
Iain Patterson [Fri, 24 Feb 2012 13:55:56 +0000 (13:55 +0000)]
Support tmux 1.6.

12 years agoUse ^w-^ to switch to the last used window.
Iain Patterson [Fri, 20 Jan 2012 11:32:29 +0000 (11:32 +0000)]
Use ^w-^ to switch to the last used window.

For consistency with tmux, which uses ^ to switch to the last pane,
which is in itself for consistency with vim using ^ to switch to
the last buffer.

Default vim action would be to split and edit the last buffer.  That's
sometimes useful but overall less useful than switching windows.

12 years agoWhitespace.
Iain Patterson [Fri, 20 Jan 2012 11:44:41 +0000 (11:44 +0000)]
Whitespace.

12 years agoReuse windows when using sbuffer.
Iain Patterson [Fri, 20 Jan 2012 11:50:34 +0000 (11:50 +0000)]
Reuse windows when using sbuffer.

12 years agoHighlight unwanted whitespace.
Iain Patterson [Thu, 8 Dec 2011 13:19:55 +0000 (13:19 +0000)]
Highlight unwanted whitespace.

Use a slightly modified version of the script from
http://vim.wikia.com/wiki/Highlight_unwanted_spaces to flag whitespace
at the end of a line.

12 years agoAllow specifying path to tmux socket.
Iain Patterson [Fri, 20 Jan 2012 11:23:28 +0000 (11:23 +0000)]
Allow specifying path to tmux socket.

Use -S to pass the socket path flag to tmux.

12 years agoChange layout keys.
Iain Patterson [Wed, 19 Oct 2011 10:01:53 +0000 (11:01 +0100)]
Change layout keys.

Various changes to which keys select which layout.