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.
This commit is contained in:
Fabio Gallonetto 2013-03-16 13:44:39 +00:00
parent 52407ac34c
commit c3d44936c0
2 changed files with 6 additions and 4 deletions

View File

@ -3,10 +3,6 @@
" ========================================
"
"
" Change leader to a comma because the backslash is too far away
" That means all \x commands turn into ,x
let mapleader=","
" alias yw to yank the entire word 'yank inner word'
" even if the cursor is halfway inside the word
" FIXME: will not properly repeat when you use a dot (tie into repeat.vim)

6
vimrc
View File

@ -27,6 +27,12 @@ set hidden
"turn on syntax highlighting
syntax on
" Change leader to a comma because the backslash is too far away
" That means all \x commands turn into ,x
" The mapleader has to be set before vundle starts loading all
" the plugins.
let mapleader=","
" =============== Vundle Initialization ===============
" This loads all the plugins specified in ~/.vim/vundle.vim
" Use Vundle plugin to manage all other plugins