How do I enable automatic folding in Vim?  set foldmethod=syntax doesn't seem to do much of anything....
Is VIM able to detect multiple languages on same file? Sometimes I am prototyping and I dump HTML/CSS/JS/PHP on the same page and to use the right language I must run : setf xlangx....
I'm developing on top of OpenLayers.js. My project folder is structured as follows:  project /     |-- OpenLayers.js     |-- map.html     |-- map.js     \-- etc   As you can argue, when I start a new map project, I espect suggestions from Vim on...
I'm trying to get a command I can run within vim to get jscs auto correct formatting issues in my code. So far I've come up with :  :nmap <F5> :!jscs -x .<CR>   which is ok, but it runs it on the entire directory and I need to con...
I'm trying to write a git post-commit file in node.js and I'm having trouble.  The file seems to have to be named post-commit in the .git/hooks directory. Since that file can't have an extension, my vim editor won't persistently give...
I would like to extend my JS syntax highlighting with highlight certain functions that will be commonly used in my program. I am using janus to keep all my plugins in order. Right now I have a file in there called vim-chino and then in there I have a...
I'm new to JS & Vim. Which plugins would help me to write Javascript code?...
I'm looking for variants of Vi implemented in Javascript.  Unfortunately, I've been getting all types of results of configuring Vim for writing JavaScript code.  The only helpful result I've found is JSVI.  Question: are there any other...
I'm using Vim with the syntastic plugin and eslint.  When I save a JavaScript file, I can see errors come up just fine, but I can't get the warnings to show.   Here's what I have in my .vimrc:     let g:syntastic_javascript_checkers = [&#...
I'd like to build an interface in Javascript where I collect key presses and send them to a remote vim instance and have the instance report back any changes. I'm quite confident I can implement all of the browser-server communication and jav...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.