diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-02-23 16:49:35 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-02-23 16:49:35 +0000 |
commit | 88c41ec4f41fc5a63e9fa656aa162dfce5f291f4 (patch) | |
tree | 1aca4275f986cf164d04abd51f3ef8693936ebf8 /vim | |
parent | b14cb7186cf7acdcb14d7ac50def1da9ff87048b (diff) |
not much
Diffstat (limited to 'vim')
-rw-r--r-- | vim/mySnippets/tex.snippets | 3 | ||||
-rw-r--r-- | vim/vimrc | 12 |
2 files changed, 7 insertions, 8 deletions
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 @@ -61,16 +61,10 @@ function! SynctexShow() end endfunction -" Access nnoremap <LocalLeader>a :call SynctexShow()<CR><CR> - -" Initiate nnoremap <LocalLeader>i :Latexmk<CR> - -" Open +nnoremap <LocalLeader>e :LatexErrors<CR> nnoremap <LocalLeader>o :LatexView<CR> - -" Kill nnoremap <LocalLeader>k :LatexmkStop<CR>:LatexmkClean<CR> " 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 <Leader>sc :source % nnoremap <Return> o<Esc> nnoremap <s-Return> O<Esc> nnoremap J mzJ`z +nnoremap Y y$ + " nnoremap - za nnoremap <c-y> 3<c-y> nnoremap <c-e> 3<c-e> |