This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set smartindent | |
set expandtab " convert tabs to spaces | |
set shiftwidth=4 " four spaces for a tab | |
set tabstop=4 | |
autocmd BufEnter *.py set ai sw=4 ts=4 sta et fo=croql | |
let mapleader="," |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file1= "..." # old log file | |
file2= "..." # new log file | |
url= "..." | |
mail= "..." | |
rm ${file1} | |
mv ${file2} ${file1} | |
nice curl ${url} > ${file2} # execute process and write output in file2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if &cp | set nocp | endif | |
let s:cpo_save=&cpo | |
set cpo&vim | |
map! <S-Insert> <MiddleMouse> | |
nmap gx <Plug>NetrwBrowseX | |
nnoremap <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>"),0) | |
map <S-Insert> <MiddleMouse> | |
iabbr ms Microsoft | |
let &cpo=s:cpo_save |
NewerOlder