Skip to content

Instantly share code, notes, and snippets.

osyo-manga osyo-manga

Block or report user

Report or block osyo-manga

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vim_version
$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 22 2018 13:38:04)
適用済パッチ: 1-1428
Compiled by worker@worker-desktop
Huge 版 with GTK2 GUI. 機能の一覧 有効(+)/無効(-)
+acl +farsi +mouse_sgr -tag_any_white
+arabic +file_in_path -mouse_sysmouse -tcl
+autocmd +find_in_path +mouse_urxvt +termguicolors
-autoservername +float +mouse_xterm +terminal
+balloon_eval +folding +multi_byte +terminfo
View .test_vimrc
" vim 8.0 1295
" $ vim -u .test_vimrc
" .test_vimrc
filetype plugin indent on
set filetype=tex
call feedkeys("\\begin{itemize}\<CR>")
View terminal.vim
" vital-palette-keymapping
function! s:escape_special_key(key)
" Workaround : <C-?>
if a:key ==# "<^?>"
return "\<C-?>"
execute 'let result = "' . substitute(escape(a:key, '\"'), '\(<.\{-}>\)', '\\\1', 'g') . '"'
return result
View lexima_vimrc.vim
call lexima#clear_rules()
function! s:as_list(a)
return type(a:a) == type([]) ? a:a : [a:a]
function! s:add_ignore_rule(rule)
let rule = copy(a:rule)
let rule.input = rule.char
let rule.input_after = ""
View mapping.vim
nnoremap <C-Space> i <Esc><Right>
nnoremap <Esc><Esc> :nohlsearch<CR>
nnoremap <silent> <C-j> :call append(line(".")-1, "")<CR>
nnoremap <silent> <C-k> <Up>dd
nnoremap <silent> j gj
nnoremap <silent> k gk
nnoremap <Down> gj
nnoremap <Up> gk
nnoremap h <Left>
nnoremap l <Right>
View catch.cpp
#include "./catch.hpp"
#include <vector>
#include <list>
template<typename List>
void func(){
List v;
View multi_method.rb
require "stitcher"
using Stitcher
class X
stitcher_require [Object]
def initialize a
p a
View multi_method.rb
require "stitcher"
using Stitcher
class X
stitcher_require [Object]
def initialize a
p a
View type_struct.rb
require "stitcher"
using Stitcher
def type_struct **hash {
stitcher_accessor hash
def initialize **hash
hash.each { |key, value| send("#{key}=", value) }
View ui.vim
let s:V = vital#of("vital")
let s:Buffer = s:V.import("Coaster.Buffer")
let s:cmdline = s:V.import("Over.Commandline")
function! Start()
let cmdline = s:cmdline.make_standard(":")
let cmdline.buffer ="botright new")
setlocal bufhidden=hide buftype=nofile noswapfile nobuflisted nonumber cursorline
let cmdline.list = glob("**/*", 1, 1)
You can’t perform that action at this time.