summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-03-31 19:09:06 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-03-31 19:09:06 +0100
commit7bacd6fa3fda49b4c130d974b326f405661d4604 (patch)
treefb776d7deb96fb9d7c98bdfa1db0497ed11b64ae /vim/vimrc
parentb31904f298dd15b618302c08ab305c4099a1b581 (diff)
Added new mappings
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>