login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
June
»
29
Re: [OT] Vim highlighting for trailing spaces
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Josh Triplett
Subject:
Re: [OT] Vim highlighting for trailing spaces
Date: Friday, June 29, 2007 - 1:42 am
Jan Engelhardt wrote:
quoted text
> On Jun 29 2007 00:53, Josh Triplett wrote: >>>> I actually prefer this (in .vimrc): >>>> >>>> " Show trailing whitespace and spaces before tabs >>>> hi link localWhitespaceError Error >>>> au Syntax * syn match localWhitespaceError /\(\zs\%#\|\s\)\+$/ display >>>> au Syntax * syn match localWhitespaceError / \+\ze\t/ display >>> I prefer this: >>> >>> find . -type f -print0 | xargs -0 grep -Pn '[\t ]+$' >>> >>> It is editor agnostic, and I do not have to look through all source files for >>> highlighted whitespace :-) >> And if you really want highlighting, you can always use grep --color. :) > > Been there, done that, have GREP_COLOR env variable defined!
Same here. Now I just need to convince git-grep to use it. - Josh Triplett -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] CodingStyle: Add information about trailing whites ...
, Josh Triplett
, (Wed Jun 27, 10:59 am)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Chris Shoemaker
, (Wed Jun 27, 11:05 am)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Josh Triplett
, (Wed Jun 27, 11:17 am)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Andrew Morton
, (Wed Jun 27, 12:31 pm)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Chris Shoemaker
, (Wed Jun 27, 12:32 pm)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Jan Engelhardt
, (Wed Jun 27, 3:14 pm)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Oleg Verych
, (Wed Jun 27, 3:14 pm)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Jan Engelhardt
, (Wed Jun 27, 3:18 pm)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, dave young
, (Wed Jun 27, 11:00 pm)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Josh Triplett
, (Wed Jun 27, 11:08 pm)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, dave young
, (Wed Jun 27, 11:29 pm)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Jan Engelhardt
, (Wed Jun 27, 11:52 pm)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Josh Triplett
, (Wed Jun 27, 11:58 pm)
RE: [PATCH] CodingStyle: Add information about trailing wh ...
, Li Yang-r58472
, (Thu Jun 28, 12:08 am)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Dave Young
, (Thu Jun 28, 12:10 am)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Dave Young
, (Thu Jun 28, 12:20 am)
Re: [PATCH] CodingStyle: Add information about trailing wh ...
, Andy Isaacson
, (Thu Jun 28, 7:03 pm)
[OT] Vim highlighting for trailing spaces
, Kyle Moffett
, (Thu Jun 28, 8:11 pm)
Re: [OT] Vim highlighting for trailing spaces
, Jan Engelhardt
, (Fri Jun 29, 12:39 am)
Re: [OT] Vim highlighting for trailing spaces
, Josh Triplett
, (Fri Jun 29, 12:53 am)
Re: [OT] Vim highlighting for trailing spaces
, Jan Engelhardt
, (Fri Jun 29, 1:01 am)
Re: [OT] Vim highlighting for trailing spaces
, Josh Triplett
, (Fri Jun 29, 1:42 am)
Re: [OT] Vim highlighting for trailing spaces
, Björn
, (Fri Jun 29, 2:21 am)
Re: [OT] Vim highlighting for trailing spaces
, Dave Young
, (Fri Jun 29, 2:26 am)
Re: [OT] Vim highlighting for trailing spaces
, Michael Tokarev
, (Fri Jun 29, 5:40 am)
Re: [OT] Vim highlighting for trailing spaces
, Dmitry Torokhov
, (Fri Jun 29, 5:49 am)
Re: [OT] Vim highlighting for trailing spaces
, Kyle Moffett
, (Fri Jun 29, 5:00 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Peter Zijlstra
Re: [RFC PATCH 1/2] Marker probes in futex.c
Jordan Crouse
Re: 2.6.25-mm1
James Morris
Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook
Mark Brown
Re: [PATCH v2 1/2] regulator: add support for regulators on the ab8500 MFD
Arnd Bergmann
Re: [GIT, RFC] Killing the Big Kernel Lock
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
Nicolas Pitre
Re: About git and the use of SHA-1
linux-netdev
:
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Andi Kleen
Re: RFC: Nagle latency tuning
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
Gerrit Renker
[PATCH 4/5] dccp: Initialisation and type-checking of feature sysctls
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
[ARM] 5383/2: unwind: Add core support for ARM stack unwinding
openbsd-misc
:
Rob Shepherd
x86 hardware for router system
Andres Salazar
About priorities in /etc/resolv.conf
Marco Fretz
Re: Hardware recommendation for firewalls (more than 4 NICs)
Mitja Muženič
Re: isakmpd -- NCP IPsec client: peer proposed invalid phase 2 IDs
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate