diff --git a/_config/i3/config b/_config/i3/config index 982e741..cffb952 100644 --- a/_config/i3/config +++ b/_config/i3/config @@ -154,5 +154,6 @@ client.unfocused $bgalt $bgalt $fg $bg $bgalt # client.background $bg # autostart -exec_always --no-startup-id wal -q -t -i ~/wallpaper --saturate 0.8 -exec_always --no-startup-id ~/.config/polybar/launch.sh +exec --no-startup-id wal -q -t -i ~/wallpaper --saturate 0.8 +exec_always ~/.config/polybar/launch.sh + diff --git a/vim/vimrc b/vim/vimrc index 71615d1..1e0d7db 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -25,7 +25,7 @@ set backspace=eol,start,indent " make backspace not be stupid set whichwrap+=<,>,h,l set list -set listchars=trail:·,precedes:«,extends:»,eol:↲,tab:→\ +set listchars=trail:·,precedes:«,extends:»,eol:↲,tab:→\ set ignorecase " ignore case when searching set smartcase " be "smart" about case when searching set hlsearch " highlight search results @@ -43,9 +43,10 @@ set spell " spell checking, woo set foldcolumn=1 set ruler " always show current position -set tabstop=4 " who the heck uses 8-space tabs? -set shiftwidth=4 -set smarttab +" set tabstop=4 " who the heck uses 8-space tabs? +" set shiftwidth=4 +" set smarttab +set shiftwidth=2 " auto-install vim-plug if empty(glob('~/.vim/autoload/plug.vim')) @@ -63,7 +64,6 @@ Plug 'dylanaraps/wal.vim' " syntax Plug 'cakebaker/scss-syntax.vim' Plug 'calviken/vim-gdscript3' -"Plug 'ianks/vim-tsx' Plug 'leafgarland/typescript-vim' Plug 'lepture/vim-jinja' Plug 'posva/vim-vue' @@ -89,24 +89,37 @@ map \b :Gblame map \l :Glog map \gs :Gstatus "}}} +Plug 'justinmk/vim-dirvish', "{{{ +nmap \e (dirvish_up) +augroup dirvish_mapping + autocmd! + autocmd! FileType dirvish call DirvishMapping() +augroup END +function! DirvishMapping() + nmap \e gq> +endfunction +"}}} +Plug 'kristijanhusak/vim-dirvish-git' +Plug 'mattn/webapi-vim' +Plug 'mattn/vim-gist' Plug 'airblade/vim-gitgutter' Plug 'easymotion/vim-easymotion', "{{{ map (easymotion-prefix) "}}} Plug 'sheerun/vim-polyglot' -Plug 'neoclide/coc.nvim', {'branch': 'release'}, "{{{ -let g:coc_global_extensions = [ - \ 'coc-css', - \ 'coc-emoji', - \ 'coc-eslint', - \ 'coc-json', - \ 'coc-prettier', - \ 'coc-rls', - \ 'coc-tslint', - \ 'coc-tslint-plugin', - \ 'coc-tsserver', - \ 'coc-yaml', - \ ] +Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}, "{{{ +" let g:coc_global_extensions = [ +" \ 'coc-css', +" \ 'coc-emoji', +" \ 'coc-eslint', +" \ 'coc-json', +" \ 'coc-prettier', +" \ 'coc-rls', +" \ 'coc-tslint', +" \ 'coc-tslint-plugin', +" \ 'coc-tsserver', +" \ 'coc-yaml', +" \ ] set signcolumn=yes set updatetime=300 set shortmess+=c @@ -216,7 +229,7 @@ nnoremap / :Rg call plug#end() "--- Visuals -highlight ExtraWhitespace ctermbg=20 +highlight ExtraWhitespace ctermbg=20 ctermfg=1 match ExtraWhitespace /\s\+$/ autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@ +" nnoremap \e VinegarUp let g:netrw_banner = 0 let g:netrw_liststyle = 3 let g:netrw_altv = 1 diff --git a/zshrc b/zshrc index c8a83e6..5a5136f 100644 --- a/zshrc +++ b/zshrc @@ -32,13 +32,3 @@ done [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.zshrc.local ] && source ~/.zshrc.local [ -f ~/.aliases ] && source ~/.aliases - -# tabtab source for serverless package -# uninstall by removing these lines or running `tabtab uninstall serverless` -[[ -f /home/mark/code/ereloom.io/node_modules/tabtab/.completions/serverless.zsh ]] && . /home/mark/code/ereloom.io/node_modules/tabtab/.completions/serverless.zsh -# tabtab source for sls package -# uninstall by removing these lines or running `tabtab uninstall sls` -[[ -f /home/mark/code/ereloom.io/node_modules/tabtab/.completions/sls.zsh ]] && . /home/mark/code/ereloom.io/node_modules/tabtab/.completions/sls.zsh -# tabtab source for slss package -# uninstall by removing these lines or running `tabtab uninstall slss` -[[ -f /home/mark/code/ereloom.io/node_modules/tabtab/.completions/slss.zsh ]] && . /home/mark/code/ereloom.io/node_modules/tabtab/.completions/slss.zsh