From f350cd85f7c34eddc2bda68290bf5ae49f91adfc Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Fri, 20 Oct 2017 20:36:54 -0400 Subject: [PATCH] Added VimResized and some shortcuts. --- dotfiles/.bash_aliases | 2 +- dotfiles/.vimrc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases index f0725bb..0af2fbb 100644 --- a/dotfiles/.bash_aliases +++ b/dotfiles/.bash_aliases @@ -41,5 +41,5 @@ g(){ } rs(){ - redshift -O $1 + redshift -O $(($1 * 1000)) } diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 2e54b2f..1d4d531 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -8,6 +8,8 @@ set autoindent set mouse=c set clipboard=unnamedplus +autocmd VimResized * wincmd = + " 'h/u3/c7/05/mokkar/.vim/plugged' " '~/.vim/plugged' call plug#begin('~/.vim/plugged') @@ -24,3 +26,5 @@ colorscheme gotham map o map O +map :wqa +map :wa