diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-07-03 11:37:28 +0300 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-07-03 11:37:28 +0300 |
commit | c0462845bad220129e1785371876a0808d0b709a (patch) | |
tree | c8662054aa5e55d0e9202420694dd29fda12bfba | |
parent | 74c0381f3ab65231296c25ec1c90bbcdf8369c5e (diff) | |
download | dotfiles-c0462845bad220129e1785371876a0808d0b709a.tar.gz dotfiles-c0462845bad220129e1785371876a0808d0b709a.tar.bz2 dotfiles-c0462845bad220129e1785371876a0808d0b709a.zip |
Add usability features to vim, change pentadactyl to google :/
-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> |