スパム対策として書込み時にID/PWを要求されますが、ローマ字で ほげ/ホゲ で書き込めるようになります。

ファンクションキーマッピングテンプレート

  • 名前: 名無しさん
  • 投稿日: 2009-09-18 11:41:14 (金)

vimrc

"ファンクションキー マッピングテンプレート
"
"1. マップ (Key mapping)			*key-mapping* *mapping* *macro*
"
"マップは入力したキーの働きを変更するために使います。ファンクションキーにコマン
"ドを割り当てたりするのによく使われます。例: >
"	マッピングされるキー     F2が押されたら実効されるキー
"	:map <F2>           a<C-R>=strftime("%c")<CR><Esc>
"
"このマップはカーソルの位置に現在の日時を挿入します。(<F2>などは|<>|表記法を参照)
"
"挿入 コマンドライン 
"map <F1>
"map <F2>
"map <F2>
"map <F3>
"map <F4>
"map <F6>
"map <F7>
"map <F8>
"map <F9>
"挿入 コマンドライン以外
"map! <F1>
"map! <F2>
"map! <F2>
"map! <F3>
"map! <F4>
"map! <F6>
"map! <F7>
"map! <F8>
"map! <F9>
"ノーマルモード
"nmap! <F1>
"nmap! <F2>
"nmap! <F2>
"nmap! <F3>
"nmap! <F4>
"nmap! <F6>
"nmap! <F7>
"nmap! <F8>
"nmap! <F9>
"ビジュアルモード
"vmap! <F1>
"vmap! <F2>
"vmap! <F2>
"vmap! <F3>
"vmap! <F4>
"vmap! <F6>
"vmap! <F7>
"vmap! <F8>
"vmap! <F9>
"オプションモード
"omap! <F1>
"omap! <F2>
"omap! <F2>
"omap! <F3>
"omap! <F4>
"omap! <F6>
"omap! <F7>
"omap! <F8>
"omap! <F9>
"インサートモード
"imap! <F1>
"imap! <F2>
"imap! <F2>
"imap! <F3>
"imap! <F4>
"imap! <F6>
"imap! <F7>
"imap! <F8>
"imap! <F9>
"コマンドラインモード
"cmap! <F1>
"cmap! <F2>
"cmap! <F2>
"cmap! <F3>
"cmap! <F4>
"cmap! <F6>
"cmap! <F7>
"cmap! <F8>
"cmap! <F9>
" 短縮入力 タブで補完
":ab 1 /* */
":ab 2 /* */
":ab 3 /* */
":ab 4 /* */
":iab 1 /* */
":iab 2 /* */
":iab 3 /* */
":iab 4 /* */
"スペシャルキー
"<S-Space> <C-Space>
"<Space>  
"<Del>  
"<End> 
"<PageDown> 
"<Insert> 
"<Home> 
"<PageUp> 
"<Up>  
"<Left>     
"<Down> 
"<Right>

"引用元 :hlep map "引用元 :hlep ab

surround.vim 用マッピング XXには数字を入れてください

 " 1 : <font size = 1>|</font>  autocmd FileType? php let b:surround_49 = "<font size=\"1\">\r</font>"

