diff --git a/vim/plugin/settings/yadr-keymap.vim b/vim/plugin/settings/yadr-keymap.vim index 7e0d56d..ed6f853 100644 --- a/vim/plugin/settings/yadr-keymap.vim +++ b/vim/plugin/settings/yadr-keymap.vim @@ -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) diff --git a/vimrc b/vimrc index 576634b..464a9df 100644 --- a/vimrc +++ b/vimrc @@ -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