diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2014-10-10 17:09:16 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2014-10-10 17:09:16 -0700 |
commit | 61eae6bd30933f1273739079174133e9046b1bf1 (patch) | |
tree | f120432316668f40de7b5f5cf3ab7dfc3865655b /base/vimrc | |
parent | 3b1a85ab69f647f20a83ae60ec2c5311de2be3c6 (diff) |
Adding pathogen, syntatic, and other changes.
Diffstat (limited to 'base/vimrc')
-rw-r--r-- | base/vimrc | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -1,5 +1,5 @@ " Setting editor defaults -set nu +set rnu syntax on set bg=dark set diffopt=filler,iwhite " keep files synced and ignore whitespace @@ -39,12 +39,22 @@ set statusline+=%<%f\ %h%m%r set statusline+=%= set statusline+=%-14.(%l,%c%V%)\ %P +" Emacs-like bindings in the command line +cnoremap <C-a> <Home> +cnoremap <C-e> <End> +cnoremap <C-p> <Up> +cnoremap <C-n> <Down> +cnoremap <C-b> <Left> +cnoremap <C-f> <Right> +cnoremap <M-b> <S-Left> +cnoremap <M-f> <S-Right> + " filetypes filetype plugin on filetype indent on filetype on -"Set colorscheme. +"Set colorscheme. colorscheme slate " Turn off highlighting after search @@ -131,11 +141,11 @@ EOT " Scratch Plugin let g:scratchBackupFile="/tmp/scratch.txt" -iab --> → - " Quicker compile & check map <C-x> :silent make<Enter>:copen<Enter><C-w><C-w>:redraw<Enter> +execute pathogen#infect() + " Load host-specific settings set runtimepath^=~/.host-specific/vim, set runtimepath+=~/.host-specific/vim/after |