From 7bacd6fa3fda49b4c130d974b326f405661d4604 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 31 Mar 2015 19:09:06 +0100 Subject: Added new mappings --- vim/after/ftplugin/tex/mappings.vim | 2 ++ vim/vimrc | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/vim/after/ftplugin/tex/mappings.vim b/vim/after/ftplugin/tex/mappings.vim index 8b731d0..05d02dd 100644 --- a/vim/after/ftplugin/tex/mappings.vim +++ b/vim/after/ftplugin/tex/mappings.vim @@ -36,3 +36,5 @@ nnoremap e :LatexErrors nnoremap o :LatexView nnoremap k :LatexmkStop:LatexmkClean nnoremap h :split header.sty + +iabbrev dd \d 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 q :q! nnoremap h :set hlsearch! nnoremap n :set relativenumber! nnoremap sv :source ~/.vim/vimrc -nnoremap sc :source % +nnoremap sc :source % " Other maps nnoremap o -- cgit v1.2.3