mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 11:30:29 +01:00
Turned off swap files, added snippet for logging in python, small fix for eclim stuff
This commit is contained in:
9
.vimrc
9
.vimrc
@@ -62,6 +62,13 @@ set wildchar=<TAB> "Character to start wildcard expansion in th
|
|||||||
set wildmenu "Put command-line completion in an enhanced mode
|
set wildmenu "Put command-line completion in an enhanced mode
|
||||||
set wrapmargin=1 "Number of characters from the right window border where wrapping starts
|
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
|
" TOhtml options
|
||||||
:let html_number_lines = 1
|
:let html_number_lines = 1
|
||||||
:let html_use_css = 1
|
:let html_use_css = 1
|
||||||
@@ -355,7 +362,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
"highlight code beyond 79 column (must be after colorscheme)
|
"highlight code beyond 79 column (must be after colorscheme)
|
||||||
highlight OverLength ctermbg=black
|
highlight OverLength ctermbg=black guibg=black
|
||||||
match OverLength /\%81v.*/
|
match OverLength /\%81v.*/
|
||||||
"}}}
|
"}}}
|
||||||
" vim:ts=4:sw=4:wrap:fdm=marker:
|
" vim:ts=4:sw=4:wrap:fdm=marker:
|
||||||
|
|||||||
@@ -1094,7 +1094,7 @@ endfunction " }}}
|
|||||||
" Show(type, list) eclim/autoload/eclim/display/signs.vim {{{2
|
" 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
|
" Set the type on each entry in the specified list ('qf' or 'loc') and mark
|
||||||
" any matches in the current file.
|
" any matches in the current file.
|
||||||
function! SignsShow(type, list)
|
function! s:SignsShow(type, list)
|
||||||
if a:type != ''
|
if a:type != ''
|
||||||
if a:list == 'qf'
|
if a:list == 'qf'
|
||||||
let list = getqflist()
|
let list = getqflist()
|
||||||
|
|||||||
@@ -104,5 +104,5 @@ snippet docmodule
|
|||||||
Author: ${4:Roman 'gryf' Dobosz, gryf73@gmail.com}
|
Author: ${4:Roman 'gryf' Dobosz, gryf73@gmail.com}
|
||||||
Created: ${5:`strftime("%Y-%m-%d %H:%M:%S")`}
|
Created: ${5:`strftime("%Y-%m-%d %H:%M:%S")`}
|
||||||
"""
|
"""
|
||||||
snippet dupa
|
snippet debug
|
||||||
dwie dupy
|
LOG.debug(self.${1:method_name}.__doc__.strip())
|
||||||
|
|||||||
Reference in New Issue
Block a user