From 7cb4d054a478074004da6a04f049b8efc416a57b Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Mon, 13 Jul 2020 13:45:26 +0200 Subject: [PATCH] let be vim leader --- .functions.sh | 8 ++++---- .vimrc | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) 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