From c0462845bad220129e1785371876a0808d0b709a Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Thu, 3 Jul 2014 11:37:28 +0300 Subject: Add usability features to vim, change pentadactyl to google :/ --- pentadactylrc | 2 +- vimrc | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pentadactylrc b/pentadactylrc index 4a05d33..e9a27ed 100644 --- a/pentadactylrc +++ b/pentadactylrc @@ -120,7 +120,7 @@ map -count -modes=n,v U -builtin u map -count -modes=n,v x -builtin d map -count -modes=n,v w owikipedia set autocomplete= -set defsearch=startpage-https +set defsearch=google set editor='rxvt -e sh -c "vim + +\"sil! call cursor(0, )\" "' diff --git a/vimrc b/vimrc index 921284a..dcd8341 100644 --- a/vimrc +++ b/vimrc @@ -90,7 +90,9 @@ let g:Tex_DefaultTargetFormat = 'pdf' let g:Tex_MultipleCompileFormats='pdf, aux' "Math with qalc -nnoremap m :.!qalc +nnoremap m :.!~/bin/calc +nnoremap i :read !latestimage +nnoremap v :!feh '' "Tab for escape nnoremap @@ -100,3 +102,8 @@ onoremap inoremap `^ inoremap +"read spaces in path's +set isfname+=32 + +"save as root +nnoremap r :w !sudo tee % -- cgit v1.2.3-54-g00ecf