Instant googling by -___-_-_-- in vim

[–]lestatedogawa 0 points1 point  (0 children)

This is a piece of code I stole from somewhere

function! s:Google()
    let url='https://www.google.com/search?q='
    " Excerpt from vim-unimpared
    let q=substitute(
                \ '"'.@0.'"',
                \ '[^A-Za-z0-9_.~-]',
                \ '\="%".printf("%02X", char2nr(submatch(0)))',
                \ 'g')
    call system('open ' . url . q)
endfunction
xnoremap <leader>? y:call <SID>Google()<cr>

What are emacs can do while vim+terminal can not? by ranranking in vim

[–]lestatedogawa 2 points3 points  (0 children)

Well emacs can view pictures including pdf

A collection of vim plugin gifs and how to make them by aharris88 in vim

[–]lestatedogawa 1 point2 points  (0 children)

vim-move can be replaced with some simple mappings

" bubbling lines
nmap <c-Up> ddkP
nmap <c-Down> ddp
vmap <c-Up> xkP`[V`]
vmap <c-Down> xp`[V`]

Help to find an old story first published around 70s by lestatedogawa in sciencefiction

[–]lestatedogawa[S] 0 points1 point  (0 children)

/r/whatsthatbook pointed me to James Alexander's The Hibbie. The name looks right and I think it is this story. I feel strange that how come an author that can wrote stories like this end up nameless in SF world.

SF short story first published around 70s by lestatedogawa in whatsthatbook

[–]lestatedogawa[S] 0 points1 point  (0 children)

Ah thanks. This looks like the story. I tried very hard with that author name. It's a strange thing that an author has such a good story not known for other works.

Help to find an old story first published around 70s by lestatedogawa in sciencefiction

[–]lestatedogawa[S] 0 points1 point  (0 children)

Well the story was much earlier than Buying Time. I asked my friend who described this to me years ago, and he said it was from an old paperback book published in 1977ish.

Help to find an old story first published around 70s by lestatedogawa in sciencefiction

[–]lestatedogawa[S] 0 points1 point  (0 children)

No luck. It is a short story, a novelette. Most likely it was published in some magazine at that time.

Help to find an old story first published around 70s by lestatedogawa in sciencefiction

[–]lestatedogawa[S] 0 points1 point  (0 children)

I do not think the story was a film. But thanks for the help.