From 21a4716da8a0d61cdec58b3bd40e1a4dd63227fb Mon Sep 17 00:00:00 2001 From: Yuri Zamyatin Date: Tue, 1 Apr 2025 00:12:06 +0000 Subject: [PATCH] wip --- compat-linux/config/vim/vimrc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 compat-linux/config/vim/vimrc diff --git a/compat-linux/config/vim/vimrc b/compat-linux/config/vim/vimrc new file mode 100644 index 0000000..8df869c --- /dev/null +++ b/compat-linux/config/vim/vimrc @@ -0,0 +1,23 @@ +" Don't try to be vi compatible +set nocompatible + +" Show matching brackets when text indicator is over them +set showmatch + +" Turn on syntax highlighting +syntax on + +" Highlight search results +set hlsearch + +" Search while typing +set incsearch + +" Show line numbers +set number + +" Show file stats +set ruler + +" W - Save file as superuser +command! W execute 'w !sudo tee % > /dev/null' edit!