Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hisasann/neovim
NVIM v0.10.0
https://github.com/hisasann/neovim
dotfiles fish lua neovim typescript vim vimrc
Last synced: 1 day ago
JSON representation
NVIM v0.10.0
- Host: GitHub
- URL: https://github.com/hisasann/neovim
- Owner: hisasann
- Created: 2019-11-27T17:28:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-22T10:54:19.000Z (3 months ago)
- Last Synced: 2024-12-13T17:48:40.918Z (14 days ago)
- Topics: dotfiles, fish, lua, neovim, typescript, vim, vimrc
- Language: Lua
- Homepage:
- Size: 9.76 MB
- Stars: 61
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![screenshot.png](assets%2Fscreenshot.png)
![screenshot2.png](assets%2Fscreenshot2.png)
![screenshot3.png](assets%2Fscreenshot3.png)
[How to my coding style using Neovim, tmux, iTerm2 with fish - YouTube](https://www.youtube.com/watch?v=gsc0Mw8y-cY)
# My neovim settings
## Plugins
- [wbthomason/packer.nvim: A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config](https://github.com/wbthomason/packer.nvim)
- [nvim-telescope/telescope.nvim: Find, Filter, Preview, Pick. All lua, all the time.](https://github.com/nvim-telescope/telescope.nvim)
- [nvim-telescope/telescope-file-browser.nvim: File Browser extension for telescope.nvim](https://github.com/nvim-telescope/telescope-file-browser.nvim)
- [nvim-lualine/lualine.nvim: A blazing fast and easy to configure neovim statusline plugin written in pure lua.](https://github.com/nvim-lualine/lualine.nvim)
- [L3MON4D3/LuaSnip: Snippet Engine for Neovim written in Lua.](https://github.com/L3MON4D3/LuaSnip)
- [windwp/nvim-autopairs: autopairs for neovim written by lua](https://github.com/windwp/nvim-autopairs)
- [onsails/lspkind.nvim: vscode-like pictograms for neovim lsp completion items](https://github.com/onsails/lspkind.nvim)
- [windwp/nvim-ts-autotag: Use treesitter to auto close and auto rename html tag](https://github.com/windwp/nvim-ts-autotag)
- [nvim-treesitter/nvim-treesitter: Nvim Treesitter configurations and abstraction layer](https://github.com/nvim-treesitter/nvim-treesitter)
- `brew install tree-sitter`
- If you get a tree-sitter error, run
- `brew update && brew upgrade tree-sitter`
- Execute `:TSUpdate` on neovim
- [akinsho/bufferline.nvim: A snazzy bufferline for Neovim](https://github.com/akinsho/bufferline.nvim)
- [neovim/nvim-lspconfig: Quickstart configs for Nvim LSP](https://github.com/neovim/nvim-lspconfig) - TypeScript
- [glepnir/lspsaga.nvim: neovim lsp plugin](https://github.com/glepnir/lspsaga.nvim)
- [williamboman/nvim-lsp-installer: Neovim plugin that allow you to seamlessly manage LSP servers with :LspInstall. With full Windows support! Further development has moved to https://github.com/williamboman/mason.nvim!](https://github.com/williamboman/nvim-lsp-installer)
- `npm install -g typescript typescript-language-server`
- [sumneko/lua-language-server: A language server that offers Lua language support - programmed in Lua](https://github.com/sumneko/lua-language-server)
- `brew install lua-language-server`
- [hrsh7th/nvim-cmp: A completion plugin for neovim coded in Lua.](https://github.com/hrsh7th/nvim-cmp) - IntelliSense
- [jose-elias-alvarez/null-ls.nvim: Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.](https://github.com/jose-elias-alvarez/null-ls.nvim) - formatter
- [MunifTanjim/prettier.nvim: Prettier plugin for Neovim's built-in LSP client.](https://github.com/MunifTanjim/prettier.nvim)
- [fsouza/prettierd: prettier, as a daemon, for ludicrous formatting speed.](https://github.com/fsouza/prettierd)
- `npm install -g @fsouza/prettierd`
- [JohnnyMorganz/StyLua: An opinionated Lua code formatter](https://github.com/JohnnyMorganz/StyLua)
- `cargo install stylua`
- Execute formatting `;a`
- [lukas-reineke/indent-blankline.nvim: Indent guides for Neovim](https://github.com/lukas-reineke/indent-blankline.nvim)
- [mrjones2014/nvim-ts-rainbow: Rainbow parentheses for neovim using tree-sitter.](https://github.com/mrjones2014/nvim-ts-rainbow)
- [folke/zen-mode.nvim: ๐ง Distraction-free coding for Neovim](https://github.com/folke/zen-mode.nvim)
- [rcarriga/nvim-notify: A fancy, configurable, notification manager for NeoVim](https://github.com/rcarriga/nvim-notify)
- require("notify")("My super important message")## Shell setup
### Dotfiles
[hisasann/dotfile](https://github.com/hisasann/dotfile)
- [fish shell](https://fishshell.com/)
- [jorgebucaran/fisher: A plugin manager for Fish.](https://github.com/jorgebucaran/fisher)
- [ryanoasis/nerd-fonts: Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more](https://github.com/ryanoasis/nerd-fonts)
- [jethrokuan/z: Pure-fish z directory jumping](https://github.com/jethrokuan/z)
- [exa ยท a modern replacement for ls](https://the.exa.website/) - Awesome ls command
- [jesseduffield/lazygit: simple terminal UI for git commands](https://github.com/jesseduffield/lazygit)
- [hisasann/ide](https://github.com/hisasann/ide) - tmux ใฎ็ป้ขๅๅฒใใๆใใซใใ shell# Neovim setup
## Install Neovim
```bash
$ brew install neovim
```## Already installed Neovim
If it is already included, uninstall it and then install it.
We start with `unlink`, but if you have never installed neovim via brew, you only need to `install`.
```
$ brew unlink neovim
$ brew uninstall --force neovim
$ brew install --HEAD neovim
$ brew link neovim
```If you get an Xcode error, do the following
```
$ sudo rm -rf /Library/Developer/CommandLineTools
$ sudo xcode-select --install
```If you have not yet installed neovim, run this command.
```
$ brew install --HEAD neovim
```## For init.lua configuration files
```bash
git clone [email protected]:hisasann/neovim.git ~/.config/nvim
```If you get an error with defx.nvim, etc., running the following on neovim may fix the problem.
:UpdateRemotePlugins
## Type checking with nvim-lspconfig
### Built-in commands
If `lsp` is not working properly, you may want to check with the following command.
- `:LspInfo` shows the status of active and configured language servers.
The following support tab-completion for all arguments:
- `:LspStart ` Start the requested server name. Will only succesfully start if the command detects a root directory matching the current config. Pass `autostart = false` to your `.setup{}` call for a language server if you would like to launch clients solely with this command. Defaults to all servers matching current buffer filetype.
- `:LspStop ` Defaults to stopping all buffer clients.
- `:LspRestart ` Defaults to restarting all buffer clients.[neovim/nvim-lspconfig: Quickstart configurations for the Nvim LSP client](https://github.com/neovim/nvim-lspconfig)
### lspsaga.nvim
This is useful because it can produce floating windows, etc., which was not possible with coc.nvim.
[glepnir/lspsaga.nvim: neovim lsp plugin](https://github.com/glepnir/lspsaga.nvim)
### What is required for TypeScript type checking.
If `typescript typescript-language-server` is not installed globally, then
```
client 1 quit with exit code 126 and signal 0
If not, you will get error messages like
```error message will appear in the status bar.
Also, if you are using `.node-version` or other node version control, you will need to install the following in multiple npm environments.
If lsp does not work properly, make a habit of typing
```
npm i -g typescript typescript-language-server
```[theia-ide/typescript-language-server: TypeScript & JavaScript Language Server](https://github.com/theia-ide/typescript-language-server)
### Learn Lua
If you want to learn Lua, read the following README, as you will be able to write neovim configuration files in **Lua**.
[nvim-lua-guide-ja/README.ja.md at master ยท willelz/nvim-lua-guide-ja](https://github.com/willelz/nvim-lua-guide-ja/blob/master/README.ja.md)
## [Vim ใณใใณใใ Tips ใใพใจใใฆใฟใใ๏ผ](https://github.com/hisasann/dotfile/wiki)
## ๐ Author
- [github/hisasann](https://github.com/hisasann)
- [twitter/hisasann](https://twitter.com/hisasann)## ๐ฅซ License
MIT ยฉ [hisasann (Yoshiyuki Hisamatsu)](https://github.com/hisasann)