; $Id: dot.ng,v 1.1.1.1 2000/06/27 01:47:57 amura Exp $
;
;	Ng startup file by H.Ohkubo
;	   Modified by Yasuhiro Take
;
; move cursor with cursor key.
(global-set-key "\^[[A" 'previous-line)
(global-set-key "\^[[B" 'next-line)
(global-set-key "\^[[C" 'forward-char)
(global-set-key "\^[[D" 'backward-char)
;
; no backup file.
;(make-backup-files nil)
; switch C-h and Backspace.
(bsmap-mode)
; CJK-Canna only: toggle canna-mode with C-\
;(global-set-key "\^\\" 'canna-toggle)
;
; CJK only: set default encoding of file to EUC.
(set-kanji-expected-code nil)
(set-default-fileio-code 'euc)
;(set-kanji-fileio-code 'euc)
;
; settings for c-mode.
(set-c-argdecl-indent 0)
(set-c-continued-statement-offset 4)
(set-c-continued-brace-offset -4)
(set-c-brace-offset -4)
(set-c-brace-imaginary-offset 0)
(set-c-indent-level 4)
(set-c-label-offset -2)
(set-c-tab-always-indent t)
;
;	set regular-exp. re-search
(global-set-key "\^[\^s" 're-search-forward)
(global-set-key "\^[\^r" 're-search-backward)
;
; Others.
(global-set-key "\^[g" 'goto-line)
;(set-fill-column 66)
(global-set-key ")" 'blink-matching-paren-hack)
(global-set-key "}" 'blink-matching-paren-hack)
(global-set-key "]" 'blink-matching-paren-hack)

