From e3d971046df053da656f81e886d48999e67c2af7 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Fri, 3 Apr 2020 21:28:43 +0200 Subject: [PATCH] Add vimrc.basic. --- vimrc.basic | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 vimrc.basic diff --git a/vimrc.basic b/vimrc.basic new file mode 100644 index 0000000..adaf8e0 --- /dev/null +++ b/vimrc.basic @@ -0,0 +1,28 @@ +"Split view if multiple files are opened +if argc() == 2 + autocmd VimEnter * nested silent vertical all +endif + +set background=dark +set autoindent +set number +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set incsearch +set hlsearch +set expandtab +set autowrite +set cmdheight=2 +set scrolloff=7 +set wildmode=longest,list,full +set wildmenu +set wildignorecase +set ignorecase +set smartcase +set ruler +syntax on +filetype plugin indent on +imap jk +map :set nonumber! +set pastetoggle=