Code Monkey home page Code Monkey logo

janus's People

Contributors

acrogenesis avatar adrianrego avatar benburkert avatar bergman avatar bmorearty avatar brunohenrique avatar guilleiguaran avatar hakanensari avatar idearat avatar jackdempsey avatar jarinudom avatar jayharris avatar kalbasit avatar kassens avatar lackac avatar mattvonvielen avatar msabramo avatar myronmarston avatar quantisan avatar rafmagana avatar richardkmichael avatar robertomiranda avatar spastorino avatar tmm1 avatar tpope avatar wagenet avatar wuputah avatar wycats avatar zeedunk avatar zerowidth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

janus's Issues

Use config file and pathogen instead of vim_plugin_task

I had an issue with vim-irblack and vim-coffee-script installing. Specifically, they didn't install. This is a little annoying for the vim-irblack (since it's in the default for janus).

It would be nice if janus were a little more flexible and used pathogen, and it's default bundle dir, as the default for installing vim plugins with the rake file reading from a config. Anything that would require extra configuration could still use the vim_plugin_task block syntax.

Slim bootstrap

I don't know you, but I hate to type too much in terminal :) I think the following lines are more elegant for bootstrap:

cd
ls -d .vim .vimrc .gvimrc | xargs -I% mv % %.old
git clone git://github.com/carlhuda/janus.git .vim
cd .vim
rake

Custom leader key

If I change the leader key in .vimrc.local, combos defined with leader in .vimrc still remain mapped to \.

It would be great to prompt optionally for a leader key in rake and then put that at the top of the .vimrc.

My ack doesn't search sass files

Hello,
my vim does't search sass files, I tried configuring Ack in ~/.ackrc with

--type-add=ruby=.haml,.rake,.rsel,.builder
--type-add=html=.html.erb,.html.haml
--type-add=js=.js.erb
--type-add=css=.sass,.less,.scss
--type-set=cucumber=.feature
--ignore-dir=vendor
--ignore-dir=log
--ignore-dir=tmp
--ignore-dir=doc
--ignore-dir=coverage
--sort-files
--color
--follow
--group

but it didnt work...

Auto bracket closing feature

Hi, I am running into a bug with the automatic insertion of closing quotes, parenthesis, and braces. Vim won't let me insert a bracket where I need to. It actually deletes it as soon as I type it.

I would like to turn this functionality off, but I can't find where you have enabled it. I've looked through .gvimrc and .vimrc. Can you please point me in the right direction?

Thanks

Should the rake task delete directories inside ~/.vim before installation?

I just installed MacVim and janus on a friends' Mac. I noticed that nerdtree looked different and that autoclose was gone in comparison with my install (maybe there is even more). I needed to delete some directories to get the new nerdtree. I would definitely not have noticed the differences otherwise.

Should the rake task delete stuff before it trying to install new versions or should I approach this differently?

ConqueTerm overrides NERDTree's buffer

When NERDTRee's buffer is in focus, launching ConqueTerm (with ) will override it.
I think it should behave like :e in NERDTree and open ConqueTerm in the main buffer.

command-t javascripts/stylesheets folder (rails)

I can't find files using command-t inside "javascripts" and "stylesheets" folder (rails 2.x project). I tried to prepend some characters to these folders and cmd-t works fine.

These folders have something special that I don't understand or it's just a bug?

ZoomWinPlugin error

When I start vim:

