diff options
author | shmibs <shmibs@gmail.com> | 2014-06-17 09:20:20 -0700 |
---|---|---|
committer | shmibs <shmibs@gmail.com> | 2014-06-17 09:20:20 -0700 |
commit | 66cd3a6d36d5fe66984259fa726e54c512e7bf3c (patch) | |
tree | 7489c3a099883246f8563912d09394ca2eef2a99 | |
parent | c731e294fc1ec55a5a1e4a40fc11fdbeb5dc3e5d (diff) | |
download | dotfiles-66cd3a6d36d5fe66984259fa726e54c512e7bf3c.tar.gz |
add gvim settings
-rwxr-xr-x | .config/herbstluftwm/panel.sh | 1 | ||||
-rw-r--r-- | .vimrc | 9 | ||||
-rw-r--r-- | .zshrc | 5 |
3 files changed, 15 insertions, 0 deletions
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. @@ -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 <C-n> <Esc>:bn<CR> noremap <C-p> <Esc>:bp<CR> @@ -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() @@ -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 +} |