Vim text objects for heredocs!
This is still pretty new, but I'm actively using it. PR's et al welcome :)
iH
/aH
for in/around selection.
Vim text objects for heredocs.
License: GNU Lesser General Public License v2.1
Vim text objects for heredocs!
This is still pretty new, but I'm actively using it. PR's et al welcome :)
iH
/aH
for in/around selection.
" $ uname -r
" 5.18.15-arch1-1
" $ has
" โ nvim 0.7.2
" $ cat test.vim
set runtimepath=$VIMRUNTIME
set runtimepath+=~/.local/share/nvim/repos/github.com/kana/vim-textobj-user
set runtimepath+=~/.local/share/nvim/repos/github.com/rsrchboy/vim-textobj-heredocs
" $ vi -u test.vim test.sh
#!/usr/bin/env bash
python << EOF
import sys
from time import strftime, gmtime
from contextlib import suppress
import pandas as pd
from tensorboard.backend.event_processing.event_file_loader import EventFileLoader
df = pd.DataFrame(columns={"Step": int, "Value": float})
df.index.name = "YYYY-mm-dd HH:MM"
for event in EventFileLoader("$1").Load():
with suppress(IndexError):
df.loc[strftime("%F %H:%M", gmtime(event.wall_time))] = [event.step, event.summary.value[0].tensor.float_val[0]]
df.to_csv(sys.stdout, "\t")
EOF
Press viH
, nothing happen.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.