From 3bd96b90b781f2a85ff19cfcb799dcfdc6cc554a Mon Sep 17 00:00:00 2001 From: Michel Date: Tue, 12 Nov 2024 21:17:29 +0100 Subject: [PATCH] feat(vim): config --- .README.md | 5 +++-- .vimrc | 14 +++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.README.md b/.README.md index 13ebcd0..0791a42 100644 --- a/.README.md +++ b/.README.md @@ -60,7 +60,8 @@ apt install --no-install-recommends \ kitty-terminfo libarchive-tools lsd \ meld ncdu \ ripgrep trash-cli \ - vim-nox vim-tiny- wget xdg-utils xsel + vim-nox vim-tiny- wget xdg-utils xsel \ + zsh # Diversion: dpkg-divert --rename --divert /usr/bin/fd{,find} @@ -120,7 +121,7 @@ dotfiles config --local status.showUntrackedFiles no BRANCH=main BKDIR=".dotfiles-backup/"; -dotfiles checkout ${BRANCH} 2>&1 | egrep "\s+" | awk {'print $1'} | +dotfiles checkout ${BRANCH} 2>&1 | egrep "^\s+" | awk {'print $1'} | xargs -I{} sh -c "mkdir -p \$(dirname ${BKDIR}{}); mv -iv {} ${BKDIR}{}"; dotfiles checkout ${BRANCH} diff --git a/.vimrc b/.vimrc index 6f86102..ba316c9 100644 --- a/.vimrc +++ b/.vimrc @@ -1,6 +1,18 @@ " :help nvim-from-vim " :checkhealth colorscheme darkblue +syntax on + set background=dark -set nowrap +set hlsearch +set ignorecase +set incsearch +set mouse=a +set number +set relativenumber +set scrolloff=2 set shiftwidth=2 +set smartcase + +set nowrap +set nowrapscan