vim
Questo è il mio /home/francesco/.vimrc
francesco@serverHP:~$ cat .vimrc set mouse=r set textwidth=60 " era 72, poi ho settato la larghezza delle pagine Adelphi "set wrap linebreak nolist " this enables "visual" wrapping set wrap " this turns off physical line wrapping (ie: automatic " insertion of newlines) "set textwidth=0 wrapmargin=0 set linebreak """ set cm=blowfish2 " Tell vim to remember certain things when we exit " '10 : marks will be remembered for up to 10 previously edited " files " "100 : will save up to 100 lines for each register " :20 : up to 20 lines of command-line history will be remembered " % : saves and restores the buffer list " n... : where to save the viminfo files set viminfo='10,\"100,:20,%,n~/.viminfo function! ResCur() if line("'\"") <= line("$") normal! g`" return 1 endif endfunction augroup resCur autocmd! autocmd BufWinEnter * call ResCur() augroup END
vim.txt · Last modified: 2018/05/20 16:04 by francesco