commit 4225f81c2c189a9ddfc72b9a2018f3ae986e6e88 (patch)
parent a46f3733512f33fb86eb6bc42dae8773efc3e9ee
Author: Alexander Karle <akarle@umass.edu>
Date: Mon, 26 Feb 2018 12:31:28 -0500
Minimizing plugin loading using vim-plug plus docker alias
Diffstat:
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/vim/plugins.vim b/vim/plugins.vim
@@ -5,7 +5,7 @@ call plug#begin('~/.vim/bundle')
Plug 'rakr/vim-one'
" Plug nerdtree for tree package explorer
-Plug 'scrooloose/nerdtree'
+Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
" Airline = status bar for vime
Plug 'vim-airline/vim-airline'
@@ -21,13 +21,13 @@ Plug 'scrooloose/nerdcommenter'
Plug 'airblade/vim-gitgutter'
" Syntastic for syntax checks
-Plug 'vim-syntastic/syntastic'
+Plug 'vim-syntastic/syntastic', { 'for': 'python' }
" todo task plugin
-Plug 'irrationalistic/vim-tasks'
+" Plug 'irrationalistic/vim-tasks'
" Simple latex tools
-Plug 'lervag/vimtex'
+Plug 'lervag/vimtex', { 'for': 'tex' }
" fzf -- fuzzy finder
Plug 'junegunn/fzf.vim'
diff --git a/vim/vimrc b/vim/vimrc
@@ -15,6 +15,9 @@ set shiftwidth=4
set autoindent
set smarttab
+"backspace should function as expected
+set backspace=indent,eol,start
+
"search highlighting
set hlsearch
diff --git a/zshrc b/zshrc
@@ -36,6 +36,7 @@ zle -N zle-keymap-select
# other alias'
# alias pgp='open -a "PariGP"'
# alias vim='nvim'
+alias dps="docker ps -a"
# cd to a parent directory
function pcd { cd ${PWD%/$1/*}/$1; }