When you do :!command or :call system('command') Vim starts a new subshell according to the values of 'shell' and a bunch of other options listed under :help 'shell'. The 'shellcmdflag' option is important because it usually tells your shell how to start (interactive or not, login or not) which usually...
For all the pesimistic answers - there's a solution. A Vim plugin that takes care of the EXACT problem I've faced - a SmartTag plugin. https://github.com/MarcWeber/SmartTag However, it doesn't work out of the box since you need to patch vim so you could replace tagfunc (function that is responsible for...
This sounds like silent batch mode (:help -s-ex) could work for your use case. Else, you can't get around full automation (with some of the downsides that you describe). Silent Batch Mode For very simple text processing (i.e. using Vim like an enhanced 'sed' or 'awk', maybe just benefitting from...
You can check the actual effective value (after starting GVIM) via :verbose set tags? The option might have been overwritten by a later :set command, or a plugin. Even if you only use GVIM, it's recommended to put the general settings into ~/.vimrc (which is also sourced in GVIM), and...
ruby-on-rails,sublimetext,sublimetext3,ctags
/usr/local/bin may be in your shell's $PATH, but it is not getting picked up by Sublime. To fix this, edit ~/Library/Application Support/Sublime Text 3/Packages/User/CTags.sublime-settings and change the "command" setting to "/usr/local/bin/ctags_for_ruby". Also, unless you are using the system Ruby in /usr/bin, you might want to edit the first line of...
You can query any vim option value by appending a question mark after its name like so: :set tags? this works too :set tags If you want to list all the loaded tags: :tselect ...
def* would match things like defffffff. In a regex, the star does not mean match anything. It means match the previous pattern any number of times. In your case, the previous pattern is f. Try def[a-z]* to match def followed by any combination of lowercase letters.
osx,bash,path,osx-mavericks,ctags
You can't prevent the shell from caching the location of commands; this is generally done for performance reasons. However, you can force the shell to refresh this cache on demand. With bash, the hash command can be used to manipulate this command cache. Running: hash mycommand Will cause the shell...
It should be : nnoremap <C-q> <C-]> nnoremap <C-a> <C-t> However I would discourage these mappings because they would cause issues. <C-a> in vim is used to increment the number under the cursor by 1, <C-x> similarly is for decrementing a number under the cursor by 1. ...
The ctags tool only collects and stores the definitions of symbols. To find all references, you can use the cscope integration into Vim (:help cscope), but note that cscope supports far fewer programming languages than ctags. Alternatively, a poor man's substitute would be the built-in :grep / :vimgrep commands (with...
Unfortunately the development of Exuberant Ctags is stagnant. I would advise you to try the version available here. If the tag you're looking for is still not created please create an issue including the code where _alloc_traits is defined and a fixed update will very likely be quickly released. Note:...
Yes, that's indeed how the Taglist plugin works. You can try the alternative Tagbar - Display tags of the current file ordered by scope plugin. This separates the members of the individual classes, but only shows the tags of the current (single) file, not an accumulated list like Taglist.
Avoid the idea of "changing the working directory" or distinguishing between "working directory and project root", because almost no tool is prepared to properly handle those concepts. The only tools that do (e.g. git) are those that don't care about the current directory to begin with. Otherwise, it's madness to...
The issue was because $TERM in bash is xterm whereas inside tmux $TERM is screen. I updated my .vimrc to select the correct term. if &term == "screen" set t_ts=^[k set t_fs=^[\ endif if &term == "screen" || &term == "xterm" set title endif To get the escape sequence ^[...
With tern (your project has .tern-project) when you mouse over Router() you should see Origin that is click-able. read more https://github.com/angelozerr/tern.java/wiki/New-and-Noteworthy-0.7.0 Nodeclipse main code https://github.com/nodeclipse/nodeclipse-1/ Tern.java https://github.com/angelozerr/tern.java Raise issues, and be ready to collaborate....