Thursday, April 13, 2017

my vim config

.vimrc:


set fileencodings=utf-8,ucs-bom,default,latin1
set et
set ai
set si
set ts=4
set shiftwidth=4
set nosmartindent
set tabstop=4
set expandtab
syntax on
set sessionoptions=buffers,sesdir,options,winsize

so ~/myvim.vim

execute pathogen#infect()

###########

myvim.vim:

"set guifont=Ubuntu\ Mono\ 12
"set guifont=Noto\ Mono\ 13
"set guifont=DejaVu\ Sans\ Mono\ 13
set guifont=Liberation\ Mono\ 14
set guioptions=aegimrLt
set colorcolumn=80
set lines=34 columns=134
"IndentGuidesEnable
colo evening
map ï :FSHere

imap :NERDTreeToggle
nmap :NERDTreeToggle

imap :Bufferlistsw
nmap :Bufferlistsw

" nimrod support

fun! JumpToDef()
  if exists("*GotoDefinition_" . &filetype)
    call GotoDefinition_{&filetype}()
  else
    exe "norm! \"
  endif
endf

" Jump to tag
nn :call JumpToDef()
ino :call JumpToDef()i

"IndentGuidesEnable
" end of numrod support

let g:clang_library_path="/usr/lib/"
let g:indent_guides_enable_on_vim_startup = 1

Sunday, April 2, 2017

linux incremental backup

duplicity --no-encryption --progress -vi --exclude '/home/yur/.cache' /home/yur file://./home_yur