diff options
author | Ben Sima <ben@bsima.me> | 2018-08-22 15:02:05 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-08-22 15:02:05 -0700 |
commit | 49638ca7e88cbef7bb2012b06fe4c126bffd835f (patch) | |
tree | aa32ca27b01c7b5d1df3be5d0fb65aba7e135867 | |
parent | d61a05daf335232a4207a674c645e94f519e658a (diff) |
Vim colors and other ui tweaks
-rw-r--r-- | home.nix | 3 | ||||
-rw-r--r-- | vimrc | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -181,11 +181,12 @@ in vim = { enable = true; plugins = [ - "ctrlp" + "ctrlp" "fugitive" "editorconfig-vim" "gitgutter" "surround" + "vim-colorschemes" ]; extraConfig = builtins.readFile ./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 |