From 88c41ec4f41fc5a63e9fa656aa162dfce5f291f4 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 23 Feb 2015 16:49:35 +0000 Subject: not much --- vim/mySnippets/tex.snippets | 3 +++ vim/vimrc | 12 ++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'vim') diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets index e69de29..1741c9c 100644 --- a/vim/mySnippets/tex.snippets +++ b/vim/mySnippets/tex.snippets @@ -0,0 +1,3 @@ +snippet grad "Gradient" i +\nabla +endsnippet diff --git a/vim/vimrc b/vim/vimrc index bdebc52..1d396ff 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -61,16 +61,10 @@ function! SynctexShow() end endfunction -" Access nnoremap a :call SynctexShow() - -" Initiate nnoremap i :Latexmk - -" Open +nnoremap e :LatexErrors nnoremap o :LatexView - -" Kill nnoremap k :LatexmkStop:LatexmkClean " Gundo @@ -157,7 +151,7 @@ set encoding=utf-8 "" Colorscheme function! UpdateColorscheme() try | colorscheme solarized | catch | endtry - if strftime("%H") >= 9 && strftime("%H") < 17 + if strftime("%H") >= 9 && strftime("%H") < 18 set background=light else set background=dark @@ -187,6 +181,8 @@ nnoremap sc :source % nnoremap o nnoremap O nnoremap J mzJ`z +nnoremap Y y$ + " nnoremap - za nnoremap 3 nnoremap 3 -- cgit v1.2.3