From 492079d5135b75a2b93f8d0573a6ed1508fcefd3 Mon Sep 17 00:00:00 2001 From: Jidbo Date: Mon, 12 Aug 2019 00:15:00 +0200 Subject: [PATCH] add editorconfig plugin and cleanup --- .vimrc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.vimrc b/.vimrc index 0a9261d..e4fa28f 100644 --- a/.vimrc +++ b/.vimrc @@ -54,6 +54,9 @@ Plugin 'vim-airline/vim-airline-themes' " vim ale for interaction with language servers Plugin 'w0rp/ale' +" editorconfig plugin +Plugin 'editorconfig/editorconfig-vim' + " language packs Plugin 'sheerun/vim-polyglot' @@ -140,12 +143,6 @@ noremap noremap noremap -" html css js indents -au BufNewFile,BufRead *.js, *.html, *.css - \ set tabstop=4 | - \ set softtabstop=4 | - \ set shiftwidth=4 - " Delete buffer while keeping window layout (don't close buffer's windows). " Version 2008-11-18 from http://vim.wikia.com/wiki/VimTip165 if v:version < 700 || exists('loaded_bclose') || &cp @@ -253,7 +250,7 @@ augroup VimDiff augroup END " fzf setup -nmap :Buffers +nmap :Buffers nmap f :Files let g:fzf_buffers_jump = 1