April 2017

S M T W T F S
      1
2345678
910111213 1415
16171819 2021 22
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Thursday, March 5th, 2009 12:48 am
Well, after a day of playing around with it, I have a better sense of the FrogPad. I'm writing this with one hand, which is pretty comfortably at my side while I sit in bed. The arrangement can still use some tweaking, but shows promise.

I've done some reconfiguring of a number of tools to take advantage of the new layout...

For vim, \f will toggle between frogpad and normal keymaps thanks to:

" FrogPad keybindings {{{
function s:froggy()
    if !exists("s:frogpad") || s:frogpad == 0
        echo "FrogPad mode on"
        let s:frogpad = 1
        noremap o h
        noremap e j
        noremap E J
        noremap h k
        noremap t l
        noremap l o
        noremap L O
        noremap j t
        noremap J T
        noremap k e
    else
        echo "FrogPad mode off"
        let s:frogpad = 0
        unmap o
        unmap e
        unmap E
        unmap h
        unmap t
        unmap l
        unmap L
        unmap j
        unmap J
        unmap k
    endif
endfunction
nmap \f :call froggy()
"}}}

And for mutt; not as elegant with the toggle:

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# muttrc extension with nice keybindings for a FrogPad
#
# source ~/.mutt/muttrc-frog
# (from muttrc or from mutt directly)
#
# Key bindings
#
#	maps:
#		alias		alias menu
#		attach		attachment menu
#		browser		directory browser
#		compose		compose menu
#		index		message index
#		pgp		pgp menu
#		postpone	postponed message recall menu
#		generic		generic keymap for all of the above
#		editor		line editor
#		pager		text viewer
#		
bind alias,attach,browser,compose,index,pgp,postpone,generic,pager  e   next-entry
bind alias,attach,browser,compose,index,pgp,postpone,generic,pager  h   previous-entry
bind index,pager            E       edit
bind compose                E       edit-message
bind compose                e  edit-headers
bind index,pager,compose    H       display-toggle-weed
Tags:
Thursday, March 5th, 2009 03:30 pm (UTC)
I'm going to have to keep track of these extensions. I've done some poking about with vim configuration, but only in the area of syntax highlighting.
Thursday, March 5th, 2009 06:55 pm (UTC)
this made NO sense to me, but I'm glad you're doing well ^.^