summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-08-22 15:02:05 -0700
committerBen Sima <ben@bsima.me>2018-08-22 15:02:05 -0700
commit49638ca7e88cbef7bb2012b06fe4c126bffd835f (patch)
treeaa32ca27b01c7b5d1df3be5d0fb65aba7e135867
parentd61a05daf335232a4207a674c645e94f519e658a (diff)
Vim colors and other ui tweaks
-rw-r--r--home.nix3
-rw-r--r--vimrc5
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 <C-\> :tab split<CR>:exec("tag ".expand("<cword>"))<CR>
map <A-]> :vsp <CR>:exec("tag ".expand("<cword>"))<CR>
""" Colors
-hi Search term=reverse cterm=reverse gui=reverse ctermbg=NONE guibg=NONE
+set background=light
+colorscheme solarized