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
#!/bin/bash | |
prog=$0 | |
bash -l -c "$prog.sh" |
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 exists('loaded_panel') | |
finish | |
endif | |
let loaded_panel = 1 | |
" TODO maybe move configuration to .vimrc | |
" TODO when a width of 0 is given -> ask panel for size; introduce min/max width | |
let s:panels_config = { 'files':{'run':'Files', 'width':60}, | |
\ 'buffers':{'run':'Buffers', 'width':20}, | |
\ 'tags':{'run':'Tags', 'width':30}, |
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
let s:InitMenu = 'Font' | |
let s:NextMenu = '' | |
function! LatexFont(findstart, base) | |
if a:findstart | |
let line = getline('.') | |
let start = col('.') - 1 | |
while start > 0 && line[start - 1] =~ '\a' | |
let start -= 1 | |
endwhile |
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
function! EditReg(reg) | |
let l:EditRegWinNum = bufwinnr("__EDITREG__") | |
if l:EditRegWinNum == -1 | |
silent! belowright new __EDITREG__ | |
setlocal modifiable | |
put! =getreg(a:reg) | |
$d_ | |
setlocal noshowcmd |
OlderNewer