"0 NUL(null文字) 
"let b:surround_XX  = "<h2>\r</h2>"
"1 SOH(ヘッダ開始) 
"let b:surround_XX  = "<h2>\r</h2>"
"2 STX(テキスト開始) 
"let b:surround_XX  = "<h2>\r</h2>"
"3 ETX(テキスト終了) 
"let b:surround_XX  = "<h2>\r</h2>"
"4 EOT(転送終了) 
"let b:surround_XX  = "<h2>\r</h2>"
"5 ENQ(照会) 
"let b:surround_XX  = "<h2>\r</h2>"
"6 ACK(受信OK) 
"let b:surround_XX  = "<h2>\r</h2>"
"7 BEL(警告) 
"let b:surround_XX  = "<h2>\r</h2>"
"8 BS(後退) 
"let b:surround_XX  = "<h2>\r</h2>"
"9 HT(水平タブ) 
"let b:surround_XX  = "<h2>\r</h2>"
"10 LF(改行) 
"let b:surround_XX  = "<h2>\r</h2>"
"11 VT(垂直タブ) 
"let b:surround_XX  = "<h2>\r</h2>"
"12 FF(改頁) 
"let b:surround_XX  = "<h2>\r</h2>"
"13 CR(復帰)
"let b:surround_XX  = "<h2>\r</h2>"
"14 SO(シフトアウト)
"let b:surround_XX  = "<h2>\r</h2>"
"15 SI(シフトイン)
"let b:surround_XX  = "<h2>\r</h2>"
"16 DLE(データリンクエスケープ)
"let b:surround_XX  = "<h2>\r</h2>"
"17 DC1(装置制御1)
"let b:surround_XX  = "<h2>\r</h2>"
"18 DC2(装置制御2)
"let b:surround_XX  = "<h2>\r</h2>"
"19 DC3(装置制御3)
"let b:surround_XX  = "<h2>\r</h2>"
"20 DC4(装置制御4)
"let b:surround_XX  = "<h2>\r</h2>"
"21 NAK(受信失敗)
"let b:surround_XX  = "<h2>\r</h2>"
"22 SYN(同期)
"let b:surround_XX  = "<h2>\r</h2>"
"23 ETB(転送ブロック終了)
"let b:surround_XX  = "<h2>\r</h2>"
"24 CAN(とりけし)
"let b:surround_XX  = "<h2>\r</h2>"
"25 EM(メディア終了)
"let b:surround_XX  = "<h2>\r</h2>"
"26 SUB(置換)
"let b:surround_XX  = "<h2>\r</h2>"
"27 ESC(エスケープ)
"let b:surround_XX  = "<h2>\r</h2>"
"28 FS(フォーム区切り)
"let b:surround_XX  = "<h2>\r</h2>"
"29 GS(グループ区切り)
"let b:surround_XX  = "<h2>\r</h2>"
"30 RS(レコード区切り)
"let b:surround_XX  = "<h2>\r</h2>"
"31 US(ユニット区切り)
"let b:surround_XX  = "<h2>\r</h2>"
"32 (スペース)
"let b:surround_XX  = "<h2>\r</h2>"
"33 !
"let b:surround_XX  = "<h2>\r</h2>"
"34 "
"let b:surround_XX  = "<h2>\r</h2>"
"35 #
"let b:surround_XX  = "<h2>\r</h2>"
"36 $
"let b:surround_XX  = "<h2>\r</h2>"
"37 %
"let b:surround_XX  = "<h2>\r</h2>"
"38 &
"let b:surround_XX  = "<h2>\r</h2>"
"39 '
"let b:surround_XX  = "<h2>\r</h2>"
"40 (
"let b:surround_XX  = "<h2>\r</h2>"
"41 )
"let b:surround_XX  = "<h2>\r</h2>"
"42 *
"let b:surround_XX  = "<h2>\r</h2>"
"43 +
"let b:surround_XX  = "<h2>\r</h2>"
"44 ,
"let b:surround_XX  = "<h2>\r</h2>"
"45 -
"let b:surround_XX  = "<h2>\r</h2>"
"46 .
"let b:surround_XX  = "<h2>\r</h2>"
"47 /
"let b:surround_XX  = "<h2>\r</h2>"
"48 0
"let b:surround_XX  = "<h2>\r</h2>"
"49 1
"let b:surround_XX  = "<h2>\r</h2>"
"50 2
"let b:surround_XX  = "<h2>\r</h2>"
"51 3
"let b:surround_XX  = "<h2>\r</h2>"
"52 4
"let b:surround_XX  = "<h2>\r</h2>"
"53 5
"let b:surround_XX  = "<h2>\r</h2>"
"54 6
"let b:surround_XX  = "<h2>\r</h2>"
"55 7
"let b:surround_XX  = "<h2>\r</h2>"
"56 8
"let b:surround_XX  = "<h2>\r</h2>"
"57 9
"let b:surround_XX  = "<h2>\r</h2>"
"58 :
"let b:surround_XX  = "<h2>\r</h2>"
"59 ;
"let b:surround_XX  = "<h2>\r</h2>"
"60 <
"let b:surround_XX  = "<h2>\r</h2>"
"61 =
"let b:surround_XX  = "<h2>\r</h2>"
"62 >
"let b:surround_XX  = "<h2>\r</h2>"
"63 ?
"let b:surround_XX  = "<h2>\r</h2>"
"64 @
"let b:surround_XX  = "<h2>\r</h2>"
"65 A
"let b:surround_XX  = "<h2>\r</h2>"
"66 B
"let b:surround_XX  = "<h2>\r</h2>"
"67 C
"let b:surround_XX  = "<h2>\r</h2>"
"68 D
"let b:surround_XX  = "<h2>\r</h2>"
"69 E
"let b:surround_XX  = "<h2>\r</h2>"
"70 F
"let b:surround_XX  = "<h2>\r</h2>"
"71 G
"let b:surround_XX  = "<h2>\r</h2>"
"72 H
"let b:surround_XX  = "<h2>\r</h2>"
"73 I
"let b:surround_XX  = "<h2>\r</h2>"
"74 J
"let b:surround_XX  = "<h2>\r</h2>"
"75 K
"let b:surround_XX  = "<h2>\r</h2>"
"76 L
"let b:surround_XX  = "<h2>\r</h2>"
"77 M
"let b:surround_XX  = "<h2>\r</h2>"
"78 N
"let b:surround_XX  = "<h2>\r</h2>"
"79 O
"let b:surround_XX  = "<h2>\r</h2>"
"80 P
"let b:surround_XX  = "<h2>\r</h2>"
"81 Q
"let b:surround_XX  = "<h2>\r</h2>"
"82 R
"let b:surround_XX  = "<h2>\r</h2>"
"83 S
"let b:surround_XX  = "<h2>\r</h2>"
"84 T
"let b:surround_XX  = "<h2>\r</h2>"
"85 U
"let b:surround_XX  = "<h2>\r</h2>"
"86 V
"let b:surround_XX  = "<h2>\r</h2>"
"87 W
"let b:surround_XX  = "<h2>\r</h2>"
"88 X
"let b:surround_XX  = "<h2>\r</h2>"
"89 Y
"let b:surround_XX  = "<h2>\r</h2>"
"90 Z
"let b:surround_XX  = "<h2>\r</h2>"
"91 [
"let b:surround_XX  = "<h2>\r</h2>"
"92 \
"let b:surround_XX  = "<h2>\r</h2>"
"93 ]
"let b:surround_XX  = "<h2>\r</h2>"
"94 ^
"let b:surround_XX  = "<h2>\r</h2>"
"95 _
"let b:surround_XX  = "<h2>\r</h2>"
"96 `
"let b:surround_XX  = "<h2>\r</h2>"
"97 a
"let b:surround_XX  = "<h2>\r</h2>"
"98 b
"let b:surround_XX  = "<h2>\r</h2>"
"99 c
"let b:surround_XX  = "<h2>\r</h2>"
"100 d
"let b:surround_XX  = "<h2>\r</h2>"
"101 e
"let b:surround_XX  = "<h2>\r</h2>"
"102 f
"let b:surround_XX  = "<h2>\r</h2>"
"103 g
"let b:surround_XX  = "<h2>\r</h2>"
"104 h
"let b:surround_XX  = "<h2>\r</h2>"
"105 i
"let b:surround_XX  = "<h2>\r</h2>"
"106 j
"let b:surround_XX  = "<h2>\r</h2>"
"107 k
"let b:surround_XX  = "<h2>\r</h2>"
"108 l
"let b:surround_XX  = "<h2>\r</h2>"
"109 m
"let b:surround_XX  = "<h2>\r</h2>"
"110 n
"let b:surround_XX  = "<h2>\r</h2>"
"111 o
"let b:surround_XX  = "<h2>\r</h2>"
"112 p
"let b:surround_XX  = "<h2>\r</h2>"
"113 q
"let b:surround_XX  = "<h2>\r</h2>"
"114 r
"let b:surround_XX  = "<h2>\r</h2>"
"115 s
"let b:surround_XX  = "<h2>\r</h2>"
"116 t
"let b:surround_XX  = "<h2>\r</h2>"
"117 u
"let b:surround_XX  = "<h2>\r</h2>"
"118 v
"let b:surround_XX  = "<h2>\r</h2>"
"119 w
"let b:surround_XX  = "<h2>\r</h2>"
"120 x
"let b:surround_XX  = "<h2>\r</h2>"
"121 y
"let b:surround_XX  = "<h2>\r</h2>"
"122 z
"let b:surround_XX  = "<h2>\r</h2>"
"123 {
"let b:surround_XX  = "<h2>\r</h2>"
"124 |
"let b:surround_XX  = "<h2>\r</h2>"
"125 }
"let b:surround_XX  = "<h2>\r</h2>"
"126 ~
"let b:surround_XX  = "<h2>\r</h2>"
"127 DEL(削除)
"let b:surround_XX  = "<h2>\r</h2>"
 "引用元 :http://www.vim.org/scripts/script.php?script_id=1697




トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2014-10-14 (火) 01:13:17 (1465d)