Code Monkey home page Code Monkey logo

lin.vim's Introduction

🌐 Socials:

Discord Reddit

💻 Tech Stack:

C C++ Java JavaScript TypeScript Shell Script Python Rust Apache Hive React Spring Vue.js MySQL MongoDB SQLite

📊 GitHub Stats:



🏆 GitHub Trophies

🔝 Top Contributed Repo


lin.vim's People

Contributors

kumailf avatar linrongbin16 avatar lokiiart avatar rlinflexport 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

lin.vim's Issues

clangd is not found

When try it on fedora35 workstation, got error for clangd not found, and failed to auto format when save file.
Found it need install clang-extra-tools.
建议在install/fedora.sh里面添加安装语句.

请教个问题

zhihu上拜读了你的文章,来学习一下你的配置 :)
现在有个小问题想请教:
win7系统上总是不显示nerd字体图标,我用的字体和你相同,是nerd-hack字体,不知你是怎么解决的?在arch上相同配置可以正常显示。 主要是那个nerdtree上的文件类型图标。

Should lin.vim move to neovim-only, drop support for vim?

Vim 9 is released, but I don't feel like I want to use it. Actually in latest 2 years, I'm just using neovim with neovide, no more vim. Neovim 0.6+ has much better performance, and there're many new lua plugins that has cool feature and good performance.

So I want to ask you, should lin.vim move to neovim-only, drop support for vim?

nerdtree自动关闭和自动退出focus

Hi,

nerdtree的设置可以改善一下?

  1. 只剩一个NERDTree Tab时自动退出
  2. 打开一个文件,显示NERDTree之后,focus要回到文件

user_setting里有一些设置,不过没有达到上面的效果,参照NERDTree github上的指示,可以使用下面两个设置
" Close the tab if NERDTree is the only window remaining in it.
autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
" Start NERDTree. If a file is specified, move the cursor to its window.
autocmd VimEnter * NERDTree | if argc() > 0 || exists("s:std_in") | wincmd p | endif

不过也不确定跟已经有的设置是否有冲突,放在后面是达到预期效果了.

Best wishes,

[Question] Can we install only for vim or neovim?

Thanks for this distribution.

For me, I want to use Neovim with my own configuration. And use lin.vim in Vim. I want to know whether the installation support one of Neovim and Vim, instead both of them.

markdown preview

Hi

I am new to lin vim , just want to give it a quick try , i press FN + 8 and expect to see some markdown preview panel , but it doesn't work for me , I am using MacBook Pro.

Can you pls take a look?

E484: 无法打开文件 /Users/xiaowangzi/.vim/vim-plug.vim

你好,谢谢你的分享,我在安装时遇到了以下的问题,我不知道该怎么解决,希望你能够为我解答一下。第一次提issues,不知道需要展示一些什么信息,以下是你可能需要的信息:
截屏2021-11-12 下午6 37 46

截屏2021-11-12 下午6 33 32

两个关于fzf搜索的问题

有两个比较高频的fzf搜索场景没找到用法,请教一下:

  1. 自动打开上一次搜索结果。有时搜索结果出来,处理了一个搜索项,想处理下一个时,得从头输入关键字重新搜索一遍。 LeaderF插件有个recall previous result,比较方便。

  2. 对光标所在的字符串进行搜索。这个也比较高频,现在每次得手打一遍。

感谢答疑。

Error while using nvim on windows

Error

Every time i open nvim,there exists a couple of similar errors:

Error detected while processing C:\Users<MyUserName>/.vim/setting/nvim-lualine/lualine.nvim.vim:
E5108: Error executing lua vim/_init_packages.lua:24: cannot open C:\Users<MyUserName>.vim\plugged\lualine.nvim/lua/lualine.lua: No such file or directory
stack traceback:
[C]: in function 'error'
vim/_init_packages.lua:24: in function <vim/_init_packages.lua:18>
[C]: in function 'require'
[string ":lua"]:44: in main chunk

Not only can't this plugin load,other plugins only available at Neovim 0.7.0 also shows the same error
i don't need to show every error,they are exactly the same except plugin name

My try

I've tried to reinstall everything correlated,but the error remains the same.
I've also tried to check the encoding.It didn't help.
Note:every file path is correct and can be open in any terminal
I don't know why it can't be find in lua.Maybe it's caused by permissions,but i don't know how to fix it.

Tips

