vim: leader key, nohl

This commit is contained in:
Meutel 2016-02-23 23:04:51 +01:00
parent 02db30fc9b
commit 540d78dac2

8
_vimrc
View File

@ -81,7 +81,7 @@ filetype plugin indent on
" remap <ESC> " remap <ESC>
inoremap jk <ESC> inoremap jk <ESC>
" leader key " leader key
let mapleader = "," let mapleader = " "
" modeline " modeline
set modeline set modeline
@ -90,8 +90,14 @@ set expandtab
set tabstop=2 set tabstop=2
set shiftwidth=2 set shiftwidth=2
" {{{ Shortcuts
" clear search
nnoremap <silent> <buffer> <leader>l :nohl<cr>
" }}}
" {{{ Vundle " {{{ Vundle
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
call vundle#end() " required call vundle#end() " required
filetype plugin indent on " required filetype plugin indent on " required
" }}} " }}}