4 ms·
Do lots of people use let mapleader = ',' instead of Ctrl? Also does anyone see where they are setting the /// to comment? Commentary uses gcc and I don't see
by wavesounds 13y ago
Do lots of people use let mapleader = ',' instead of Ctrl?
Also does anyone see where they are setting the /// to comment? Commentary uses gcc and I don't see it in their vimrc.
- cgag 13y agoI've never heard of anyone uses ctrl as a leader. I do use comma myself.
- tuananh 13y agoif you use hhkb(http://farm4.staticflickr.com/3322/3599528588_ce3e08503f.jpg http://farm4.staticflickr.com/3322/3599528588_ce3e08503f.jpg) layout, it's rather convenient to use Ctrl as leader.
- robinhood 13y ago"," is kinda becoming the "default" key for leader. After multiple years of using it, it has become very natural.
- jaredmcateer 13y agoAfter doing anything for multiple years of anything I'm sure it would feel natural.
- dfbrown 13y agoI used to use comma, but then I discovered comma's default mapping is actually quite useful[1] so I switched back to the default '\' 1: http://vimdoc.sourceforge.net/htmldoc/motion.html# http://vimdoc.sourceforge.net/htmldoc/motion.html#,
- amadeus 13y agoI went crazy, and it's a bit more tricky to pull off, but `q` is my leader key. Haven't looked back. P.S. I mapped `Q` to recording Macros, since the default use of `Q` is completely useless to me.
- jlgreco 13y agoI keep `q` to record macros, but complement that with :noremap <Space> @q That way I can press `qq` to start recording, `q` to end, then just wack the spacebar to execute. I use it constantly.
- weaksauce 13y agocomma is really useful as a leader and it's not so far away on the keyboard. No one I have heard of uses ctrl for leader(it would ruin a lot of ctrl-whatever commands) and by default the leader is a backslash.
- johncoltrane 13y agoIt's \\\ and it comes from the commentary plugin. It was the default mapping when it was released but it was changed a few months ago. \\\ is still available, though. Yes, lots of people use <leader>something mappings because they offer a lot more flexibility than <C-something> and friends. What you use as mapleader is up to you, "," is simply the value suggested in the doc.