1 " ~/.vimrc - ViM configuration file
3 " THIS FILE IS UNDER PUPPET CONTROL.
4 " LOCAL CHANGES WILL BE OVERWRITTEN.
12 :set pastetoggle=<F10>
13 :set listchars=tab:»·,trail:·
15 :nmap <F11> :set invlist<return>
16 :imap <F11> <C-O>:set invlist<return>
17 :set clipboard^=autoselectml guioptions+=A
18 let g:Imap_UsePlaceHolders = 1
19 let g:Imap_FreezeImap = 1
20 :hi MatchParen ctermbg=black
27 map fd ggV/^-- <CR><up>gq
29 nnoremap <silent> <C-M> :make<return>
31 nnoremap <silent> <S-left> :bprevious<return>
32 nnoremap <silent> <S-right> :bnext<return>
33 inoremap <silent> <S-left> <C-O>:bprevious<return>
34 inoremap <silent> <S-right> <C-O>:bnext<return>
36 nnoremap <silent> <C-left> :bprevious<return>
37 nnoremap <silent> <C-right> :bnext<return>
38 inoremap <silent> <C-left> <C-O>:bprevious<return>
39 inoremap <silent> <C-right> <C-O>:bnext<return>
41 nnoremap <silent> <Esc>[1;2D :bprevious<return>
42 nnoremap <silent> <Esc>[1;2C :bnext<return>
43 inoremap <silent> <Esc>[1;2D <C-O>:bprevious<return>
44 inoremap <silent> <Esc>[1;2C <C-O>:bnext<return>
46 nnoremap <silent> <Esc>[D :bprevious<return>
47 nnoremap <silent> <Esc>[C :bnext<return>
48 inoremap <silent> <Esc>[D <C-O>:bprevious<return>
49 inoremap <silent> <Esc>[C <C-O>:bnext<return>
51 nnoremap <silent> <Esc>[d :bprevious<return>
52 nnoremap <silent> <Esc>[c :bnext<return>
53 inoremap <silent> <Esc>[d <C-O>:bprevious<return>
54 inoremap <silent> <Esc>[c <C-O>:bnext<return>
56 " nnoremap <space><space> :bnew<return>
57 nnoremap <silent> <space><left> :bprevious<return>
58 nnoremap <silent> <space><right> :bnext<return>
61 " tmux will send xterm-style keys when xterm-keys is on
62 execute "set <xUp>=\e[1;*A"
63 execute "set <xDown>=\e[1;*B"
64 execute "set <xRight>=\e[1;*C"
65 execute "set <xLeft>=\e[1;*D"
72 set wildmode=longest,list:longest,list:full
76 set spellfile=~/.vim.spell.en.add
77 :nmap <F8> :set invspell<return>
78 :imap <F8> <C-O>:set invspell<return>
80 " Searching and highlighting
81 " ==========================
82 hi Search cterm=NONE ctermfg=yellow ctermbg=19
84 nnoremap <CR> :noh<CR><CR>
87 " Do not close buffers we don't see