I've tried it on linux.Everything is ok.
So it is about windows and lua.

不能设置en_US.UTF-8,报错

Error detected while processing /root/.vim/setting/lin-vim-standalone.vim:
line 37:
E197: Cannot set language to "en_US.UTF-8"

Install and execute errors on macos

Hello,我使用./install.sh安装lin.vim时出现了这个错误

Error detected while processing /Users/bytedance/.vimrc[147]../Users/bytedance/.vim/settings.vim:
line 58:
E484: Can't open file /opt/homebrew/Cellar/macvim/9.0.1897/MacVim.app/Contents/Resources/vim/runtime/macmap.vim

我没有管这个报错,但是在后续使用 vim 时出现了一些问题,我不确定是不是安装没有执行完成的问题:
通过space + gc查看git commits, 选中某个特定的commit后回车后报错:
Snipaste_2024-01-27_01-17-24
期待作者的解答

NERDTree图标显示不出来,但字体已安装(ubuntu18,vim8.2)

图标显示不出来(显示成了小方块之类的乱码),希望给点debug思路!
字体已安装的查询信息如下:

> fc-list | grep "Hack"
/root/.local/share/fonts/Hack Regular Nerd Font Complete Mono Windows Compatible.ttf: Hack NF:style=Regular
/root/.local/share/fonts/Hack Bold Italic Nerd Font Complete Windows Compatible.ttf: Hack NF:style=Bold Italic
/root/.local/share/fonts/Hack Regular Nerd Font Complete.ttf: Hack Nerd Font:style=Regular
/root/.local/share/fonts/Hack Bold Nerd Font Complete.ttf: Hack Nerd Font:style=Bold
/root/.local/share/fonts/Hack Bold Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Bold Italic
/root/.local/share/fonts/Hack Italic Nerd Font Complete Mono.ttf: Hack Nerd Font Mono:style=Italic
/root/.local/share/fonts/Hack Regular Nerd Font Complete Windows Compatible.ttf: Hack NF:style=Regular
/root/.local/share/fonts/Hack Bold Nerd Font Complete Mono Windows Compatible.ttf: Hack NF:style=Bold
/root/.local/share/fonts/Hack Italic Nerd Font Complete Windows Compatible.ttf: Hack NF:style=Italic
/root/.local/share/fonts/Hack Bold Nerd Font Complete Mono.ttf: Hack Nerd Font Mono:style=Bold
/root/.local/share/fonts/Hack Italic Nerd Font Complete Mono Windows Compatible.ttf: Hack NF:style=Italic
/root/.local/share/fonts/Hack Bold Italic Nerd Font Complete Mono.ttf: Hack Nerd Font Mono:style=Bold Italic
/root/.local/share/fonts/Hack Bold Nerd Font Complete Windows Compatible.ttf: Hack NF:style=Bold
/root/.local/share/fonts/Hack Bold Italic Nerd Font Complete Mono Windows Compatible.ttf: Hack NF:style=Bold Italic
/root/.local/share/fonts/Hack Regular Nerd Font Complete Mono.ttf: Hack Nerd Font Mono:style=Regular
/root/.local/share/fonts/Hack Italic Nerd Font Complete.ttf: Hack Nerd Font:style=Italic

Unknown function: ShowDocumentation

更新最新的版本后,shift+K,报告错误: Unknown function: ShowDocumentation。临时按以下修改后能正常工作。

“nnoremap K :call ShowDocumentation()
nnoremap K :call CocActionAsync('doHover')

Error detected while processing CursorHold Auto commands for "*"

您好,我按照GitHub上的命令直接安装了lin.vim,但是当我打开任意一个文件夹时,得到了如标题的错误

Error detected while processing CursorHold Auto commands for "*"
E117: Unknown function: CocActionAsync

我ubuntu的版本是16.04,vim的版本是7.4,这个机器以前没有安装过vim相关的配置,应该不存在干扰相关的问题。
请问如何解决该错误呢?

这个插件会在zshrc中source一个新的配置文件,但是我本来有用zsh,这个配置文件和我现有的有冲突,所以我删除了在zshrc文件中添加的“souce ~/.linvimrc”。不知道能否在默认安装的时候,选择是否修改zsh文件呢?

如何关闭自动format?

在保存文件的时候会自动的format代码格式,
不过用于已经存在的项目上的时候,一些固定格式被改掉了,就显得很奇怪,所以想请教下这个设置怎么改。

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.