summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-02-23 16:49:35 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-02-23 16:49:35 +0000
commit88c41ec4f41fc5a63e9fa656aa162dfce5f291f4 (patch)
tree1aca4275f986cf164d04abd51f3ef8693936ebf8 /vim/vimrc
parentb14cb7186cf7acdcb14d7ac50def1da9ff87048b (diff)
not much
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc12
1 files changed, 4 insertions, 8 deletions
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 <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>