Giter Site home page Giter Site logo

bigvim's Introduction

bigvim

Requires NVIM v0.8.0

image

Install

git clone https://github.com/ruanyl/bigvim.git ~/.vim
mkdir -p ~/.config/nvim
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/init.vim ~/.config/nvim/init.vim

# Install vim-plug
curl -fLo $HOME/.vim/autoload/plug.vim --create-dirs \
        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

# Open nvim and install plugins
:PlugInstall

Install ripgrep

brew install ripgrep

Find files <C-p>

image

Find buffers ,b

image

Find recent files ,m

image

File explorer ,e

image

bigvim's People

Contributors

juliosueiras avatar ruanyl avatar spacewander avatar yuaoi 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

bigvim's Issues

tab缩进的修改

又来提一个issues...

autocmd FileType python set tabstop=4 shiftwidth=4 expandtab ai
autocmd FileType javascript,json,css,scss,html set tabstop=4 shiftwidth=4 expandtab ai

我想在html,scss,js里面将2个空格改成4个空格,遂在vimrc找到以下的选项,更改之后发现仍然是2个空格的缩进。source ~/.vimrc会报错。

但是我改上面的python的设置,改成2个空格,却有效,把所有的vimrc都看了一遍,实在不知道如何修改。

将主题设为 desert 后报错

将主题设为 desert 后报错

Error detected while processing function <SNR>39_set_highlight_colors[37]..<SNR>39_add_to_highlight_group:
line    1:
E417: missing argument: ctermbg=
Error detected while processing function <SNR>39_set_highlight_colors[38]..<SNR>39_add_to_highlight_group:
line    1:
E417: missing argument: ctermbg=
Press ENTER or type command to continue

diff mode config

nnoremap dp :diffput
nnoremap dg :diffget

if has('macunix')
" pbcopy for OSX copy/paste
vnoremap :!pbcopy
vnoremap :w !pbcopy
endif

hi! link SignColumn LineNr
hi! link ShowMarksHLl DiffAdd
hi! link ShowMarksHLu DiffChange

这三块分别都有什么作用哇?

errors occured when using it in ubuntu 16.04

$vi
line 24: E185: Cannot find color scheme 'molokai'

$vi .bigvim/vimrc.bundles
".bigvim/vimrc.bundles" 383L, 14505C
E117: Unknown function: fugitive#statusline
Press ENTER or type command to continue
E15: Invalid expression: fugitive#statusline()

`/`搜索之后报错

/搜索回车后会报错误, 按enter 继续后, 以后任何操作都还是会一直报这个错误:

系统ubuntu 16.04

E117: Unknown function: execute
E15: Invalid expression: execute('nohlsearch')[-1]
Press ENTER or type command to continue

YouCompleteMe有办法配置语义补全么

类似于sublime这种,比如我在注释里写了一个单词,当我在其他地方打这个单词的前几个字母的时候会语义提示这个单词。目前我配置好的只是对一些语言的内置方法进行补全。

为什么安装完后,vi 打开文件就报错了

E518: Unknown option: foldenable
line   63:
E518: Unknown option: foldmethod=indent
line   64:
E518: Unknown option: foldlevel=99
line  107:
E319: Sorry, the command is not available in this version: let &colorcolumn="120"
line  109:
E319: Sorry, the command is not available in this version: autocmd InsertEnter * :set norelativenumber " no relativenumber in insert mode
line  110:
E319: Sorry, the command is not available in this version: autocmd InsertLeave * :set relativenumber   " show relativenumber when leave insert 
mode
line  135:
E319: Sorry, the command is not available in this version: au InsertLeave * set nopaste
line  138:
E319: Sorry, the command is not available in this version: autocmd InsertLeave * if pumvisible() == 0|pclose|endif
line  144:
E319: Sorry, the command is not available in this version: autocmd FileType python set tabstop=4 shiftwidth=4 expandtab ai
line  145:
E319: Sorry, the command is not available in this version: autocmd FileType javascript,json,css,scss,html set tabstop=2 shiftwidth=2 expandtab 
ai
line  147:
``

遇到一些问题,望相助

@ruanyl @wklken @juliosueiras @spacewander @YuAoi
// 1. clone 该仓库到任意目录
git clone https://github.com/ruanyl/bigvim.git /path/to/bigvim ------ 完成👌

// 2. 创建相关软链
ln -s /path/to/bigvim/vimrc ~/.vimrc ------ 完成👌
ln -s /path/to/bigvim ~/.vim ------ 完成👌

// 3. 安装Vim-Plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim ------ 完成👌

// 4. 运行vim,然后安装vim插件 --------- 失败😭
:PlugInstall

问题暴露:
问题1: 已解决 出错原因:由于/path/to/bigvim/vimrc路径粗心写错导致
image

问题2:
image

安装流程:
image

系统环境:
image

配置文件(由于时间问题该上传文件存在错误1,故如果使用请重新设置软链接~)
trouble-shooting.zip

eslint --fix的问题

我装了eslint,经过配置,可以进行语法检查,但是每次修复都需要在vim中执行eslint --fix 的shell命令,这很不方便,求问,能不能再vimrc中设置shell命令,映射到一个快捷键上,或者保存即fix。

[Error][E216] No such group or event: Terminal Open

After installing and following the instruction, I got this error when opening the neovim.

image

The issue also happens with nvim 0.8.0

vi --version
NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by [email protected]

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.8.3/share/nvim"

Run :checkhealth for more info

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.