diff options
author | bnewbold <bnewbold@robocracy.org> | 2011-12-15 01:59:59 -0500 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2011-12-15 01:59:59 -0500 |
commit | 177d5e9800214130afdb276bc7f8a55c845c9aea (patch) | |
tree | f15ac667f6be4c2ec5ea491439157040f0245f5a /.vimrc | |
parent | c8d56396ba1f25baa04949f435f6439c061ef9a7 (diff) | |
download | openwrt-repro-177d5e9800214130afdb276bc7f8a55c845c9aea.tar.gz openwrt-repro-177d5e9800214130afdb276bc7f8a55c845c9aea.zip |
new vim fun
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -2,7 +2,8 @@ " circa 2006-2010 " enable plugins -:filetype plugin on +filetype plugin on +"filetype plugin indent on if has('syntax') && (&t_Co > 2) syntax on @@ -12,10 +13,9 @@ set history=50 set wildmode=list:longest,full set showmode set showcmd -set shiftwidth=2 -set tabstop=2 -autocmd FileType * set tabstop=2|set shiftwidth=2 -autocmd FileType python set tabstop=4|set shiftwidth=4 +set shiftwidth=4 +set tabstop=4 +autocmd FileType * set tabstop=4|set shiftwidth=4 set expandtab set shiftround set autoindent @@ -56,6 +56,11 @@ noremap <A-j> <C-w>j<CR> noremap <A-k> <C-w>k<CR> noremap <A-l> <C-w>l<CR> +"For screen.vim send block to SendScreen function (eg Scheme interpreter) +vmap <C-c><C-c> :ScreenSend<CR> +nmap <C-c><C-c> vip<C-c><C-c> +nmap <C-x><C-e> :ScreenSend<CR> + " Searching stuff set incsearch set ignorecase @@ -66,7 +71,7 @@ set smartcase noremap <Up> gk noremap <Down> gj -autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class +"autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class " for Project Fortress au BufNewFile,BufRead *.fsi,*.fss set ft=fortress |