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
diff --git a/plugin/snipMate.vim b/plugin/snipMate.vim | |
index ef03b12..b1738c6 100644 | |
--- a/plugin/snipMate.vim | |
+++ b/plugin/snipMate.vim | |
@@ -159,8 +159,10 @@ fun! TriggerSnippet() | |
if exists('SuperTabKey') | |
call feedkeys(SuperTabKey) | return '' | |
endif | |
- call feedkeys("\<esc>a", 'n') " Close completion menu | |
- call feedkeys("\<tab>") | return '' |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define LEN 80 | |
#define INIT_SIZE 30 | |
typedef struct Entry { | |
void* key; | |
void* value; |
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 | |
sudo apt-get install build-essential autotools-dev tcl8.5-dev tk8.5-dev | |
cd $HOME | |
mkdir build && cd build | |
wget ftp://gadoid.ices.cmu.edu/pub/tkgate/pre-release/tkgate-2.0-b10.tar.gz | |
tar xvzf tkgate-2.0-b10.tar.gz | |
cd tkgate-2.0-b10/ | |
./configure | |
make | |
# Only if you want to install |
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
diff --git a/autoload/neocomplcache/sources/snippets_complete.vim b/autoload/neocomplcache/sources/snippets_complete.vim | |
index f229823..87e9cc7 100644 | |
--- a/autoload/neocomplcache/sources/snippets_complete.vim | |
+++ b/autoload/neocomplcache/sources/snippets_complete.vim | |
@@ -528,7 +528,11 @@ function! s:expand_newline()"{{{ | |
while match >= 0 | |
let end = getline('.')[matchend(getline('.'), '<\\n>') :] | |
" Substitute CR. | |
- silent! s/<\\n>// | |
+ if &gdefault |
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
" A ref source for ch. https://github.com/visionmedia/ch | |
" Version: 0.0.1 | |
" Heavily based on man source by: | |
" Author : thinca <[email protected]> | |
let s:save_cpo = &cpo | |
set cpo&vim | |
scriptencoding utf-8 |
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
package com.tungd; | |
import java.awt.BasicStroke; | |
import java.awt.Color; | |
import java.awt.Graphics; | |
import java.awt.Graphics2D; | |
import java.awt.RenderingHints; | |
import java.awt.geom.Line2D; | |
import java.awt.geom.QuadCurve2D; | |
import javax.swing.JFrame; |
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
" A ref source for ri. | |
" Version: 0.0.1 | |
" Author : Tung Dao <[email protected]> | |
" Modified from pman source by soh335 <[email protected]> | |
" https://github.com/soh335/vim-ref-pman | |
" License: Creative Commons Attribution 2.1 Japan License | |
" <http://creativecommons.org/licenses/by/2.1/jp/deed.en> | |
let s:save_cpo = &cpo | |
set cpo&vim |
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
" Vim Keymap file for vietnamese through the Telex method | |
" Maintainer: Tung Dao <[email protected]> | |
" Last Change: 30 Aug 2011 | |
scriptencoding utf-8 | |
let b:keymap_name = "vietnamese" | |
loadkeymap | |
a a |
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
" Author: Tung Dao <[email protected]> | |
" Usage: compile .c file, load generated .s file in vim, | |
" source this script and execute the function. | |
" Requires xgcc executable which comes with MipsIT | |
" Ex: xgcc -O3 -S -c foo.c | |
" vim foo.s | |
" In vim: | |
" so ~/Desktop/mips_learn.vim | |
" call ToMIPS() |
OlderNewer