7847c50e6b6e

more.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 31 Jan 2012 19:35:33 -0500
parents db4d0e62bcdb
children f47fa6183dd6
branches/tags (none)
files .pentadactylrc vim/.vimrc

Changes

--- a/.pentadactylrc	Tue Jan 31 10:51:33 2012 -0500
+++ b/.pentadactylrc	Tue Jan 31 19:35:33 2012 -0500
@@ -9,7 +9,7 @@
 highlight CompItem   font: normal 14px 'Menlo' !important;
 
 set passkeys+=duckduckgo.com:jk<cr>
-set defsearch=duckduckgo-ssl
+"set defsearch=duckduckgo-ssl
 set runtimepath=/Users/sjl/.pentadactyl
 set editor='/usr/local/bin/mvim -f +<line> <file>'
 set followhints=1
--- a/vim/.vimrc	Tue Jan 31 10:51:33 2012 -0500
+++ b/vim/.vimrc	Tue Jan 31 19:35:33 2012 -0500
@@ -757,7 +757,7 @@
 
 " Split line (sister to [J]oin lines)
 " The normal use of S is covered by cc, so don't worry about shadowing it.
-nnoremap S i<cr><esc><right>
+nnoremap S i<cr><esc><right>mwgk:silent! s/\v +$//<cr>:noh<cr>`w
 
 " HTML tag closing
 inoremap <C-_> <Space><BS><Esc>:call InsertCloseTag()<cr>a