let <SPACE> be vim leader
This commit is contained in:
parent
c2befd1068
commit
7cb4d054a4
@ -70,13 +70,13 @@ function ww(){
|
|||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
SUSE|suse|S|s|2)
|
SUSE|suse|S|s|2)
|
||||||
vim -c "normal 2,ww"
|
vim -c "normal 2 ww"
|
||||||
;;
|
;;
|
||||||
Private|private|p|2)
|
Private|private|p|3)
|
||||||
vim -c "normal 3,ww"
|
vim -c "normal 3 ww"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
vim -c "normal 1,ww"
|
vim -c "normal 1 ww"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
4
.vimrc
4
.vimrc
@ -18,8 +18,10 @@ set laststatus=2
|
|||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set autoindent
|
set autoindent
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
set complete=.,w,b,u,t,i,kspell
|
||||||
syntax on
|
syntax on
|
||||||
let mapleader=","
|
nnoremap <SPACE> <Nop>
|
||||||
|
let mapleader=" "
|
||||||
|
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user