Giter Site home page Giter Site logo

oh-my-vim's People

Contributors

defektive avatar eraden avatar lanjiann avatar liangxianzhe avatar miporto 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

oh-my-vim's Issues

Add nocompatible in .vimrc

In Linux, loading vimrc will show error msgs like

E10: \ should be followed by /, ? or &
line    8:
E10: \ should be followed by /, ? or &
line    9:
E10: \ should be followed by /, ? or &
line   10:
E10: \ should be followed by /, ? or &
line   11:
E10: \ should be followed by /, ? or &
line   12:
E10: \ should be followed by /, ? or &
line   13:
E10: \ should be followed by /, ? or &
line   14:
E10: \ should be followed by /, ? or &
line   15:
E10: \ should be followed by /, ? or &
line   16:
E10: \ should be followed by /, ? or &
line   17:
E10: \ should be followed by /, ? or &
line   18:
E10: \ should be followed by /, ? or &
line   19:
E10: \ should be followed by /, ? or &
line   20:
E10: \ should be followed by /, ? or &
line   21:
E10: \ should be followed by /, ? or &
line   22:
E10: \ should be followed by /, ? or &
line   23:
E10: \ should be followed by /, ? or &
line   24:
E10: \ should be followed by /, ? or &
line   25:
E10: \ should be followed by /, ? or &
line   26:
E10: \ should be followed by /, ? or &

It turns out that in vimrc file need to have set nocompatible.

How to fold javascript functions?

How do I fold functions (I am looking at a javascript file)?
space+e command has "toggle fold" but when I execute it, I get

/private/var/folders/zt/fghg3whn1px0_ndpww30wtsw0000gn/T/vW4uVzQ/126, line 1                                         
Vim(normal):E490: No fold found                                                                                      
Error occurred while executing "execute" action!                                                                     
Press ENTER or type command to continue

Am new to vim! but love that I am able to learn vim faster with your plugin setup. Thank you for writing this! Your docs are awesome.

Remarks about the doc (Dependencies and stuff)

Hello,

First of all, thank you for this amazing plugin. Just to say I'm on ChakraOS and I've gone throught the installation without too many problems (and I'm not an adminsys).

But maybe you could just add a small section talking about dependencies, just to write down the brew install line in the install script. Maybe just to say why the plugin needs them ? Actually I still have things that doesn't work yet but I'll fix them when I have time.

I've found almost all de packages on my distrib so maybe one day all send you a debian / ubuntu script because if it is possible on Arch it should be on Debian =)

Finally, I'm completely new to your plugin but in the readme, can you emphasize the usefull command in Unite. I've had a hard time finding how to tell NeoBundle how to install the plugin i've searched.

Well these are all remarks that I think, could enhance your documentation.

Keep on the good work !

How to turn off the odd line numbering

I notice that when I used the arrow keys or j k to move up and down the text file the line numbering seems to change in reverse order making the currently focused line as the last line number and everything above the current line have numbering in reverse order. How can I turn this off? Thanks!

Suggestion of mappings?

Thanks for your plugin and works.

I've had a try and think It have big potential~~(but still lots work to do~~)

I think there should be a better way of modifing the mappings, like put them in a single file? (Also UI:font,theme,etc.)

Course I have lots of mappings defined in my vimrc, But I don't know whether they are conflict or what they are.

Override Default Line Numbering

I want to change the default line numbering mode to absolute, how to add that to my config?

Also how to remove the none mode from being switched to using the Leader key + l?

[Pymode]: error: invalid load key, 'A'.

[Pymode] Regenerate Rope cache ...
[Pymode]: error: invalid load key, 'A'.
Press ENTER or type command to continue

Hi ,Thanks for your oh-my-vim, I like it although i don't know it 100percent.
But now when i :w every time, there is an error, it is annoying....

Can you teach me how to fix it ~
Thanks a million

if you are a Chinese , you can teach me in Chinese
Thanks a million~

.oh-my-vim/tools/check_for_upgrade.sh: Syntax error: "(" unexpected

Hello,
After i have completed to install oh-my-vim i got .oh-my-vim/tools/check_for_upgrade.sh: Syntax error: "(" unexpected when i use vim command . I try to change #!/bin/sh to #!/bin/bash or #!/usr/bin/zsh
still not work .. Please help !! Thank for advanced.. :)

Wiki missing

Hi,

I love what you have done with the whole configuration and I'm big fan of it. Please could you write detailed instruction how to add new plugins using neobundle and your configuration. I have marked that as an issue because there are a lot packages that could be installed and the whole process is complicated. I think I will drop using it if that part won't be covered.

Krystian

Error when using space+u

Hi,
when trying to go to options with space+u I get this:

Error detected while processing FileType Auto commands for "*"

When trying to go to "coding" i get this error after:

Vim(call):E117: Unknown function: UltiSnips#FileTypeChanged

How can I get rid of ?
Thanks

About the color of characters under colored cursorline

