From 79238b36be43322e3ae1b970cf905beb473b4b96 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Fri, 8 Apr 2022 09:42:11 +0200 Subject: [PATCH] perf for vscode --- files/vimrc | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/files/vimrc b/files/vimrc index ea5109b..4926307 100644 --- a/files/vimrc +++ b/files/vimrc @@ -1,19 +1,21 @@ -syntax on - -set number relativenumber -set noerrorbells -set tabstop=2 softtabstop=2 -set shiftwidth=2 -set expandtab -set smartindent -set nu -set nowrap -set smartcase -set noswapfile -set nobackup -set undodir=~/.vim/undodir -set undofile -set incsearch +if exists('g:vscode') +else + syntax on + set number relativenumber + set noerrorbells + set tabstop=2 softtabstop=2 + set shiftwidth=2 + set expandtab + set smartindent + set nu + set nowrap + set smartcase + set noswapfile + set nobackup + set undodir=~/.vim/undodir + set undofile + set incsearch +endif nmap (easymotion-bd-w)