mirror of
https://github.com/gryf/.vim.git
synced 2026-03-27 00:03:31 +01:00
Compare commits
4 Commits
9f2bf32892
...
f94b8415c7
| Author | SHA1 | Date | |
|---|---|---|---|
| f94b8415c7 | |||
| 00ee99d9c8 | |||
| 1a67b0b2a9 | |||
| 1bf338884a |
@@ -12,16 +12,16 @@ snippet dbg Python Debugger abbrv
|
||||
snippet ipdb ipdb abbrv
|
||||
__import__('ipdb').set_trace()
|
||||
snippet rpdb remote_pdb debbuger
|
||||
__import__('remote_pdb').set_trace()
|
||||
__import__('remote_pdb').RemotePdb('127.0.0.1', 4444).set_trace()
|
||||
snippet msg Tk graphical message
|
||||
from Tkinter import Tk
|
||||
import ttk
|
||||
import tkMessageBox
|
||||
window = Tk()
|
||||
import tkinter
|
||||
import tkinter.ttk
|
||||
import tkinter.messagebox
|
||||
window = tkinter.Tk()
|
||||
window.wm_withdraw() # make window invisible. we only want message boxes
|
||||
ttk.Style().theme_use('clam')
|
||||
tkMessageBox.showinfo(title="${1:title}",
|
||||
message="${2:msg}",
|
||||
parent=window)
|
||||
tkinter.ttk.Style().theme_use('clam')
|
||||
tkinter.messagebox.showinfo(title="${1:title}",
|
||||
message="${2:msg}",
|
||||
parent=window)
|
||||
snippet _ Dunder completion
|
||||
__${1:init}__$0
|
||||
|
||||
28
vimrc
28
vimrc
@@ -11,16 +11,14 @@ endif
|
||||
|
||||
call plug#begin('~/.vim/bundle')
|
||||
|
||||
Plug 'Valloric/MatchTagAlways'
|
||||
Plug 'Valloric/MatchTagAlways', { 'for': ['html', 'xml'] }
|
||||
Plug 'ayuanx/vim-mark-standalone'
|
||||
Plug 'davidhalter/jedi-vim', { 'for': 'python' }
|
||||
Plug 'dogrover/vim-pentadactyl'
|
||||
Plug 'ericpruitt/tmux.vim'
|
||||
if has("patch-8.0.1453")
|
||||
Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
|
||||
endif
|
||||
Plug 'dense-analysis/ale'
|
||||
Plug 'fs111/pydoc.vim', { 'for': 'python' }
|
||||
Plug 'fs111/pydoc.vim', { 'for': 'python' } " adds Pydoc command and K under cursor
|
||||
Plug 'gryf/dragvisuals'
|
||||
Plug 'gryf/pep8-vim', { 'for': 'python' }
|
||||
Plug 'gryf/pylint-vim', { 'for': 'python' }
|
||||
@@ -28,32 +26,26 @@ Plug 'gryf/python-syntax', { 'for': 'python' }
|
||||
Plug 'gryf/python.vim', { 'for': 'python' }
|
||||
Plug 'gryf/pythonhelper', { 'for': 'python' }
|
||||
Plug 'gryf/snipmate.vim'
|
||||
Plug 'gryf/vim-latex-compiler'
|
||||
Plug 'gryf/vim-latex-compiler', { 'for': 'tex' }
|
||||
Plug 'gryf/wombat256grf'
|
||||
Plug 'gryf/zoom.vim'
|
||||
Plug 'gryf/zoom.vim' " control gui font size with '+' or '-; keys.
|
||||
Plug 'habamax/vim-rst', { 'for': 'rst' }
|
||||
Plug 'honza/vim-snippets'
|
||||
Plug 'kazuyukitanimura/jsbeautify'
|
||||
Plug 'kien/ctrlp.vim'
|
||||
Plug 'mattn/calendar-vim'
|
||||
Plug 'mikeage/occur.vim'
|
||||
Plug 'mileszs/ack.vim'
|
||||
Plug 'myhere/vim-nodejs-complete', { 'for': 'javascript' }
|
||||
Plug 'othree/html5.vim', { 'for': 'html' }
|
||||
Plug 'pangloss/vim-javascript', { 'for': 'javascript' }
|
||||
Plug 'pcaro90/jpythonfold.vim'
|
||||
Plug 'pcaro90/jpythonfold.vim', { 'for': 'python' }
|
||||
Plug 'preservim/nerdcommenter'
|
||||
Plug 'preservim/tagbar'
|
||||
Plug 'regedarek/ZoomWin'
|
||||
Plug 'rust-lang/rust.vim', { 'for': 'rust' }
|
||||
Plug 'sjl/gundo.vim'
|
||||
Plug 'skammer/vim-css-color'
|
||||
Plug 'terryma/vim-multiple-cursors'
|
||||
Plug 'skammer/vim-css-color', { 'for': 'css' }
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'tpope/vim-repeat'
|
||||
Plug 'machakann/vim-sandwich'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'vim-scripts/DrawIt'
|
||||
Plug 'vim-scripts/JavaScript-Indent', { 'for': 'javascript' }
|
||||
Plug 'vim-scripts/LanguageTool'
|
||||
Plug 'vim-scripts/ShowMarks'
|
||||
Plug 'vim-scripts/indentpython', { 'for': 'python' }
|
||||
@@ -379,8 +371,6 @@ endfunction
|
||||
"remove all trailing whitespace for specified files before write
|
||||
autocmd BufWritePre * :call <SID>StripTrailingWhitespaces(0, 'n')
|
||||
|
||||
"set correct filetype for tmux
|
||||
autocmd BufRead *.tmux.conf set filetype=tmux
|
||||
autocmd BufRead *.mako set filetype=mako
|
||||
autocmd BufRead *.ass, *asm set filetype=kickass
|
||||
|
||||
@@ -546,10 +536,6 @@ let g:tagbar_type_vimwiki = {
|
||||
\ }
|
||||
" Note: see statusline settings for status bar tag conf
|
||||
"}}}
|
||||
"Sandwitch {{{2
|
||||
" Make sandwitch to use my memorymuscle craved shorcuts for surround
|
||||
runtime macros/sandwich/keymap/surround.vim
|
||||
"}}}
|
||||
"VimWIKI {{{2
|
||||
let g:vimwiki_list = [{'path': '~/vimwiki/',
|
||||
\ 'template_path': '~/vimwiki/',
|
||||
|
||||
Reference in New Issue
Block a user