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
" FILE: altautocomplpop.vim | |
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com> | |
" Last Modified: 18 Dec 2008 | |
" Usage: Just source this file. | |
" LICENSE: No Warranties. Use at your own risk. Add stuff to taste. | |
" If you like this script type :help uganda<Enter> | |
" If you want to show appreciation to the author, please | |
" visit the UDAVUM KARANGAL website http://www.udavumkarangal.org/ | |
" NOTES: Written to work with vim-7.0 | |
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
"============================================================================= | |
" FILE: neocomplcache.vim | |
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com> | |
" Last Modified: 13 Jan 2009 | |
" Usage: Just source this file. | |
" License: MIT license {{{ | |
" Permission is hereby granted, free of charge, to any person obtaining | |
" a copy of this software and associated documentation files (the | |
" "Software"), to deal in the Software without restriction, including | |
" without limitation the rights to use, copy, modify, merge, publish, |
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
"--------------------------------------------------------------------------- | |
" Shougo's .vimrc | |
"--------------------------------------------------------------------------- | |
" Initialize:"{{{ | |
" | |
if has('win32') || has('win64') | |
" For Windows. | |
language en | |
else | |
" For Linux. |
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 tabline. | |
function! s:my_tabline() "{{{ | |
let l:s = '' | |
for l:i in range(1, tabpagenr('$')) | |
let l:bufnrs = tabpagebuflist(i) | |
let l:curbufnr = l:bufnrs[tabpagewinnr(l:i) - 1] " first window, first appears | |
let l:no = (l:i <= 10 ? l:i-1 : '#') " display 0-origin tabpagenr. | |
let l:mod = len(filter(l:bufnrs, 'getbufvar(v:val, "&modified")')) ? '!' : ' ' |
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
" quickrun - run a command and show its result quickly | |
" Author: ujihisa <http://ujihisa.nowa.jp/> | |
" ModifiedBy: kana <http://whileimautomaton.net/> | |
" ModifiedBy: Sixeight <http://d.hatena.ne.jp/Sixeight/> | |
if exists('g:loaded_quickrun') | |
finish | |
endif | |
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
# for Mac. | |
TARGET=autoload/proc.so | |
SRC=autoload/proc.c | |
CFLAGS=-W -Wall -Wno-unused -ansi -pedantic -bundle -fPIC | |
LDFLAGS+=-lutil | |
all: $(TARGET) | |
$(TARGET): $(SRC) autoload/vimstack.c |
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
" vimrcbox.vim | |
" Author: Sora harakami <sora134@gmail.com> | |
" Modified by: thinca <thinca@gmail.com> thanks! | |
" Modified by: Shougo <Shougo.Matsu@gmail.com> thanks! | |
" Require: curl | |
" Licence: MIT Licence | |
if exists('g:loaded_vimrcbox') | |
finish | |
endif |
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
" Plugin: perl-completion.vim | |
" Author: Cornelius | |
" Email: cornelius.howl@gmail.com | |
" Version: 1.3 | |
" Options: | |
" complete builtin functions by default |
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
"============================================================================= | |
" FILE: getposlist.vim | |
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com> | |
" Last Modified: 18 Dec 2009 | |
" Usage: Just source this file. | |
" License: MIT license {{{ | |
" Permission is hereby granted, free of charge, to any person obtaining | |
" a copy of this software and associated documentation files (the | |
" "Software"), to deal in the Software without restriction, including | |
" without limitation the rights to use, copy, modify, merge, publish, |
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! s:ParseMarkdown() | |
let l:lines = getline(1,line("$")) | |
let l:pages_lines = [] | |
let s:pages = [] | |
echo "Parsing..." | |
for l:line in l:lines | |
if l:line =~ '^#\+' | |
if !empty(l:pages_lines) | |
call add(s:pages, join(l:pages_lines, "\r\n")) |
OlderNewer