From 66cd3a6d36d5fe66984259fa726e54c512e7bf3c Mon Sep 17 00:00:00 2001 From: shmibs Date: Tue, 17 Jun 2014 09:20:20 -0700 Subject: add gvim settings --- .config/herbstluftwm/panel.sh | 1 + .vimrc | 9 +++++++++ .zshrc | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index a0621b6..e77cf87 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -62,6 +62,7 @@ hc pad $monitor $panel_height # date ^fg(#efefef)18:33^fg(#909090), 2013-10-^fg(#efefef)29 #mpc idleloop player & + while true ; do # "date" output is checked once a second, but an event is only # generated if the output changed compared to the previous run. diff --git a/.vimrc b/.vimrc index 39559e6..1c4a8fb 100644 --- a/.vimrc +++ b/.vimrc @@ -16,6 +16,14 @@ set noshowmode "allow edited background buffers set hidden +"vim-latex settings +set grepprg=grep\ -nH\ $* +let g:tex_flavor="latex" + +"gvim-specific settings +set guifont=Tamsyn\ 11 +set guioptions=aegimt + "buffer controls to match pentadactyl noremap :bn noremap :bp @@ -69,6 +77,7 @@ autocmd FileType cpp call Settings_c() autocmd FileType haskell call Settings_haskell() autocmd FileType make call Settings_script() autocmd FileType perl call Settings_script() +autocmd FileType python call Settings_script() autocmd FileType sh call Settings_script() autocmd FileType vim call Settings_vim() diff --git a/.zshrc b/.zshrc index 63bc11d..342d484 100644 --- a/.zshrc +++ b/.zshrc @@ -113,3 +113,8 @@ sendi() { fi } +ssh-firefox() { + xpra start ssh:shmibs@shmibbles.me:1 --pulseaudio --exit-with-children --start-child="firefox" + # this shouldn't be necessary, but just to make sure + xpra stop ssh:shmibs@shmibbles.me:1 +} -- cgit v1.2.3