Added Arpeggio plugin for key chord combos and Filesystem Size Used Avail Capacity Mounted on

/dev/disk0s2   931Gi  481Gi  450Gi    52%    /
devfs          192Ki  192Ki    0Bi   100%    /dev
map -hosts       0Bi    0Bi    0Bi   100%    /net
map auto_home    0Bi    0Bi    0Bi   100%    /home
/dev/disk1s2    15Mi   15Mi    0Bi   100%    /Volumes/Flash Player
/dev/disk2s2   100Mi  100Mi    0Bi   100%    /Volumes/Google Chrome
/dev/disk4     5.0Mi  2.9Mi  2.1Mi    59%    /Volumes/KeyCastr
/dev/disk5     4.2Gi  4.2Gi    0Bi   100%    /Volumes/Blue in Green
/dev/disk6s2   100Mi   17Mi   83Mi    17%    /Volumes/MacScan Installer and  chords to go to beginning and end of line
This commit is contained in:
yan
2012-03-09 01:16:33 -08:00
committed by Yan Pritzker
parent 28edcb11b6
commit 898fbb1095
4 changed files with 14 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -279,3 +279,6 @@
[submodule "vim/bundle/skwp-vim-powerline"] [submodule "vim/bundle/skwp-vim-powerline"]
path = vim/bundle/skwp-vim-powerline path = vim/bundle/skwp-vim-powerline
url = https://github.com/skwp/vim-powerline url = https://github.com/skwp/vim-powerline
[submodule "vim/bundle/kana-vim-arpeggio"]
path = vim/bundle/kana-vim-arpeggio
url = https://github.com/kana/vim-arpeggio

View File

@@ -326,6 +326,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
* `,.` to go to last edit location instead of `'.` because the apostrophe is hard on the pinky * `,.` to go to last edit location instead of `'.` because the apostrophe is hard on the pinky
* `Cmd-'` and `Cmd-"` to change content inside quotes * `Cmd-'` and `Cmd-"` to change content inside quotes
* Cmd-Space to autocomplete. Tab for snipmate snippets. * Cmd-Space to autocomplete. Tab for snipmate snippets.
* `fd` and `jk` key *chords* - hit the first two homerow buttons simultaneously on either side of the keyboard to go to beginning and end of line
#### Tab Navigation #### Tab Navigation
@@ -444,6 +445,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
#### General enhancements that don't add new commands #### General enhancements that don't add new commands
* Arpeggio - allows you to define key-chord combinations
* IndexedSearch - when you do searches will show you "Match 2 of 4" in the status line * IndexedSearch - when you do searches will show you "Match 2 of 4" in the status line
* delimitMate - automatically closes quotes * delimitMate - automatically closes quotes
* syntastic - automatic syntax checking when you save the file * syntastic - automatic syntax checking when you save the file

View File

@@ -1,3 +1,6 @@
" Arpeggio lets us define key-chord combos (simultaneous key presses)
call arpeggio#load()
" ======================================== " ========================================
" General vim sanity improvements " General vim sanity improvements
" ======================================== " ========================================
@@ -35,6 +38,11 @@ imap <silent> <D-d> _
imap <silent> <D-K> - imap <silent> <D-K> -
imap <silent> <D-D> - imap <silent> <D-D> -
" Use the two first fingers on both sides of the keyboard
" simultaneously to go to the beginning or end of line
Arpeggio nnoremap jk $
Arpeggio nnoremap fd 0
" Change inside quotes with Cmd-" and Cmd-' " Change inside quotes with Cmd-" and Cmd-'
nnoremap <D-'> ci' nnoremap <D-'> ci'
nnoremap <D-"> ci" nnoremap <D-"> ci"