Changeset 33878
- Timestamp:
- 06/10/09 15:26:24 (4 years ago)
- Location:
- dotfiles/vim/kozo-ni
- Files:
-
- 2 modified
-
.vim/ftplugin/python.vim (modified) (1 diff)
-
.vimrc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dotfiles/vim/kozo-ni/.vim/ftplugin/python.vim
r33822 r33878 1 " smartchr 2 inoremap <buffer> <expr> = smartchr#one_of(' = ', ' == ', '=') 3 inoremap <buffer> <expr> + smartchr#one_of(' + ', '+') 4 1 5 setlocal tags+=$HOME/.vim/tags/python.ctags 2 6 -
dotfiles/vim/kozo-ni/.vimrc
r33821 r33878 245 245 " map each number to its shift-key character 246 246 inoremap 1 ! 247 inoremap ! 1 247 248 cnoremap 1 ! 249 248 250 inoremap 2 ""<LEFT> 251 inoremap " 2 252 249 253 inoremap 3 # 254 inoremap # 3 255 250 256 inoremap 4 $ 257 inoremap $ 4 258 noremap 4 $ 259 251 260 inoremap 5 % 261 inoremap % 5 262 252 263 inoremap 6 & 264 inoremap & 6 265 253 266 inoremap 7 ''<LEFT> 267 inoremap ' 7 268 254 269 inoremap 8 ()<LEFT> 270 inoremap ( 8 271 255 272 inoremap 9 ) 273 inoremap ) 9 274 256 275 inoremap 0 ~ 257 258 noremap 4 $ 276 inoremap ~ 0 259 277 cnoremap 0 ~ 278 260 279 noremap - : 261 280 "noremap : - 262 263 " and then the opposite264 inoremap ! 1265 inoremap " 2266 inoremap # 3267 inoremap $ 4268 inoremap % 5269 inoremap & 6270 inoremap ' 7271 inoremap ( 8272 inoremap ) 9273 inoremap ~ 0274 275 inoremap = -276 277 " smartchr278 inoremap <buffer> <expr> - smartchr#one_of(' = ', ' == ', '=')279 inoremap <buffer> <expr> ; smartchr#one_of(' + ', '+')280 inoremap + ;281 281 282 282 " }}}
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)