diff options
-rw-r--r-- | pentadactylrc | 2 | ||||
-rw-r--r-- | 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 <count>u map -count -modes=n,v x -builtin <count>d map -count -modes=n,v w <count>o<Space>wikipedia<space> set autocomplete= -set defsearch=startpage-https +set defsearch=google set editor='rxvt -e sh -c "vim +<line> +\"sil! call cursor(0, <column>)\" <file>"' @@ -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> |