From f607a9349dca84a8d81928d531a390b35ce635de Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sat, 21 Sep 2019 20:38:03 -0700 Subject: [PATCH] update vim and i3 config --- config/i3/config | 1 + vimrc | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/config/i3/config b/config/i3/config index a0fac7d..3e7c9ee 100644 --- a/config/i3/config +++ b/config/i3/config @@ -34,6 +34,7 @@ bindsym $mod+Return exec i3-sensible-terminal # kill focused window bindsym $mod+Shift+q kill +bindsym $mod+q kill # Pulse Audio controls # increase sound volume diff --git a/vimrc b/vimrc index 2e4b5ff..2290c62 100644 --- a/vimrc +++ b/vimrc @@ -12,19 +12,19 @@ call plug#begin('~/.vim/plugged') Plug 'SirVer/ultisnips' Plug 'editorconfig/editorconfig-vim' -Plug 'fatih/vim-go', { 'tag': '*' } +Plug 'fatih/vim-go', { 'tag': 'v1.20' } Plug 'hashivim/vim-hashicorp-tools' -Plug 'mdempsky/gocode' -Plug 'prettier/vim-prettier', { 'tag': '*' } +Plug 'prettier/vim-prettier', { 'tag': '0.2.7' } Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'vim-scripts/CSApprox' -Plug 'w0rp/ale', { 'tag': '*' } +Plug 'w0rp/ale', { 'tag': '2.5.0' } Plug 'rust-lang/rust.vim' Plug 'pangloss/vim-javascript' Plug 'tpope/vim-surround' Plug 'Quramy/tsuquyomi' Plug 'sheerun/vim-wombat-scheme' Plug 'leafgarland/typescript-vim' +Plug 'cespare/vim-toml' call plug#end() @@ -84,6 +84,8 @@ let g:ale_linters = { "\ 'javascript': ['prettier'], "\} +let g:rustfmt_autosave = 1 + " Close all open buffers on entering a window if the only " buffer that's left is the NERDTree buffer function! s:CloseIfOnlyNerdTreeLeft()