User Tools

Site Tools


coding:vimrc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
coding:vimrc [2013/06/19 13:49] – copiato così come è il mio .vimrc ferodacoding:vimrc [2015/10/06 13:46] (current) – eliminata kobe
Line 1: Line 1:
-<code> 
-syntax on 
-colorscheme ron 
-let maplocalleader=',' 
  
-set expandtab 
- 
-"spell checking.  
-"Per i suggerimenti posizionarsi su una parola evidenziata e comando z= 
-"set spell 
- 
-"set number 
-"set nowrap 
-set tabstop=4 
-set shiftwidth=4 
-"set hlsearch 
-set backspace=indent,eol,start 
-set wildmenu 
- 
-"enable mouse 
-"set mouse=a 
-" 
-" automatically save and restore folds 
-"au BufWinLeave * mkview 
-"au BufWinEnter * silent loadview 
-" 
-" this lets us put the marker in the file so that 
-" it can be shared across and stored in version control. 
-"set foldmethod=marker 
-" this is for python, put 
-" # name for the folded text # {{{ 
-" to begin marker and 
-" # }}} 
-" close to end it. 
-set commentstring=\ #\ %s 
-" default fold level, all open, set it 200 or something 
-" to make it all closed. 
-set foldlevel=0 
- 
-" ------ INCLUDES ------ 
-"abbreviations 
-source $HOME/.vim/abbreviations.vim 
-source $HOME/.vim/functions.vim 
-source $HOME/.vim/pychecker.vim 
- 
-" ------ ALL DAY MAPPINGS (save, cut&paste,...) ------ 
-" save with CTRL+s 
-map <C-s> :w<cr> 
-imap <C-s> <esc>:w<cr>a 
- 
-"copy with CTRL+c 
-vmap <C-c> "zy 
-"paste with CTRL+v 
-"nmap <C-v> "zP 
-"vmap <C-v> "zP 
-"imap <C-v> <esc>"zP 
-"cut with CTRL+x 
-vmap <C-x> "zx 
- 
-"MAKE IT EASY TO UPDATE/RELOAD_vimrc 
-nmap <LocalLeader>s :source $HOME/.vimrc<cr> 
-nmap <LocalLeader>v :e $HOME/.vimrc<cr> 
- 
-" ----------PROGRAMMING --------------- 
- 
-set dictionary=/home/ferroni/labs/sviluppo/pydiction 
-set complete-=k complete+=k  
- 
-"visual indent 
-vnoremap < <gv 
-vnoremap > >gv 
- 
-"comments out selected code 
-vmap <LocalLeader># :s/^/#/<CR> 
-vmap <LocalLeader>u# :s/^#//<CR> 
- 
-"---------------- COMMANDS ----------------- 
-" online doc search (with googlecodesearch) 
-map <LocalLeader>k :call OnlineDoc()<CR> 
-map <LocalLeader>h :call ShowPydoc("<cword>")<CR> 
- 
-" search class and def forward and backward 
-map <LocalLeader>C ?\<class\><CR> 
-map <LocalLeader>D ?\<def\><CR> 
-map <LocalLeader>c /\<class\><CR> 
-map <LocalLeader>d /\<def\><CR> 
- 
-":command NoClick %s/onclick=\".\{-}\"/onclick=\"return disable_click();\"/g 
-":command NoContextmenu %s/oncontextmenu=\".\{-}\"// 
-":command -nargs=+ Pyhelp :call ShowPydoc("<args>") 
- 
-"if has("autocmd") 
-     autocmd FileType python set complete+=k$HOME/src/pydiction iskeyword+=.,( 
-"endif " has("autocmd") 
- 
-filetype plugin on 
-au BufRead,BufNewFile *.js        set filetype=javascript 
- 
-" CSS Lint 
-let g:CSSLint_FileTypeList = ['css', 'less', 'sess' 
- 
-set history=1000 
-set scrolloff=3 
- 
-</code> 
coding/vimrc.1371649757.txt.gz · Last modified: 2014/10/28 11:28 (external edit)