ain / .vim Goto Github PK
View Code? Open in Web Editor NEWMy living Vim stack on macOS
My living Vim stack on macOS
tnotify
is unreliable, update complets at Update complete! message and hangs without exiting.
Update fails to check out newly added plugins that have been added to repository from elsewhere.
As opposed to update, rollback is also needed so it'd be possible to undo updates to plugins with regressions or obvious bugs.
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.
CtrlP should ignore Git or other version control data for buffer search.
Following helper commands are conflicting with vim-fugitive
commands:
Gfetch
Gpull
Gpush
Implement simplistic tests to identify obvious failures.
Implement Bower cache clean, messaging to Breset
shorthand.
./update
fails to update plugins, stays behind:
# Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.
:Gbranchd
autocomplete based on local branches.
Improve syntax checking of HTML5 by using tidy.
Detect if YCM has changed and needs to be recompiled since last update.
:Gpr
needs argument validation.
:Gprr <id>
shorthand for reloading the Pull Request.
:Tabularize \|
that used to work, is no more functional throwing:
Tabularize: Unrecognized command '\|'
Allow wildcard in :Gbranchd
for cleanup, i.e. to delete all fix branches with fix/*
.
Re-enable JSCS as by ain/.dotfiles#30.
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>...]'
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
.
Function for :Bower
not required, simplify.
Separate utility commands into vim-utils (or similar) to encapsulate utility commands out of the .vimrc
scope.
:Gpr
as:
Shorthand for git checkout head -- <file in buffer>
so the file does not need saving and thus does not update (in comparison to :Gread
)
:Md5
shorthand should not exit Vim to display MD5 hash of the file in buffer.
:Gmsg
shorthand processes hashes, e.g. Resolve #3 add new layout
becomes Resolve NERD_tree_1 add new layout
.
Relates to #9.
Wrap :Gmsg
to something that brings up the commit message editing window.
:Gpr
needs to be able to switch remotes, e.g. :Gpr upstream 80
for PR no. 80 on original repo.
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.
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.
:Gbranchd
branch evaluation to fail early.
https://gist.github.com/ericelliott/2271bd12736585175c85
Current solution deletes just one branch: https://github.com/ain/.vim/blob/master/.vimrc#L103-L109
Since :Gbranches
is often too lengthy, scrolling is necessary.
Extract update to separate vim-update
Pathogen bundle.
Insert timestamp at cursor position whenever processing :Tstamp
:Gpr
remote needs to default to upstream or, if not matched, to origin.
:Thor
.
Function for :Npm
not required, simplify.
Needs to shift to a fork that is still maintained [email protected]:ctrlpvim/ctrlp.vim.git
Shorthand for fetch Pull Requests as inspired by https://help.github.com/articles/checking-out-pull-requests-locally/
Allow autocomplete for :Gcof
alias to allow fetching of local branches.
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.
Function for :Composer
not required, simplify.
Gurl
should run similarly to :Rvm use <version>
from within Vim without a need to hit return to get back to Vim.
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
:Gpush
shouldn't push all branches, but just the current one.
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.