samhstn / m Goto Github PK
View Code? Open in Web Editor NEWA zsh command line utility when using your terminal and vim as your ide.
A zsh command line utility when using your terminal and vim as your ide.
We currently just open the file specified by mo <number>
It would be really cool if we could also arrive on the correct line number and jump to the first instance of the string we're searching for.
It would be really cool if mo
could handle opening multiple files.
Something like the following usage:
mo 1,2,3,6 # would open 4 files in vim
mo 1,4,6-10 # would open 7 files in vim
When running mr
with last run m
or mo
command being mo 10
.
We run the command m 10
which will open the file 10
in mvim
.
We should instead run mo 10
.
When running git diff
, we get something like the following output:
--- a/path/to/file.txt
+++ b/path/to/file.txt
I sometimes find myself copying a/path/to/file.txt
and trying to open the file with m
.
It would be great if m
could handle being run in the following way:
m a/path/to/file.txt # opens ./path/to/file.txt
After running:
mg <pattern> -v <exclude_pattern>
mo currently opens all files outputted by mg <pattern>
and doesn't account for the <exclude_pattern>
The mg
command always references the current directory. It would be good to be able to reference a specific directory. Something like the following usage:
mg [-cnhl] <pattern> [<directory>] [-v <exclude pattern>]
We currently have the following usage:
mg [-cnhl] <pattern> [-v <exclude pattern>]
git-grep
and bash or some language.Currently we require macvim
to be installed which limits us to mac environments.
We should fallback to vim
if mvim
isn't found.
We only need to change this file: https://github.com/samhstn/m/blob/master/m.zsh
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.