From 598bdab32ca5fc517669116088ae50ea0a4493b1 Mon Sep 17 00:00:00 2001 From: gryf Date: Mon, 3 May 2010 10:37:34 +0200 Subject: [PATCH] Turned off swap files, added snippet for logging in python, small fix for eclim stuff --- .vimrc | 9 ++++++++- plugin/eclim_tools.vim | 2 +- snippets/python.snippets | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index 128b418..fd26b34 100644 --- a/.vimrc +++ b/.vimrc @@ -62,6 +62,13 @@ set wildchar= "Character to start wildcard expansion in th set wildmenu "Put command-line completion in an enhanced mode set wrapmargin=1 "Number of characters from the right window border where wrapping starts +"backup/writeback/swapfile +set nobackup +set nowb +set noswapfile +"in case they are needed, store swapfiles in tmp +"set dir=~/tmp/ + " TOhtml options :let html_number_lines = 1 :let html_use_css = 1 @@ -355,7 +362,7 @@ else endif "highlight code beyond 79 column (must be after colorscheme) -highlight OverLength ctermbg=black +highlight OverLength ctermbg=black guibg=black match OverLength /\%81v.*/ "}}} " vim:ts=4:sw=4:wrap:fdm=marker: diff --git a/plugin/eclim_tools.vim b/plugin/eclim_tools.vim index 71eb972..7cc1b6e 100644 --- a/plugin/eclim_tools.vim +++ b/plugin/eclim_tools.vim @@ -1094,7 +1094,7 @@ endfunction " }}} " Show(type, list) eclim/autoload/eclim/display/signs.vim {{{2 " Set the type on each entry in the specified list ('qf' or 'loc') and mark " any matches in the current file. -function! SignsShow(type, list) +function! s:SignsShow(type, list) if a:type != '' if a:list == 'qf' let list = getqflist() diff --git a/snippets/python.snippets b/snippets/python.snippets index 9454a0d..a26ef7e 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -104,5 +104,5 @@ snippet docmodule Author: ${4:Roman 'gryf' Dobosz, gryf73@gmail.com} Created: ${5:`strftime("%Y-%m-%d %H:%M:%S")`} """ -snippet dupa - dwie dupy +snippet debug + LOG.debug(self.${1:method_name}.__doc__.strip())