From fe0415e0b2ec50c866c5d2f297bce112abf6d690 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Fri, 17 Feb 2023 15:38:48 +0100 Subject: customize for slackware --- .vimrc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index cf4a9e4..ef736a9 100644 --- a/.vimrc +++ b/.vimrc @@ -3,6 +3,8 @@ "set t_te= t_ti= set ls=1 ruler set ai ts=4 sw=4 noet +set nohlsearch +set nois "set mouse=a syntax off filetype on @@ -10,6 +12,11 @@ filetype plugin on filetype plugin indent on let mapleader = "," +" Save all undo and swapfiles at the same place +set directory^=$HOME/.vim/swap// +set undodir=$HOME/.vim/undo// +set undofile + "set rtp+=/opt/homebrew/opt/fzf let g:fzf_preview = 'cat {}' -- cgit v1.2.3