summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 8aff41e..2fbebf2 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -123,7 +123,7 @@ set guitablabel=%N\ %t\ %M
set showcmd
" Layout text
-set wrap
+set nowrap
set linebreak
set textwidth=0
set conceallevel=2
@@ -146,7 +146,7 @@ set encoding=utf-8
"" Colorscheme
function! UpdateColorscheme()
try | colorscheme solarized | catch | endtry
- if strftime("%H") >= 9 && strftime("%H") < 18
+ if strftime("%H") >= 8 && strftime("%H") < 20
set background=light
else
set background=dark
@@ -170,7 +170,7 @@ nnoremap <Leader>q :q!<cr>
nnoremap <Leader>h :set hlsearch!<cr>
nnoremap <Leader>n :set relativenumber!<cr>
nnoremap <Leader>sv :source ~/.vim/vimrc<cr>
-nnoremap <Leader>sc :source %
+nnoremap <Leader>sc :source %<cr>
" Other maps
nnoremap <Return> o<Esc>