Created
February 8, 2011 22:04
-
-
Save probablycorey/817373 to your computer and use it in GitHub Desktop.
vim.rc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let mapleader = " " | |
| " Load the janus vimrc file | |
| runtime vimrc | |
| " My Mappings | |
| noremap ; : | |
| colorscheme vividchalk | |
| map <leader>s :%s/ \+$//gc<CR> | |
| imap <D-`> <Esc>:tabnew<CR> | |
| imap <D-1> <Esc>:tabn 1<CR> | |
| imap <D-2> <Esc>:tabn 2<CR> | |
| imap <D-3> <Esc>:tabn 3<CR> | |
| imap <D-4> <Esc>:tabn 4<CR> | |
| imap <D-5> <Esc>:tabn 5<CR> | |
| imap <D-6> <Esc>:tabn 6<CR> | |
| imap <D-7> <Esc>:tabn 7<CR> | |
| imap <D-8> <Esc>:tabn 8<CR> | |
| imap <D-9> <Esc>:tabn 9<CR> | |
| imap <D-0> <Esc>:tlast<CR> | |
| map <D-`> :tabnew<CR> | |
| map <D-1> :tabn 1<CR> | |
| map <D-2> :tabn 2<CR> | |
| map <D-3> :tabn 3<CR> | |
| map <D-4> :tabn 4<CR> | |
| map <D-5> :tabn 5<CR> | |
| map <D-6> :tabn 6<CR> | |
| map <D-7> :tabn 7<CR> | |
| map <D-8> :tabn 8<CR> | |
| map <D-9> :tabn 9<CR> | |
| map <D-0> :tlast<CR> | |
| " CommandT additions | |
| let g:CommandTAcceptSelectionMap='<C-t>' | |
| let g:CommandTAcceptSelectionTabMap='<CR>' | |
| " Buffers | |
| set hidden | |
| set nobackup | |
| set nowritebackup | |
| set noswapfile | |
| set backupdir=$HOME/.vim/backup | |
| set backupcopy=yes | |
| set backupskip=/tmp/*,$TMPDIR/*,$TMP/*,$TEMP/* | |
| set directory=~/.vim/backup | |
| " Toggle whitespace invisibles | |
| set listchars=tab:▸\ ,trail:·,eol:¬ | |
| nmap <leader>l :set list!<CR> | |
| set textwidth=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment