sandy

text editor
git clone git://git.suckless.org/sandy
Log | Files | Refs | README | LICENSE

commit 48647d7f5cfc75b4d5871df0561b4b22a71578ed
parent 4917ea9b4de6ce5fa28bdf30c4713ab62124ea9c
Author: Rafael Garcia <rafael.garcia.gallego@gmail.com>
Date:   Wed, 15 Jun 2011 15:17:31 +0200

Simpler bindings let you select stuff prior to deleting it.
Diffstat:
config.def.h | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -101,7 +101,6 @@ static Key stdkeys[] = { { CONTROL('J'), { 0, 0, 0, 0 }, f_move, { .m = m_nextline } }, { CONTROL('K'), { t_sel, t_rw, 0, 0 }, f_pipe, TOCLIP }, { CONTROL('K'), { t_eol, t_rw, 0, 0 }, f_delete, { .m = m_nextchar } }, -{ CONTROL('K'), { t_rw, 0, 0, 0 }, f_delete, { .m = m_eol } }, { CONTROL('K'), { 0, 0, 0, 0 }, f_select, { .m = m_eol } }, { CONTROL('L'), { 0, 0, 0, 0 }, f_center, { 0 } }, { CONTROL('M'), { t_rw, 0, 0, 0 }, f_insert, { .v = "\n" } }, @@ -110,7 +109,6 @@ static Key stdkeys[] = { { CONTROL('O'), { t_sel, 0, 0, 0 }, f_select, { .m = m_tosel } }, /* Swap fsel and fcur */ { CONTROL('P'), { 0, 0, 0, 0 }, f_move, { .m = m_prevline } }, { CONTROL('Q'), { t_sel, t_rw, 0, 0 }, f_pipe, TOCLIP }, -{ CONTROL('Q'), { t_rw, 0, 0, 0 }, f_delete, { .m = m_nextword } }, { CONTROL('Q'), { 0, 0, 0, 0 }, f_select, { .m = m_nextword } }, { CONTROL('R'), { t_sel, 0, 0, 0 }, f_findbw, { 0 } }, { CONTROL('R'), { 0, 0, 0, 0 }, f_spawn, FINDBW }, @@ -119,11 +117,9 @@ static Key stdkeys[] = { { CONTROL('T'), { 0, 0, 0, 0 }, f_pipero , TOCLIP }, { CONTROL('U'), { t_sel, t_rw, 0, 0 }, f_pipe, TOCLIP }, { CONTROL('U'), { t_bol, t_rw, 0, 0 }, f_delete, { .m = m_prevchar } }, -{ CONTROL('U'), { t_rw, 0, 0, 0 }, f_delete, { .m = m_bol } }, { CONTROL('U'), { 0, 0, 0, 0 }, f_select, { .m = m_bol } }, { CONTROL('V'), { 0, 0, 0, 0 }, f_toggle, { .i = S_InsEsc } }, { CONTROL('W'), { t_sel, t_rw, 0, 0 }, f_pipe, TOCLIP }, -{ CONTROL('W'), { t_rw, 0, 0, 0 }, f_delete, { .m = m_prevword } }, { CONTROL('W'), { 0, 0, 0, 0 }, f_select, { .m = m_prevword } }, { CONTROL('X'), { t_mod, 0, 0, 0 }, f_save, { 0 } }, { CONTROL('X'), { 0, 0, 0, 0 }, f_toggle, { .i = S_Running } },