Skip to content

Instantly share code, notes, and snippets.

@matchy256
Created January 19, 2014 12:59
Show Gist options
  • Save matchy256/8504631 to your computer and use it in GitHub Desktop.
Save matchy256/8504631 to your computer and use it in GitHub Desktop.
Ng (Nihongo micro Gnu emacs) 用設定ファイル例
; ~/.ng
;
; for more detail, please read Ng.doc
;
; 'next-line' doesn't insert newline at the end of buffer.
(next-line-add-newlines nil)
; exchange C-h with DEL.
(bsmap-mode)
; don't make backup files.
(make-backup-files nil)
; blink matching parens
(global-set-key ")" 'blink-matching-paren-hack)
(global-set-key "}" 'blink-matching-paren-hack)
(global-set-key "]" 'blink-matching-paren-hack)
; regexp search by typing ESC C-s/C-r
(global-set-key "\^[\^s" 're-search-forward)
(global-set-key "\^[\^r" 're-search-backward)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment