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:
parent
52407ac34c
commit
c3d44936c0
@ -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'
|
" alias yw to yank the entire word 'yank inner word'
|
||||||
" even if the cursor is halfway inside the word
|
" even if the cursor is halfway inside the word
|
||||||
" FIXME: will not properly repeat when you use a dot (tie into repeat.vim)
|
" FIXME: will not properly repeat when you use a dot (tie into repeat.vim)
|
||||||
|
6
vimrc
6
vimrc
@ -27,6 +27,12 @@ set hidden
|
|||||||
"turn on syntax highlighting
|
"turn on syntax highlighting
|
||||||
syntax on
|
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 ===============
|
" =============== Vundle Initialization ===============
|
||||||
" This loads all the plugins specified in ~/.vim/vundle.vim
|
" This loads all the plugins specified in ~/.vim/vundle.vim
|
||||||
" Use Vundle plugin to manage all other plugins
|
" Use Vundle plugin to manage all other plugins
|
||||||
|
Loading…
Reference in New Issue
Block a user