Skip to content

Instantly share code, notes, and snippets.

View ilan-schemoul's full-sized avatar

Ilan Schemoul ilan-schemoul

  • Intersec
  • Parisian suburb, France
View GitHub Profile
@ilan-schemoul
ilan-schemoul / gist:8587bff1c90cf6dd0408a8a1a3fd6d41
Last active July 26, 2026 13:54
Fish inside Nvim (how to and optimisations)
Rest of this file will take fish as the Shell, it works roughly the same with other shell though.
NOTE: if you add `set shell=fish` in nvim there's actually a third fish process. It becomes fish1->nvim(->starts its internal fish shell (fish2))->fish3. We are in fish 2 if $NVIM_LOG_FILE is defined but not $NVIM (from my limited tests).
# Fish sandwich
When I start a shell I want it to run inside Nvim, so at any time I can access
nvim (with houdini plugin I can just type hj in my terminal emulator to exit terminal mode, and be in normal nvim mode).
It is not possible, AFAIK, to directly start Nvim from Kitty (or other
Pattern has 23 elts (size 32)
family: "Wuncon Siji"(s)
style: "Regular"(s)
stylelang: "en"(s) "en"(s)
slant: 0(i)(s)
weight: 80(f)(s)
width: 100(f)(s)
pixelsize: 10(f)(s)
spacing: 110(i)(s)
foundry: "Wuncon"(s)
@ilan-schemoul
ilan-schemoul / jsx
Created April 9, 2017 08:44
Search box with react@next
import React from 'react';
import Icon from '/node_modules/material-ui/Icon/Icon';
import Layout from '/node_modules/material-ui/Layout/Layout';
import Paper from '/node_modules/material-ui/Paper/Paper';
import Magnify from '/node_modules/mdi-react/MagnifyIcon.js';
import injectSheet from 'react-jss';
const styles = {
outsideContainer: {
@ilan-schemoul
ilan-schemoul / designer.html
Last active August 29, 2015 14:14
designer
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<polymer-element name="my-element">
<template>
@ilan-schemoul
ilan-schemoul / designer.html
Last active August 29, 2015 14:13
designer
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
<link rel="import" href="../core-pages/core-pages.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
@ilan-schemoul
ilan-schemoul / designer.html
Last active August 29, 2015 14:10
designer
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../paper-tabs/paper-tabs.html">