aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2014-06-17 09:20:20 -0700
committershmibs <shmibs@gmail.com>2014-06-17 09:20:20 -0700
commit66cd3a6d36d5fe66984259fa726e54c512e7bf3c (patch)
tree7489c3a099883246f8563912d09394ca2eef2a99
parentc731e294fc1ec55a5a1e4a40fc11fdbeb5dc3e5d (diff)
downloaddotfiles-66cd3a6d36d5fe66984259fa726e54c512e7bf3c.tar.gz
add gvim settings
-rwxr-xr-x.config/herbstluftwm/panel.sh1
-rw-r--r--.vimrc9
-rw-r--r--.zshrc5
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.
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 <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()
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
+}