Make leader to space
This commit is contained in:
parent
cd60c207a2
commit
dc8cf2f48a
1 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ set fenc=utf-8
|
||||||
set termencoding=utf-8
|
set termencoding=utf-8
|
||||||
" }}}
|
" }}}
|
||||||
" LEADER SHORTCUTS {{{
|
" LEADER SHORTCUTS {{{
|
||||||
let mapleader=","
|
let mapleader=" "
|
||||||
|
|
||||||
" jk is escape
|
" jk is escape
|
||||||
inoremap jk <esc>
|
inoremap jk <esc>
|
||||||
|
@ -151,7 +151,7 @@ set path+=** " Find files in sub-folders too
|
||||||
set incsearch " search as characters are entered
|
set incsearch " search as characters are entered
|
||||||
set hlsearch " highlight matches
|
set hlsearch " highlight matches
|
||||||
" turn off search hightlight after search
|
" turn off search hightlight after search
|
||||||
nnoremap <leader><space> :nohlsearch<CR>
|
nnoremap <leader>, :nohlsearch<CR>
|
||||||
" }}}
|
" }}}
|
||||||
" FOLDING {{{
|
" FOLDING {{{
|
||||||
set foldenable " enable folding
|
set foldenable " enable folding
|
||||||
|
@ -159,7 +159,7 @@ set foldlevelstart=10 " open most folds by default (0 to 99)
|
||||||
set foldnestmax=10 " guard against too many nested folds
|
set foldnestmax=10 " guard against too many nested folds
|
||||||
set foldmethod=syntax " fold based on filetype
|
set foldmethod=syntax " fold based on filetype
|
||||||
" space opens and closes folds
|
" space opens and closes folds
|
||||||
nnoremap <space> za
|
nnoremap , za
|
||||||
" }}}
|
" }}}
|
||||||
" MOVEMENT {{{
|
" MOVEMENT {{{
|
||||||
" move vertically by visual line (don't jump wrapped lines)
|
" move vertically by visual line (don't jump wrapped lines)
|
||||||
|
|
Loading…
Add table
Reference in a new issue