Skip to content

Instantly share code, notes, and snippets.

View thinca's full-sized avatar
⌨️
Happy Vimming!

thinca thinca

⌨️
Happy Vimming!
View GitHub Profile
@ucnv
ucnv / README.md
Created May 3, 2009 09:01
Diff for gist.github
↑のStar押してみて!
if exists("g:loaded_nerdtree_quickrun_keymap")
finish
endif
let g:loaded_nerdtree_quickrun_keymap = 1
if !exists('g:loaded_quickrun')
finish
endif
call NERDTreeAddKeyMap({
Have a look at *-addon-info.txt files. They contain a key which lists the dependencies.
Vim is great. But it lacks some Emacs like features - such as debugging, interactive shells,
nice languages which let's you implement real features. Eg if you browse C-code and see Eclipse highlighting #ifdef code blocks which are ignored you stark liking that while knowing that Vim probably will never have that feature - because that required implementing a C/C++ parser. Hacking Vim would take too much time for an individual. Sometimes I feel the Vim community should try hiring Bram full time to continue work on the editor.
I noticed that you have some Vim plugins on github as well. Let me know if you want them added to vim-addon-manager-known-repositories
I talked to the author of neocomplcache last year on lingr. However I prefer irc in general
If you encounter any trouble let me know. I'll try to fix it then. Everything is laziy - That means I do as much as I have to satisfy my needs.
I don't care. If it helps someone do translate it. In the internet there is so much text. Its that easy to find false positives today. So you should no longer count on everything you find in internet.
Do you want to drop your vim battleness? Indent all lines in ~/.vimrc by a space and Scouter will report 0. Don't think that .vimrc alone is very representative anyway.
I had a look at the github page of thinca. All comments are written in English - So why do you want to translate something?
About irc: irc.freenode.net is most popular by many open source devs. Most projects (including) vim have #project-name chatroom.
I hang around in #nixos, #vim, #scala #.. depends on what I'm working on.
You can always private message me using /msg MarcWbere message
diff -r e037ee8698b3 src/ex_cmds.h
--- a/src/ex_cmds.h Wed Aug 04 15:47:08 2010 +0200
+++ b/src/ex_cmds.h Thu Aug 05 00:10:30 2010 +0900
@@ -1126,7 +1126,7 @@
EX(CMD_Print, "Print", ex_print,
RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN),
EX(CMD_X, "X", ex_X,
- TRLBAR),
+ EXTRA|NOTRLCOM|SBOXOK|CMDWIN),
EX(CMD_tilde, "~", do_sub,
@tyru
tyru / debugging-vim-script.pl
Created February 24, 2011 18:37
Vimスクリプトのデバッグ手法
use common::sense;
sub バグをみつけた {
undef
}
sub Vimの悪口を言う {
say "ソースコードがカオスすぎてイミフ";
}
sub Vimスクリプトの悪口を言う {
@anekos
anekos / gmarks-completer.js
Created May 27, 2011 16:45
Google Bookmarks Completer for Vimperator
let cacheLimit = 30 * 60 * 1000;
let xmlCache;
let getting;
function setCompletions (context, doc) {
let cs = [];
for ([, e] in Iterator(doc.querySelectorAll('bookmark'))) {
let title = e.querySelector('title');
let url = e.querySelector('url');
let s:reg_path = 'HKLM\System\CurrentControlSet\Control\TimeZoneInformation'
function! s:GetTimeZoneName()
let res = system(printf("reg query %s /v StandardName | findstr REG_SZ", s:reg_path))
return split(substitute(res, '\n', '', 'g'), '\s')[2]
endfunction
function! s:GetTimeZoneOffset()
let res = system(printf("reg query %s /v Bias | findstr REG_DWORD", s:reg_path))
return -(split(res, '[ \t\n]\+')[2] / 60)
@mattn
mattn / 20120517175931.gif
Created May 17, 2012 09:06
faithandbraveさんのサンプルをvimでコーディングしてみた
20120517175931.gif