From 49638ca7e88cbef7bb2012b06fe4c126bffd835f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 22 Aug 2018 15:02:05 -0700 Subject: Vim colors and other ui tweaks --- home.nix | 3 ++- vimrc | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/home.nix b/home.nix index 5e5f44f..e40b4bb 100644 --- a/home.nix +++ b/home.nix @@ -181,11 +181,12 @@ in vim = { enable = true; plugins = [ - "ctrlp" + "ctrlp" "fugitive" "editorconfig-vim" "gitgutter" "surround" + "vim-colorschemes" ]; extraConfig = builtins.readFile ./vimrc; }; diff --git a/vimrc b/vimrc index b92e584..89ad60a 100644 --- a/vimrc +++ b/vimrc @@ -6,9 +6,9 @@ set encoding=utf-8 " Set encoding set expandtab " Use spaces instead of tabs set formatoptions+=j " Delete comment character when joining commented lines set hlsearch " Highlight all search results +set laststatus=1 " No status line set ignorecase " Ignore cases when searching set incsearch " Incremental search -set laststatus=1 " No status line set linebreak " Break lines at word (requires Wrap lines) set ruler " Show line & col number of cursor position set shiftwidth=4 " Number of auto-indent spaces @@ -54,4 +54,5 @@ map :tab split:exec("tag ".expand("")) map :vsp :exec("tag ".expand("")) """ Colors -hi Search term=reverse cterm=reverse gui=reverse ctermbg=NONE guibg=NONE +set background=light +colorscheme solarized -- cgit v1.2.3