ain / .vim Goto Github PK
View Code? Open in Web Editor NEWMy living Vim stack on macOS
My living Vim stack on macOS
:Gpush
shouldn't push all branches, but just the current one.
Allow autocomplete for :Gcof
alias to allow fetching of local branches.
Separate utility commands into vim-utils (or similar) to encapsulate utility commands out of the .vimrc
scope.
:Gpr
as:
Allow wildcard in :Gbranchd
for cleanup, i.e. to delete all fix branches with fix/*
.
Relying on HEAD
not always reliable. Branch and remote has to be fetched explicitly.
Some ideas for improvement: http://stackoverflow.com/questions/171550/find-out-which-remote-branch-a-local-branch-is-tracking
CtrlP should ignore Git or other version control data for buffer search.
Detect if YCM has changed and needs to be recompiled since last update.
When opening a JS file, the following error is thrown:
RuntimeError: Warning: Unable to detect a .tern-project file in the hierarchy before /Users/ain/projects/iptools-jquery-modal and no global .tern-config file was found. This is required for accurate JavaScript completion. Please see the User Guide for details.
Re-enable JSCS as by ain/.dotfiles#30.
As opposed to update, rollback is also needed so it'd be possible to undo updates to plugins with regressions or obvious bugs.
:Gpr
remote needs to default to upstream or, if not matched, to origin.
:Gprr <id>
shorthand for reloading the Pull Request.
Following helper commands are conflicting with vim-fugitive
commands:
Gfetch
Gpull
Gpush
Wrap :Gmsg
to something that brings up the commit message editing window.
Insert timestamp at cursor position whenever processing :Tstamp
Shorthand for git checkout head -- <file in buffer>
so the file does not need saving and thus does not update (in comparison to :Gread
)
Gblog
command fails after the most recent macOS upgrade with
fatal: ambiguous argument '$(git': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
./update
fails to update plugins, stays behind:
# Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.
tnotify
is unreliable, update complets at Update complete! message and hangs without exiting.
Improve syntax checking of HTML5 by using tidy.
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for an example.
Extract update to separate vim-update
Pathogen bundle.
Implement Bower cache clean, messaging to Breset
shorthand.
Gurl
should run similarly to :Rvm use <version>
from within Vim without a need to hit return to get back to Vim.
:Gmsg
shorthand processes hashes, e.g. Resolve #3 add new layout
becomes Resolve NERD_tree_1 add new layout
.
Relates to #9.
Shorthand for fetch Pull Requests as inspired by https://help.github.com/articles/checking-out-pull-requests-locally/
Needs to shift to a fork that is still maintained [email protected]:ctrlpvim/ctrlp.vim.git
https://gist.github.com/ericelliott/2271bd12736585175c85
Current solution deletes just one branch: https://github.com/ain/.vim/blob/master/.vimrc#L103-L109
Update fails to check out newly added plugins that have been added to repository from elsewhere.
Function for :Bower
not required, simplify.
:Gpr
needs argument validation.
If .jscsrc
file is missing at project root, error is thrown:
No configuration found. Add a .jscsrc file to your project root or use the -c option.
:Tabularize \|
that used to work, is no more functional throwing:
Tabularize: Unrecognized command '\|'
Since :Gbranches
is often too lengthy, scrolling is necessary.
Function for :Composer
not required, simplify.
Required dependencies:
sudo port install vim +python33
to install from MacPorts)NB! Powerline font needs to installed and selected to fully benefit from vim-airline
.
Implement simplistic tests to identify obvious failures.
:Thor
.
:Gbranchd
branch evaluation to fail early.
:Gpr
needs to be able to switch remotes, e.g. :Gpr upstream 80
for PR no. 80 on original repo.
:Gbranchd
autocomplete based on local branches.
Function for :Npm
not required, simplify.
When opening Vim, e.g.
vim .vimrc
Vim opens with NERDTree and .vimrc
buffer that is inconvenient. Whenever file is passed in, buffer should be focused.
:Md5
shorthand should not exit Vim to display MD5 hash of the file in buffer.
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.