diff --git a/.functions.sh b/.functions.sh index d831d9e..b4440d1 100644 --- a/.functions.sh +++ b/.functions.sh @@ -70,13 +70,13 @@ function ww(){ case $1 in SUSE|suse|S|s|2) - vim -c "normal 2,ww" + vim -c "normal 2 ww" ;; - Private|private|p|2) - vim -c "normal 3,ww" + Private|private|p|3) + vim -c "normal 3 ww" ;; *) - vim -c "normal 1,ww" + vim -c "normal 1 ww" ;; esac } diff --git a/.vimrc b/.vimrc index 8e69b78..82929b3 100644 --- a/.vimrc +++ b/.vimrc @@ -18,8 +18,10 @@ set laststatus=2 set encoding=utf-8 set autoindent set nocompatible +set complete=.,w,b,u,t,i,kspell syntax on -let mapleader="," +nnoremap +let mapleader=" " filetype indent plugin on