Commit Graph

40 Commits

Author SHA1 Message Date
Yan Pritzker
8ce49daaa0 Revert "Change indent/unindent behaviour in visual mode"
This is not good for normal vim behavior. You should be able to hit '.'
to repeat the last command. This change breaks that with respect to
indenting.

This reverts commit 72ff8f33db.
2013-05-01 11:21:19 -05:00
Yan Pritzker
f460aa1442 Merge pull request #285 from lfilho/improved-semicolon-insertion
Improved semicolon insertion
2013-04-08 07:34:26 -07:00
Fabio Gallonetto
72ff8f33db Change indent/unindent behaviour in visual mode
After indenting/unindenting the selected lines of code, vim
deselects forcing the user to reapply the selection in order to
indent multiple times.

This remap fixes the problem.
2013-04-07 11:32:49 +01:00
Luiz Gonzaga dos Santos Filho
00a31329c4 Improving semicolon insertion at the end of the line 2013-04-06 23:53:49 +02:00
Fabio Gallonetto
c3d44936c0 Move mapleader definition to vimrc
It seems that the mapleader has to be defined before vundle starts
to load the plugins. For this reason, I moved it from yadr-keymap
back into the vimrc. I'm sure it's not a big deal having the leader
mapped under the "general config" instead of inside settings.
2013-03-16 17:09:43 +00:00
Yan Pritzker
8124d50657 Remove arpeggio; unused 2013-02-15 20:24:03 -06:00
Yan Pritzker
018f744346 Fix cmd-j and cmd-k navigate by function bindings 2012-12-10 10:31:01 -06:00
Yan Pritzker
695a4a0d87 cl! abbreviation for logging, and ;; for closing javascript lines 2012-11-16 12:19:45 -06:00
Yan Pritzker
485c7f1800 Bundles for better javascript highlighting and tag highlighting 2012-11-16 09:31:59 -06:00
Yan Pritzker
a5b5dd63e0 Implement jump to ruby method (bang-aware)
It always annoyed me that vim jump-to-tag (ctrl-] or ,f in yadr)
totally flopped when it came to ruby bang methods. This function
handles methods! and method.invocations! to find bang versions
of methods.
2012-10-08 18:39:08 -07:00
Yan Pritzker
a5a86a2a7d When opening nerdtree wtih C-\ ensure consistent sizing 2012-10-02 21:57:29 -07:00
Yan Pritzker
f2288cd94e Made ,gf / ctrl-f aware of line numbers
Now you can `,gf` or can `ctrl-f` file.rb:123
2012-09-27 11:12:38 -07:00
Yan Pritzker
34bb32e172 Added for html preview in Safari 2012-09-11 10:19:13 -07:00
yan
a3bcfc3e51 Make ,qc also close conques 2012-06-11 10:49:03 -05:00
yan
5d7cf73799 Added Cmd-), Cmd-] and etc for modifying content inside surrounds 2012-05-15 08:43:49 -05:00
yan
5b8742e226 More vim surround shortcuts ,} ,] ,) ,' etc 2012-05-09 17:54:30 -07:00
yan
6cefaf13f7 vim: ,# and ," for wrapping words in ruby interpolation or quotes 2012-05-07 23:55:41 -07:00
yan
86c5fe1ea6 Added Ctrl-s to open spec for any file you're looking at
Similar to rails.vim's :A and :AV command, except it knows
about fast_spec. Could be expanded in the future to add more
spec paths.
2012-04-25 19:39:31 -07:00
yan
d7b7d79eaa Added ,Cmd-R to rerun last conque commend (re-exec spec) 2012-04-24 14:29:18 -07:00
yan
ea007403ac Unmap the arrow keys, use Cmd-Arrow keys instead for window resize 2012-04-18 17:49:00 -07:00
Yan Pritzker
46daacbaca Remove enter to clear highlight, interferes with quickfix window 2012-04-16 09:47:31 -07:00
Yan Pritzker
1d89bbbf81 Remove arpeggio fd and jk because they interfere with Cmd-j, Cmd-k 2012-04-16 09:47:30 -07:00
Yan Pritzker
e56c32b568 Vim mappings: Ctrl-l for => and arrow keys to window resize 2012-04-16 09:47:30 -07:00
yan
ebc1ea9cc7 Added ,cn to copy name of current file into system clipboard 2012-04-14 16:40:50 -07:00
yan
2bf0f5908f Change ,cf to give you the filename relative to your home dir 2012-04-05 10:03:48 -07:00
yan
2ecf17bf18 Added ',hi' to see the current highlight group 2012-04-04 02:21:19 -07:00
yan
2c47d14184 Added ,gcf - git grep references to current file 2012-03-29 13:40:59 -07:00
Taybin Rutkin
6eb7bcb05e fully remove taglist in favor of tagbar 2012-03-12 23:30:22 -04:00
yan
f221a8174a Remove conflicting tab/window management bindings 2012-03-12 12:26:33 -05:00
yan
10ce30d811 Change window navigation to Ctrl-h,j,k,l to avoid overriding vim defaults [Close #42] 2012-03-12 12:05:56 -05:00
yan
898fbb1095 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
2012-03-09 01:16:33 -08:00
Yan Pritzker
55348c13e7 Changed conflicting ,cc keymap to ,vc (execute vim command) 2012-03-08 16:46:45 -08:00
Yan Pritzker
ecac581510 Added + and - for resizing vertical windows 2012-03-08 13:20:05 -08:00
Yan Pritzker
fa59cff513 Replaced vim-rspec with vim-ruby-conque bindings 2012-03-08 23:25:10 -08:00
Yan Pritzker
7b2be4c97b Added ,gf - go to file in vertical split 2012-03-07 11:52:26 -08:00
Yan Pritzker
103b500492 Remove semicolon mapping; semicolon is used to repeat last find command 2012-03-06 15:44:41 -08:00
Danny Olson & Yan Pritzker
5e2665a797 ,z and ,x bindings to move back and forth through buffers 2012-02-10 14:59:48 -08:00
Kyle West
4dadf56b2e is it possible to have tab 0? I don't think so, so I removed the mapping. 2012-01-25 21:19:07 -05:00
Kyle West
6eb06c25bf Merge branch 'master' into vim-tweaks 2012-01-25 16:11:37 -05:00
Kyle West
4c4938f769 organized config files and suggested new naming convention (see settings/README). 2012-01-25 13:47:44 -05:00