aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-07-03 11:37:28 +0300
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-07-03 11:37:28 +0300
commitc0462845bad220129e1785371876a0808d0b709a (patch)
treec8662054aa5e55d0e9202420694dd29fda12bfba /vimrc
parent74c0381f3ab65231296c25ec1c90bbcdf8369c5e (diff)
downloaddotfiles-c0462845bad220129e1785371876a0808d0b709a.tar.gz
dotfiles-c0462845bad220129e1785371876a0808d0b709a.tar.bz2
dotfiles-c0462845bad220129e1785371876a0808d0b709a.zip
Add usability features to vim, change pentadactyl to google :/
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc9
1 files changed, 8 insertions, 1 deletions
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 <leader>m :.!qalc<Enter>
+nnoremap <leader>m :.!~/bin/calc<Enter>
+nnoremap <leader>i :read !latestimage<Enter>
+nnoremap <leader>v :!feh '<cfile>'<CR>
"Tab for escape
nnoremap <Tab> <Esc>
@@ -100,3 +102,8 @@ onoremap <Tab> <Esc>
inoremap <Tab> <Esc>`^
inoremap <Leader><Tab> <Tab>
+"read spaces in path's
+set isfname+=32
+
+"save as root
+nnoremap <leader>r :w !sudo tee %<cr>