Skip to content

Instantly share code, notes, and snippets.

View qickstarter's full-sized avatar

qickstarter qickstarter

View GitHub Profile
"----------------------------------------
" zencoding
"----------------------------------------
" codaのデフォルトと一緒にする
imap <C-E> <C-Y>,
let g:user_zen_leader_key = '<C-Y>'
" 言語別に対応させる
let g:user_zen_settings = {
\ 'lang' : 'ja',
\ 'html' : {
" リロード後に戻ってくるアプリ 変更してください
let g:returnApp = "iTerm"
nmap <Space>bc :ChromeReloadStart<CR>
nmap <Space>bC :ChromeReloadStop<CR>
nmap <Space>bf :FirefoxReloadStart<CR>
nmap <Space>bF :FirefoxReloadStop<CR>
nmap <Space>bs :SafariReloadStart<CR>
nmap <Space>bS :SafariReloadStop<CR>
nmap <Space>bo :OperaReloadStart<CR>
nmap <Space>bO :OperaReloadStop<CR>
" コピペで貼付けているので、これで動作しなかったら賢く書き換えてください。
NeoBundleLazy 'kmnk/vim-unite-giti', {
\ 'autoload': {
\ 'unite_sources': [
\ 'giti', 'giti/branch', 'giti/branch/new', 'giti/branch_all',
\ 'giti/config', 'giti/log', 'giti/remote', 'giti/status'
\ ]
\ }}
NeoBundleLazy 'Shougo/git-vim', {
\ 'autoload' : {
diff --git a/autoload/neocomplete/complete.vim b/autoload/neocomplete/complete.vim
index 4056e7e..8c409f8 100644
--- a/autoload/neocomplete/complete.vim
+++ b/autoload/neocomplete/complete.vim
@@ -175,7 +175,6 @@ function! neocomplete#complete#_get_words(sources, complete_pos, complete_str) "
" Append prefix.
let candidates = []
let len_words = 0
- let sources_len = 0
for source in sort(filter(copy(a:sources),
function! s:get_gem_paths() " {{{
if !exists('s:gem_path')
let s:gem_path = {}
endif
let project_dir = s:V.path2project_directory(getcwd())
if !has_key(s:gem_path, project_dir)
let result = system('bundle show --paths')
if exists('*neocomplete#util#get_vital')
let s:V = neocomplete#util#get_vital()
elseif exists('*unite#util#get_vital')
let s:V = unite#util#get_vital()
elseif exists('*vital#of')
let s:V = vital#of('vital')
endif
function! s:get_gem_paths() " {{{
if !exists('s:gem_path')
if exists('*neocomplete#util#get_vital')
let s:V = neocomplete#util#get_vital()
elseif exists('*unite#util#get_vital')
let s:V = unite#util#get_vital()
endif
function! s:get_gem_paths() " {{{
if !exists('s:gem_path')
let s:gem_path = {}
endif
diff --git a/autoload/neocomplete/sources/file.vim b/autoload/neocomplete/sources/file.vim
index 02b3ea1..1d2f6ae 100644
--- a/autoload/neocomplete/sources/file.vim
+++ b/autoload/neocomplete/sources/file.vim
@@ -30,7 +30,6 @@ set cpo&vim
let s:source = {
\ 'name' : 'file',
\ 'kind' : 'manual',
- \ 'mark' : '[F]',
\ 'rank' : 3,
>>>>>>> Stashed changes
let hooks = neobundle#get_hooks('syntastic')
function! hooks.on_source(bundle) "{{{
let g:syntastic_auto_jump = 0
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 0
let g:syntastic_echo_current_error = 0
let g:syntastic_quiet_warnings = 0
let g:syntastic_enable_highlighting = 0
let g:syntastic_enable_signs = 0
let g:syntastic_loc_list_height = 3