(setq cperl-indent-level 4)
(setq cperl-indent-parens-as-block t)
+;; Erlang
+(add-to-list 'load-path "/usr/pkg/lib/erlang/lib/tools-2.6/emacs")
+(require-if-present 'erlang-start)
+
;; SKK
(require 'skk-autoloads)
(global-set-key "\C-x\C-j" 'skk-mode)
+!mouse actions added by fluxbox-update_configs
+OnTitlebar Mouse2 :StartTabbing
+
+!mouse actions added by fluxbox-update_configs
+OnTitlebar Double Mouse1 :Shade
+OnTitlebar Mouse3 :WindowMenu
+
+!mouse actions added by fluxbox-update_configs
+OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
+OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight}
+
+!mouse actions added by fluxbox-update_configs
+OnToolbar Mouse4 :NextWorkspace
+OnToolbar Mouse5 :PrevWorkspace
+
OnDesktop Mouse1 :HideMenus
OnDesktop Mouse2 :WorkspaceMenu
OnDesktop Mouse3 :RootMenu
Mod1 F12 :Workspace 12
Mod1 Control bracketleft :PrevTab
-Mod1 Control bracketright :NextTab
\ No newline at end of file
+Mod1 Control bracketright :NextTab
if ( _we_are_in_gnu_screen ); then
# Magic escape sequence for GNU Screen to update their titles
# dynamically by grabbing prompt line.
- PROMPT=$'%{\ek\e\\%}'$_prompt_base
+ #PROMPT=$'%{\ek\e\\%}'$_prompt_base
+
+ PROMPT=$'%{\ek_\e\\%}'$_prompt_base
else
PROMPT=$_prompt_base
fi
+function preexec() {
+ if ( _we_are_in_gnu_screen ); then
+ local cmd=${1[(wr)^(*=*|sudo|nice|-*|[0-9]*)]}
+ printf "\ek$cmd\e\\"
+ fi
+}
+
RPROMPT='%U%D{%m/%d}%u %U%D{%T}%u %U%~%u'
HISTFILE="$HOME/.zhistory"