Error detected while processing /Users/mike/.vim/plugin/ZoomWinPlugin.vim:
line 1:
E492: Not an editor command: ["" ZoomWin:\tBrief-like ability to zoom into/out-of a window\n", "" Author:\tCharles Campbell\n", ""\t\t\toriginal version by Ron Aaron\n", "" Date:\t\tJan 16, 2009\n", "" Version:\t23e\tASTRO-ONLY\n", "" History: see :help zoomwin-history {{{1\n", "" GetLatestVimScripts: 508 1 :AutoInstall: ZoomWin.vim\n", "\n", "" ---------------------------------------------------------------------\n", "" Load Once: {{{1\n", "if &cp || exists("g:loaded_ZoomWinPlugin")\n", " finish\n", "endif\n", "if v:version < 702\n", " echohl WarningMsg\n", " echo "_warning_ this version of ZoomWin needs vim 7.2"\n", " echohl Normal\n", " finish\n", "endif\n", "let s:keepcpo = &cpo\n", "let g:loaded_ZoomWinPlugin = "v23"\n", "set cpo&vim\n", ""DechoTabOn\n", "\n", "" ---------------------------------------------------------------------\n", "" Public Interface: {{{1\n", "if !hasmapto("ZoomWin")\n", " nmap o ZoomWin\n", "endif\n", "nnoremap <sile

My version:

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 15 2010 22:03:01)
MacOS X (unix) version

Exit status of rvm is 0 not 1

This may not have been the case when the Rakefile was initially created, but it seems to be now. At least on my Mac and my Ubuntu machine at work. I'd give a pull request, but I fixed it with a couple of other things.

Here's the relevant commit though:

mlins@4d80a53

command-t losing spec folder?

I realize this is more of a command-t issue perhaps, but have any janus users noticed that after awhile, command-t stops searching things in the spec folder? sometimes recompiling the plugin helped for awhile, but not it just seems to hate that folder. Anybody know of any workarounds?

Install Error.

Installed MacVim and ran the install script for janus (curl https://github.com/carlhuda/janus/raw/master/bootstrap.sh -o - | sh)

I get this error:

  ****************************************
  *         Installing command_t         *
  ****************************************

  git clone git://github.com/wincent/Command-T.git /Users/rafaelvega/.vim/tmp/command_t
  Cloning into /Users/rafaelvega/.vim/tmp/command_t...
  remote: Counting objects: 1854, done.
  remote: Compressing objects: 100% (767/767), done.
  remote: Total 1854 (delta 995), reused 1769 (delta 932)
  Receiving objects: 100% (1854/1854), 303.19 KiB | 380 KiB/s, done.
  Resolving deltas: 100% (995/995), done.
  git pull
  Already up-to-date.
  cp -rf doc/* /Users/rafaelvega/.vim/doc/
  cp -rf plugin/* /Users/rafaelvega/.vim/plugin/
  cp -rf ruby/* /Users/rafaelvega/.vim/ruby/
  find ruby -name '.gitignore' | xargs rm
  rvm system ruby extconf.rb
  ruby: No such file or directory -- extconf.rb  (LoadError)
  rake aborted!
  Command failed with status (1): [rvm system ruby extconf.rb...]
  /Users/rafaelvega/.vim/Rakefile:155
  (See full trace by running task with --trace)

Now, the file is clearly there:

  rvlaptop ~: find .vim -name extconf.rb
  .vim/ruby/command-t/extconf.rb
  .vim/tmp/command_t/ruby/command-t/extconf.rb

Looks like the Dir.chdir "ruby/command-t" line in the Rakefile is not being executed? I'm using RVM and I have xcode and the unix devel tools installed on my machine.

Any troubleshooting tips?

Thanks for putting all this stuff together, hopefully the switch to vim won't bee too painful :)

Quote completion generates errors

I often get errors when typing '. I would prefer it just didn't complete the quotes than raise an error

Error detected while processing function 21_CheckPair..21_CountQuotes..21_RemoveQuotes:
line 25:
E684: list index out of range: 70

installation

i guess the first step of installation should be:

git clone http://github.com/carlhuda/janus.git ~/.vimrc

Filenames are not escaped in vimrc/gvimrc

Execute and shell commands don't have their arguments escaped in gvimrc / vimrc.

To reproduce this just create a directory with a "blank" in the name, like "test directory".
When you cd into that directory and execute "mvim ." an error within "CdIfDirectory" will be shown.

There seem to be several locations where file or directory names are used unescaped. These arguments should be escaped with "fnameescape" or "shellescape" depending on context.

Left, right scrollbars

Was wondering if you have any use for the left and right scrollbars in mvim or would rather do the following in gvimrc:

" Remove left and right scrollbars
set guioptions-=L
set guioptions-=r

:bd should merely close the current buffer, not close MacVim entirely.

Say I'm working with 5 files, so 5 buffers. All files' changes have been saved. I don't want the file I'm looking at to show up any more when I do :bn (buffer next), so I do a :bd (buffer delete I suppose), expecting to end up with 4 buffers, but instead MacVim closes up completely.
Thanks for janus, by the way. It's been a great learning tool so far.

vimball files (.vba) fail to install on some systems

Running the standard installation instructions fails on my mac machine, particularly when the main installation task attempts to install ZoomWin. There should be some sort of check to prevent installation of OS-specific plugins on systems they are not intended for.

usage of RVM

at line 99 of the Rakefile, should we assume that everyone has installed RVM?

Installation error when the process gets to command_t

I've recently installed MacVim and wanted to get the goodies from Janus. I followed the install instructions in the readme file here on Github but I'm getting an error when the process gets to the point of installation command_t.

Here's what I'm seeing:


  •     Installing command_t         *
    

Initialized empty Git repository in /Users/aaron/.vim/tmp/command_t/.git/
remote: Counting objects: 1815, done.
remote: Compressing objects: 100% (989/989), done.
remote: Total 1815 (delta 969), reused 1305 (delta 674)
Receiving objects: 100% (1815/1815), 285.91 KiB | 146 KiB/s, done.
Resolving deltas: 100% (969/969), done.
Already up-to-date.
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
rake aborted!
Command failed with status (1): [/usr/bin/ruby extconf.rb...]
/Users/aaron/.vim/rakefile:154
(See full trace by running task with --trace)

I read that the missing Ruby header files are typically due to not having Xcode installed. So I installed Xcode (Essentials and System tools only) but I'm still getting the error. The path to ruby.h exists, but the ruby.h file itself is not there.

ruby -v reports:
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

Any ideas on things I can try to get Janus installed?

option to remove "" #{} [] behaviour

as it is "fucking with my shit"(cc).

:D

for better or for worse - i frequently need to add a single ) or } or ] and when i write code like

return /^!last\s(\d{1,3})(?:\s/(.+)/)?$/

the breaks completely.

Undo/Redo no longer work correctly

Previously I've been using my own homegrown set of vim files but decided to start using janus to get the benefits of a community-driven setup. Overall janus has worked very well for me but there's one major annoyance: undo and redo no longer work correctly. They work correctly when as long as I stay in the same buffer but not when I change buffers. When I change to a buffer, its as if there is no undo history; undo and redo do nothing, even if I had previously made changes to that buffer in the same editing session.

I'm pretty new to vim and am not sure where to start looking to troubleshoot this. Anyone have any ideas how janus could be messing this up?

vim script for linux ubuntu?

Hi!
I love this script! Is it anyhow possible to get this running under linux (ubuntu) as well? Or do you know any other script which does this?

Is there a way to redefine your snippets?

Hi,

Is there a way to redefine the snippets that are pulled automatically? I like to write my own snippets and would like to redefine yours, but I don't want to mess with the .vim directory as it is your repository, and my work might get lost when new changes are pulled.

Thanks, Ollie.

wrong ruby when running rake

I was having a hard time getting Janus and MacVim working when I realized that I had my rvm ruby in my path when I ran rake. After launching MacVim it would show only some menu items, and when I would click, it would do nothing.

Removing rvm from my path and moving /usr/local/bin to the end of my path (so I could have homebrew git, but not homebrew ruby) fixed it.

Ideas for preventing this from happening:

  • Add a make sure system ruby is in your path step to the installation instructions in the readme
  • Adding a Troubleshooting section to the readme with a note about making sure you're using the right ruby
  • Warn when the ruby doesn't match what the snapshot will use

how can I load a custom plugin?

And where should it live (I'm assuming not in my ~/.vim, which is a checkout of janus)? Do I just stick something in my ~/.vimrc.local? If so, what? Or are other changes required? Yehuda mentioned something about pathogen...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.