thoughtbot / dotfiles

A set of vim, zsh, git, and tmux configuration files.
https://thoughtbot.com
Other
7.97k stars 1.87k forks source link

Map leader to , #23

Closed croaky closed 12 years ago

croaky commented 12 years ago

This seems to be common practice in other thoughtbot folks' dotfiles. Bring it in?

https://github.com/r00k/dotfiles/blob/master/vimrc

Also want to steal that <Leader>b git blame.

jferris commented 12 years ago

I've been using <Space> as my leader for a long time now. If you haven't tried it, I highly recommend it! You have two thumbs and you can't miss!

By default, , is mapped to repeat the latest find with f, t, etc backwards, which I find very useful.

jferris commented 12 years ago

I use space as my leader. Comma is a useful command by default.

Sent from an itty, bitty keyboard On May 6, 2012 9:21 PM, "Dan Croak" < reply@reply.github.com> wrote:

This seems to be common practice in other thoughtbot folks' dotfiles. Bring it in?

https://github.com/r00k/dotfiles/blob/master/vimrc

Also want to steal that <Leader>b git blame.


Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/dotfiles/issues/23

croaky commented 12 years ago

Cool, will try <Space> for a while. Closing this one.

a-b-r-o-w-n commented 9 years ago

Have you guys had any issues with <space> as a leader interfering while in insert mode? It may be because of another plugin installed, but there seems to be a delay when typing. Is there a way to disable the leader while in insert mode?

christoomey commented 9 years ago

I've had no issues personally, and I would not expect there to be any insert mode leader prefixed maps, but you can test it by running the following command :verbose imap <leader> which will list any mappings and what file / plugin defined them.

a-b-r-o-w-n commented 9 years ago

Ahh.. I found the issue. a.vim plugin. Thanks a lot for your help!