This is a part of my .after.vimrc:

" I perfer no color 'ctermfg' and 'guifg,' so I set them values to 'NONE'. This
" means the characters under the cursorline won't be forced to certain color.
" It looks like the colored cursorline is transparent to the syntax highlighted
" characters under it, though the cursorline still keeps its highlight setting
" in the loaded color scheme. I also use InsertEnter and InsertLeave to set 
" cursorline in different colors when in INSERT mode or out of INSERT mode.

function! s:ReadCursorLineInfo() "{{{
    highlight CursorLine ctermfg=NONE guifg=NONE
    redir => g:cursorl_hi
    silent exe "hi cursorline"
    redir END

    let g:cursorl_hi = 'highlight' . ' ' . substitute(g:cursorl_hi, '\V\(\n\|\s\*xxx\)', '', 'g')

    if g:cursorl_hi ==? '\V\[\s\n\]\*'
        let g:cursorl_hi = 'highlight CursorLine cterm=NONE ctermbg=235 guibg=White'
    endif
endfunction "}}}

call s:ReadCursorLineInfo()

augroup cursorline
    autocmd!
    autocmd ColorScheme * call s:ReadCursorLineInfo()
    autocmd WinLeave * setlocal nocursorline
    autocmd VimEnter,WinEnter,BufWinEnter * setlocal cursorline
    autocmd InsertEnter * highlight CursorLine term=underline cterm=NONE ctermbg=16  guibg=LightGray
    autocmd InsertLeave * execute g:cursorl_hi
augroup END

Without this setting, cursorline is green if we use molokai256, and characters under cursorline is white (the color of ctermfg setting), which is not the colors when there is no highlighted cursorline.

This snippets isn't general. I mean, when you change the color scheme, the color of cursorline in insert mode may not be proper.

I post it here, and I hope it can be a reference.

行号显示为什么很奇怪

_
default
灰色的行号这种我完全不需要。只是希望简简单单的vim可以用 set u 可以显示该文件的所有行号。
该如何修改配置呢?谢谢

Linux installation

From the readme:

For Linux, you will need to figure out what the above script does, and install them according (apt-get etc). Please note a vim with lua support is needed.

to satisfy the requirements, in Debian, I've gotten these to match up:

apt-get install ctags tig ranger lua5.2 luajit python-pip vim vim-nox
pip install pylint virtualenvwrapper coverage

But cannot find any packages that provide ag and ack - any clues to these? Has anyone else gotten this installed/running in Debian or Ubuntu? Thanks

DeprecationWarning: the imp module is deprecated in favour of importlib

[unite.vim] function pymode#breakpoint#init, 27. satır
[unite.vim] Vim(python3):vim.error: Vim:<string>:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
[unite.vim] Error occurred while executing "open" action!

How to draw spaces with • symbol in grey?

hi! thanks for writing this, this made me finally switch to vim after so many tries and it has most features I use in Sublime Text editor by default. I am unable to see whitespaces that may have creeped up while I write code. How do I draw spaces in all files with • except in grey? (just like Sublime Text)

Is this possible?
Thanks.

Errors from neobundle at launch

Few days ago, I had the same problem as #13 . After a new update the errors were different.

[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.
[neobundle] `NeoBundle` commands must be executed within a neobundle#begin/end block.  Please check your usage.

I'm not familiar with vim plugins and I can't locate the problem.

nerdtree

Hi ! whats the simplest way to get nerdtree into this great config?

disabling vertical column that indicates wrapping threshold

How to disable this vertical line in editor?
I guess its a word wrap gutter cause whenever i'm writing it always break upon hitting that line.

edit:
I tried setting :set nowrap so i guess its not related to word wrap at all.
its so annoying as you can see it negates the code syntax-highlighting it covers.. btw what was that line for?

screenshot from 2017-11-27 14-36-25

Shougo updated ```neobundle``` and a lot of ERRORS show up

Do you have any idea about how to get rid of these ERRORS?

[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
Error detected while processing /Users/lanjiann/.oh-my-vim/packages/basic.vimrc:
line  151:
E185: Cannot find color scheme 'molokai256'
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
Error detected while processing function neobundle#parser#lazy..<SNR>8_parse_arg..neobundle#parser#_init_bundle..neobundle#init#_bundle..<SNR>5_init_depends:
line   11:
E18: Unexpected characters in :let
line   12:
E18: Unexpected characters in :let
line   13:
E18: Unexpected characters in :let
Error detected while processing function neobundle#parser#lazy:
line   11:
E18: Unexpected characters in :let
line   12:
E18: Unexpected characters in :let
Error detected while processing function neobundle#parser#lazy..neobundle#config#add..<SNR>6_add_depends:
line    3:
E121: Undefined variable: name
E116: Invalid arguments for function has_key(s:neobundles, depend.name)
E15: Invalid expression: !has_key(s:neobundles, depend.name)
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.
[neobundle] :NeoBundle commands usage is invalid.

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.