diff --git a/rc.lua b/rc.lua index c3e3d74..db6562b 100644 --- a/rc.lua +++ b/rc.lua @@ -595,6 +595,7 @@ awful.rules.rules = { }, instance = { 'Civ4BeyondSword.exe', + 'GameApp.exe', 'KB.exe', 'nwn2main.exe' }, diff --git a/vimrc b/vimrc index 099ba80..a6cbf8e 100644 --- a/vimrc +++ b/vimrc @@ -32,10 +32,13 @@ if $TERM == 'xterm' || exists("$SSH_CLIENT") endif " set indentation options for specific file types -autocmd FileType ruby setlocal sts=2 sw=2 expandtab -autocmd FileType eruby setlocal sts=2 sw=2 expandtab -autocmd FileType puppet setlocal sts=2 sw=2 expandtab -autocmd FileType python setlocal sts=4 sw=4 expandtab +autocmd FileType python setlocal ts=4 sw=4 sts=4 noexpandtab +autocmd BufNewFile *.zsh 0put =\"#!/usr/bin/env zsh\\"|$ +autocmd BufNewFile *.lua 0put =\"#!/usr/bin/env lua\\"|$ +autocmd BufNewFile *.sh 0put =\"#!/usr/bin/env bash\\"|$ +autocmd BufNewFile *.rb 0put =\"#!/usr/bin/env ruby\\"|$ +autocmd BufNewFile *.py 0put =\"#!/usr/bin/env python\\"|$ +autocmd BufNewFile *.pl 0put =\"#!/usr/bin/env perl\\use strict;\\use warnings;\\use feature 'say';\\"|$ " maps nmap