From 8059d2bcb2f1adcd2765df02424ec861ae0ef0a8 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 16 May 2021 10:03:57 +0200 Subject: [PATCH] vimrc modified --- scripts/config/vimrc.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/config/vimrc.txt b/scripts/config/vimrc.txt index 042c1ae..8059ca1 100644 --- a/scripts/config/vimrc.txt +++ b/scripts/config/vimrc.txt @@ -30,21 +30,21 @@ set noswapfile """"""""""""""""""""""""""""""" "Show cursorline -set cursorline +set nocursorline -"Toggle cursorline on f8 +"Toggle cursorline on F8 nnoremap :set invcursorline cursorline? "Show line numbers set number -"Toggle line numbers on f9 +"Toggle line numbers on F9 nnoremap :set invnumber number? "Set paste mode set paste -"Toggle paste mode on f10 +"Toggle paste mode on F10 nnoremap :set invpaste paste? "Transform tabs to spaces @@ -58,7 +58,10 @@ set shiftwidth=4 set shiftround "Code formatting -set autoindent +set noautoindent + +"Toggle autoindent mode on F7 +nnoremap :set invautoindent autoindent? "Line Wrapping set wrap @@ -118,6 +121,7 @@ set statusline+=\ %-40F set statusline+=%= "move to right set statusline+=%5* "switch to User5 highlight +set statusline+=\ F7=autoindent "user help set statusline+=\ F8=cline "user help set statusline+=\ F9=numbers "user help set statusline+=\ F10=paste\ "user help