Files
cshenv/vim/vimrc.keymaps
ADAM David Alan Martin 5e49cbb18b Fixed the longstanding xterm problem.
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.
2016-11-30 18:50:46 -05:00

18 lines
413 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"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