From f350cd85f7c34eddc2bda68290bf5ae49f91adfc Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Fri, 20 Oct 2017 20:36:54 -0400 Subject: [PATCH 1/2] 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 From c652402f9475523cac4f1f599e2c0e7e5d425636 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Fri, 20 Oct 2017 22:36:25 -0400 Subject: [PATCH 2/2] Got Gotham to work on vim. --- dotfiles/.bash_aliases | 4 ++-- dotfiles/.vimrc | 10 ++++++---- dotfiles/termConfig | 6 +++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases index 0af2fbb..af52a37 100644 --- a/dotfiles/.bash_aliases +++ b/dotfiles/.bash_aliases @@ -17,8 +17,8 @@ alias mlt="okular ~/Downloads/Textbook.pdf" alias lab="cd ~/258/258-labs-self" # config -alias vb="gvim ~/.bash_aliases" -alias vv="gvim ~/.vimrc" +alias vb="vi ~/.bash_aliases" +alias vv="vi ~/.vimrc" alias rba=". ~/.bashrc" # git diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 1d4d531..ebffd7a 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -18,13 +18,15 @@ Plug 'vim-scripts/L9' Plug 'vim-scripts/FuzzyFinder' Plug 'whatyouhide/vim-gotham' Plug 'nathanaelkane/vim-indent-guides' -Plug 'felixhummel/setcolors.vim' +" Plug 'felixhummel/setcolors.vim' +Plug 'flazz/vim-colorschemes' call plug#end() -colorscheme gotham +colorscheme gotham256 -map o -map O +" map o +" map O +map :PlugInstall map :wqa map :wa diff --git a/dotfiles/termConfig b/dotfiles/termConfig index 8d7f6e7..faabe0b 100644 --- a/dotfiles/termConfig +++ b/dotfiles/termConfig @@ -2,7 +2,7 @@ title_font = Noto Sans 10 title_transmit_bg_color = "#3d3d3d" [keybindings] - close_term = w + close_term = w [layouts] [[default]] [[[child1]]] @@ -18,6 +18,6 @@ copy_on_selection = True cursor_color = "#b9b9b9" font = Noto Mono 11 - foreground_color = "#174af0" - palette = "#1f1f1f:#f81118:#2dc55e:#ecba0f:#2a84d2:#4e5ab7:#1081d6:#d6dbe5:#d6dbe5:#de352e:#1dd361:#f3bd09:#1081d6:#5350b9:#0f7ddb:#ffffff" + foreground_color = "#0077ff" + palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff" use_system_font = False