For ages I've had problems with 256-color xterm and vim. I never used a proper colorscheme, but just modified the default I was "magically" given. This changes all of that to make us now have a proper color scheme -- the "adam" scheme. Colors now work independent of console color depth, I think. There are remaining quirks, but I'll have to add the requirements as proper color mappings to my color scheme file.
18 lines
413 B
Plaintext
18 lines
413 B
Plaintext
"Adam Keymaps
|
||
" map __ {!}fmt -p -s -w 78
|
||
|
||
map - ddkP
|
||
map + ddp
|
||
|
||
"Properly map Y to yank to end of line, instead of yank line.
|
||
map Y y$
|
||
|
||
map zz zM
|
||
|
||
map [2~ :cp
|
||
map [3~ :cn
|
||
|
||
"map _ :1,$!/opt/local/bin/clang-format-mp-3.9 -style=file
|
||
:1,$!/opt/local/bin/uncrustify -q -lCPP -c ~/adamformat/adam.format.cfg
|
||
map _ :1,$!uncrustify -q -lCPP -c ~/adamformat/adam.format.cfg
|
||
map \ :1,$!clang-format38 -style=file
|