vim
 

my vimrc [html]

 autoit files for vim

dataflex files for vim

Scripts I use with vim:

02tlib.vim                                                                                                                     
AlignMaps.vim                                                                                                                  
AlignPlugin.vim                                                                                                                
AutoAlign.vim                                                                                                                  
BufGrep.vim                                                                                                                    
NERD_commenter.vim                                                                                                             
NERD_tree.vim                                                                                                                  
SyntaxFolds.vim                                                                                                                
autohi.vim                                                                                                                     
bash-support.vim                                                                                                               
blogger.vim                                                                                                                    
browser.vim                                                                                                                    
cecutil.vim                                                                                                                    
cmdline-complete.vim                                                                                                           
filebrowser.vim                                                                                                                
fuzzyfinder.vim                                                                                                                
imaps.vim                                                                                                                      
libList.vim                                                                                                                    
manpageview.vim                                                                                                                
my_snippets.vim                                                                                                                
parenquote.vim                                                                                                                 
pastie.vim                                                                                                                     
perl-support.vim                                                                                                               
potwiki.vim                                                                                                                    
pydoc.vim                                                                                                                      
qbuf.vim                                                                                                                       
remoteOpen.vim                                                                                                                 
simple_pairs.vim                                                                                                               
sketch.vim                                                                                                                     
snippetsEmu.vim                                                                                                                
supertab.vim                                                                                                                   
surround.vim                                                                                                                   
taglist.vim                                                                                                                    
txtfmt.vim                                                                                                                     
utl.vim                                                                                                                        
utl_arr.vim                                                                                                                    
utl_rc.vim                                                                                                                     
utl_scm.vim                                                                                                                    
utl_uri.vim                                                                                                                    
viki.vim                                                                                                                       
vimballPlugin.vim                                                                                                              
vimirc.vim                                                                                                                     
vjde.vim                                                                                                                       
vjde_floatingwin.vim                                                                                                           
vjde_todolist.vim                                                                                                              
vjde_util.vim                                                                                                                  
vstplugin.vim                     

To make a vim-ish environment complete:

zsh with a zshrc putting every shell in cmd mode

xpdfrc


visearch.com

conkeror with use-vi-keys, and n,N added  

vimperator 

PERL filetype 

nmap ,qu :s:\('\\|"\):\\\1:g<cr>:nohl<cr>

nmap ,nv :s:\(if\\|while\\|unless\\|foreach\)\s*\(([^)]*)\)\_s*{?\s_*\(.*\);\_s*}?:\3 \1 \2;<cr>:nohl<cr>

nmap ,nv :.-3,.s:\(if\\|while\\|unless\\|foreach\)\s*\(([^)]*)\)\_s*{\_s*\(.*\);\_s*}:\3 \1 \2;<cr>:nohl
<cr>

Multisession vim

$> vim | tee vimshow

Then in a different xterm :

$> tail -s.1 -f vimshow

And watch yourself editing files and moving around.

But the best part comes after you have closed vim :

:qa!

$> cat vimshow

Have fun !

-ap

(Depending on your system this might not work as intended. )

------------------------------------------------

function! Vim_execute()
    execute getline('.')
endfunction
noremap <LocalLeader>v :call Vim_execute()<CR>

 --------------------------------------

Increment letter. thanks to \amethyst @ #vim

function! NextChar(...)
        let g:nextchar_gen = (a:0) ? char2nr(a:1)-1 : g:nextchar_gen+1 
        return nr2char(g:nextchar_gen)
endfunction

call NextChar('f') | %s/'f'/\="'" . NextChar() . "\'"/

 

One of my multiple vimrc http://pastie.caboo.se/233301

another one http://pastie.caboo.se/233303